cgeorgiaw HF Staff commited on
Commit
72c7221
·
1 Parent(s): 2cdfab6

still trying to make the leaderboard

Browse files
Files changed (1) hide show
  1. utils.py +2 -1
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'].strip('.json') + '_results.json'
 
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')