0b74d1f551daa7646782e685a8f04a88cda23849,numerox/numerai.py,,upload_submission,#Any#Any#Any#,22
Before Change
print(datetime.datetime.now())
status = submission_status(submission_id, public_id, secret_key)
print(status)
if status.values().count(None) == 0:
break
time.sleep(1)
After Change
seen = []
print(" minutes")
fmt = "{:>10.6f} {:<.4f} {:<}"
while True:
status = submission_status(submission_id, public_id, secret_key)
for key, value in status.items():
if value is not None and key not in seen:
seen.append(key)
t = time.time()
minutes = (t - t0) / 60
print(fmt.format(value, minutes, key))
if len(status) == len(seen):
break
time.sleep(1)
return submission_id
def submission_status(submission_id, public_id, secret_key):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: kwgoodman/numerox
Commit Name: 0b74d1f551daa7646782e685a8f04a88cda23849
Time: 2017-11-08
Author: kwgoodman@gmail.com
File Name: numerox/numerai.py
Class Name:
Method Name: upload_submission
Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: 494721f7ad7dc44d6e8da3ac287b5dc5c39fab59
Time: 2017-12-10
Author: remi.turpaud@gmail.com
File Name: census/keras/trainer/model.py
Class Name:
Method Name: generator_input
Project Name: tensorflow/minigo
Commit Name: 159275e9df878fe7882006898d91026e6842499b
Time: 2018-01-21
Author: brian.kihoon.lee@gmail.com
File Name: selfplay_mcts.py
Class Name:
Method Name: play