Spaces:
Runtime error
Runtime error
Tournament results in CSV format should only have the "significant" attribute
Browse files
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]))
|