{% extends "base.html" %}{% from "_macros.html" import table, page_head, source_note %} {% block title %}{{ ev.venue }} {{ ev.season }}{% endblock %} {% block content %}

Markets › {{ ev.season }}

{% set head_title %}{{ ev.venue }} {{ ev.season }} {{ (ev.status or "")|replace("_", " ") }}{% endset %} {{ page_head(head_title) }}

{{ ev.name }} · {{ ev.start_date|fmt }} · {{ ev.source }} {{ ev.source_key }}

{{ source_note(ev.competition, none, (pred_groups[0].run if pred_groups|length == 1 else none), model=(pred_groups|length > 0)) }} {% if pred_groups %}

Predictions for this event

{% for g in pred_groups %}

Run #{{ g.run }} ({{ g.kind }}) · {{ g.category }}

{{ g.table|length }} athletes
{{ table(g.table, ["athlete", "win_prob", "podium_prob", "top10_prob", "make_final_prob", "exp_points", "actual_final_pos"], {"athlete": ["/athletes/", "athlete_id"]}, cap=15, filter="Filter by athlete") }}
{% endfor %}
{% endif %}

Results

{% for g in groups %}

{{ g.category }} · {{ g.round }}

{{ table(g.table, ["position", "athlete", "nation", "team", "status", "time_s"], {"athlete": ["/athletes/", "athlete_id"]}, cap=15, filter="Filter by athlete") }}
{% endfor %}
{% endblock %}