Spaces:
Runtime error
Runtime error
Fixed creation of `match_task_result_details`
Browse files
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"]
|