idolezal commited on
Commit
f2cb73a
1 Parent(s): 6586c80

Tournament results in CSV format should only have the "significant" attribute

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -397,7 +397,7 @@ class LeaderboardServer:
397
  task_category = self.TASKS_METADATA[task]["category"]
398
  if task_category == category:
399
  if to_csv:
400
- match_results[task] = self.tournament_results[submission_id][competitor_id][task]
401
  else:
402
  match_task_result_details = dict.fromkeys(["significant", "p_value"]) # order has impact to sorting DataFrame
403
  match_task_result_details.update(copy.deepcopy(self.tournament_results[submission_id][competitor_id][task]))
 
397
  task_category = self.TASKS_METADATA[task]["category"]
398
  if task_category == category:
399
  if to_csv:
400
+ match_results[task] = self.tournament_results[submission_id][competitor_id][task]["significant"]
401
  else:
402
  match_task_result_details = dict.fromkeys(["significant", "p_value"]) # order has impact to sorting DataFrame
403
  match_task_result_details.update(copy.deepcopy(self.tournament_results[submission_id][competitor_id][task]))