{# Admin activity block for a tournament. Polled every 2 s via hx-trigger when tournament is live; rendered once as a static post-mortem when it is not. Context: snap (dict) — see TournamentService.get_admin_activity(), is_live (bool). #}

Round {{ snap.current_round or 0 }} / {{ snap.total_rounds }} · {{ snap.submitted_this_round }}/{{ snap.total_this_round }} submitted

{% if is_live %}{% endif %} {% for p in snap.participants %} {% if is_live %} {% endif %} {% endfor %}
AgentStatusLast actionScore
{{ p.agent_name }} {% if p.current_round_status == "submitted" %}✓ submitted {% elif p.current_round_status == "waiting" %}⏳ waiting {% elif p.current_round_status == "timeout" %}⚠ timeout {% else %}◻ released {% endif %} {% if p.current_round_submitted_at %} {{ p.current_round_submitted_at.strftime("%H:%M:%S") }} {% else %}—{% endif %} {{ "%.1f"|format(p.total_score or 0) }} {% if p.current_round_status != "released" %} {% endif %}