{% extends "base.html" %} {% block title %}Live Leaderboard โ€” AI GameDay{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

๐Ÿ“Š Live Leaderboard

{{ session.scenario_slug.replace('_',' ').title() }} ยท {{ session.state }}

{% for f in ontology_filters %} {% endfor %}
{% if ribbons %}
{% for ribbon_id, winner in ribbons.items() %} {% set defn = ribbon_defs[ribbon_id] %}
{{ defn.icon }}
{{ defn.label }} {% if winner %}
{{ winner.team_name }}
{% else %}
TBD
{% endif %}
{% endfor %}
{% endif %}
{% for row in leaderboard %} {% set max_score = leaderboard[0].total_score if leaderboard else 1 %}
{% if row.rank == 1 %}๐Ÿฅ‡{% elif row.rank == 2 %}๐Ÿฅˆ{% elif row.rank == 3 %}๐Ÿฅ‰{% else %}{{ row.rank }}{% endif %}
{{ row.team_name }}
๐Ÿค– AI Receipts: {{ row.receipt_pts }} ๐Ÿ“š Judge: {{ row.judge_pts }} โšก Speed: {{ row.time_bonus_pts }}
{{ row.total_score }} pts
{% else %}
No scores yet. Waiting for teams...
{% endfor %}
Auto-refreshes every 10 seconds ยท Facilitator Console
{% endblock %}