Spaces:
Running
Running
Get task names only from "tasks_metadata.json"
Browse files
server.py
CHANGED
@@ -527,7 +527,7 @@ class LeaderboardServer:
|
|
527 |
data = self.submission_id_to_data[competitor_id]
|
528 |
|
529 |
match_results = {}
|
530 |
-
for task in
|
531 |
task_category = self.TASKS_METADATA[task]["category"]
|
532 |
if category in (task_category, self.TASKS_CATEGORY_OVERALL, self.TASKS_CATEGORY_OVERALL_DETAILS):
|
533 |
if to_csv:
|
|
|
527 |
data = self.submission_id_to_data[competitor_id]
|
528 |
|
529 |
match_results = {}
|
530 |
+
for task in self.TASKS_METADATA:
|
531 |
task_category = self.TASKS_METADATA[task]["category"]
|
532 |
if category in (task_category, self.TASKS_CATEGORY_OVERALL, self.TASKS_CATEGORY_OVERALL_DETAILS):
|
533 |
if to_csv:
|