{% extends "base.html" %} {% block content %}

## Evaluation History

{% if runs and session.get('authenticated') %}
{% endif %}
{% if runs %}

Run ID | Model | Time | Score | Tests | Summary {% if session.get('authenticated') %} | {% endif %}
--- | --- | --- | --- | --- | --- | ---
{% for run in runs %}
#{{ run.run_id }} | {{ run.model_name or 'default' }} | {% if run.started_at %} {{ run.started_at[:19] }} {% if run.completed_at %} → {{ run.completed_at[:19] }} {% else %} → Incomplete {% endif %} {% else %} - {% endif %} | {% if run.overall_score is not none %} {{ "%.1f"|format(run.overall_score * 100) }}% {% else %} - {% endif %} | {% if run.test_count %} {{ run.passed_count or 0 }}/{{ run.test_count }} {% else %} - {% endif %} | {% if run.notes %} 📝 {% endif %} {% if run.summary %} {{ run.summary[:50] }}{% if run.summary|length > 50 %}...{% endif %} {% else %} - {% endif %} {% if session.get('authenticated') %} | {% endif %}
{% endfor %}

{% if total_pages > 1 %}
{% if page > 1 %} < Prev {% else %} < Prev {% endif %} Page {{ page }} of {{ total_pages }} {% if page < total_pages %} Next > {% else %} Next > {% endif %}
{% endif %}
Total: {{ total_count }} runs
{% else %}

### No evaluation runs yet

Start your first evaluation to see results here.

Run Evaluation
{% endif %}
{% endblock %}