Spaces:
Running
Running
Deploy maintained LiveHouse-TS application
Browse files- src/utils.py +2 -1
src/utils.py
CHANGED
|
@@ -772,12 +772,13 @@ def build_leaderboard_summary_html(root_dir: str = "results") -> str:
|
|
| 772 |
issued = int(status.get("issued_forecasts", 0))
|
| 773 |
scored = int(status.get("resolved_forecasts", 0))
|
| 774 |
failures = len(status.get("failed_forecasts", []))
|
|
|
|
| 775 |
live_note = (
|
| 776 |
f'<p class="description">Evaluator: {state} 路 '
|
| 777 |
f'{issued} forecasts frozen and {scored} scored this cycle 路 '
|
| 778 |
f'{pending} target windows pending 路 {failures} skipped/failed entries. '
|
| 779 |
'Refresh time records evaluator/publication activity. Scores change only '
|
| 780 |
-
'after the future target window closes and observations arrive.</p>'
|
| 781 |
)
|
| 782 |
|
| 783 |
return f"""
|
|
|
|
| 772 |
issued = int(status.get("issued_forecasts", 0))
|
| 773 |
scored = int(status.get("resolved_forecasts", 0))
|
| 774 |
failures = len(status.get("failed_forecasts", []))
|
| 775 |
+
latest_score = escape(str(status.get("latest_scored_release_time") or "see historical tables"))
|
| 776 |
live_note = (
|
| 777 |
f'<p class="description">Evaluator: {state} 路 '
|
| 778 |
f'{issued} forecasts frozen and {scored} scored this cycle 路 '
|
| 779 |
f'{pending} target windows pending 路 {failures} skipped/failed entries. '
|
| 780 |
'Refresh time records evaluator/publication activity. Scores change only '
|
| 781 |
+
f'after the future target window closes and observations arrive. Latest scored target: {latest_score}.</p>'
|
| 782 |
)
|
| 783 |
|
| 784 |
return f"""
|