{% for item in items %} {% set run = item.run %} {% set ev = item.evaluation %}
{{ run.spec.dataset_name }}@{{ run.spec.dataset_version }} {{ run.spec.model_name }}@{{ run.spec.model_version }}
run {{ run.id }}
{% if run.spec.agent_name %}
Candidate: {{ run.spec.agent_name }}{% if run.spec.agent_version %}@{{ run.spec.agent_version }}{% endif %} {% if item.candidate_state %} ({{ item.candidate_state }}) {% endif %}
{% endif %}
{{ run.status }}
{% if run.error_message %}

{{ run.error_message }}

{% endif %} {% if ev %}
Evaluation {{ "Passed" if ev.passed else "Failed" }} {{ ev.scenario_count }} scenario(s), {{ ev.violation_count }} blocking violation(s) — covers {{ ev.agent_name }}@{{ ev.agent_version }} {% if ev.notes %}— {{ ev.notes }}{% endif %}
{% endif %}
{% if run.status not in ['succeeded', 'failed', 'cancelled'] %} {% endif %} {% if run.status == 'succeeded' and run.spec.agent_name and not ev %} Runs the candidate over its canonical scenarios. {% endif %} {% if ev and ev.passed and run.spec.agent_version %} {% if item.candidate_state == 'active' %} ✓ Promoted — {{ run.spec.agent_name }}@{{ run.spec.agent_version }} is active (see stage 01). {% elif item.promotion_pending %} Promotion pending approval in stage 05 — Promote. {% else %} {% endif %} {% elif ev and ev.passed and not run.spec.agent_version %} Set a candidate version on the run to request promotion. {% endif %}
{% else %}
No training runs yet. Submit one above — the candidate version is prefilled with the agent's draft.
{% endfor %}