idolezal commited on
Commit
387e6ad
ยท
1 Parent(s): 72a6a07

Get task names only from "tasks_metadata.json"

Browse files
Files changed (1) hide show
  1. server.py +1 -1
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 tournament_results[submission_id][competitor_id]:
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: