idolezal commited on
Commit
bf47515
1 Parent(s): 61e97bd

Fixed creation of `match_task_result_details`

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -310,7 +310,7 @@ class LeaderboardServer:
310
  match_task_result_details = copy.deepcopy(self.tournament_results[submission_id][competitor_id][task])
311
  match_task_result_details["significant"] = str(match_task_result_details["significant"]).lower() # originaly bool
312
  match_task_result_significant = match_task_result_details["significant"]
313
- match_task_result_details = "\n".join(f"{k}: {v}" for k, v in match_task_result_details)
314
  match_results[task] = f'<abbr title={xmlQuoteAttr(match_task_result_details)}>{match_task_result_significant}</abbr>'
315
 
316
  model_link = data["metadata"]["link_to_model"]
 
310
  match_task_result_details = copy.deepcopy(self.tournament_results[submission_id][competitor_id][task])
311
  match_task_result_details["significant"] = str(match_task_result_details["significant"]).lower() # originaly bool
312
  match_task_result_significant = match_task_result_details["significant"]
313
+ match_task_result_details = "\n".join(f"{k}: {v}" for k, v in match_task_result_details.items())
314
  match_results[task] = f'<abbr title={xmlQuoteAttr(match_task_result_details)}>{match_task_result_significant}</abbr>'
315
 
316
  model_link = data["metadata"]["link_to_model"]