still trying to make the leaderboard
Browse files
utils.py
CHANGED
@@ -25,7 +25,8 @@ def read_boundary(filename):
|
|
25 |
|
26 |
def write_results(record, result):
|
27 |
record.update(result)
|
28 |
-
record['result_filename'] = record['submission_filename'].
|
|
|
29 |
record['evaluated'] = True
|
30 |
if 'objectives' in record.keys():
|
31 |
record['objective'] = record.pop('objectives')
|
|
|
25 |
|
26 |
def write_results(record, result):
|
27 |
record.update(result)
|
28 |
+
record['result_filename'] = record['submission_filename'].rstrip('.json') + '_results.json'
|
29 |
+
print(record['result_filename'])
|
30 |
record['evaluated'] = True
|
31 |
if 'objectives' in record.keys():
|
32 |
record['objective'] = record.pop('objectives')
|