{# src/examen/templates/results.html #} {% extends "base.html" %} {% block title %}Results{% endblock %} {% block content %}

Score {{ "%.2f"|format(overall_score) }}  ·  Calibration {{ "%+.2f"|format(overall_calib) }}

{{ qshown }} questions {%- set warned = topics|selectattr("warn")|list %} {% if warned %} · {{ warned|length }} topic{{ "s" if (warned|length) != 1 }} flagged{% endif %}

{% include "_heatmap.html" %}

Per topic

{% for t in topics %} {% with t=t %}{% include "_topic_card.html" %}{% endwith %} {% endfor %} {% if review %}

What to revisit

{% for it in review %}
{{ it.tag }} {{ it.topic }} {{ it.prompt }} show why
{% for f in it.files %}

{{ f.path }}:{{ f.lines }}

{% endfor %} {% if it.kind == "mc" %}

Correct answer: {{ it.correct_text }}

{% if it.explanation %}

{{ it.explanation }}

{% endif %} {% else %}

Files impacted: {{ it.correct_set|join(", ") }}

You scored {{ it.score_pct }}% on this blast radius.

{% endif %}
{% endfor %}
{% endif %} {% if not demo_mode and repo_path %} {% set sure_wrong = review|selectattr("quadrant", "equalto", "confident_wrong")|list|length %}

Your next move

{% if sure_wrong %} In about 3 days, re-test the {{ sure_wrong }} thing{{ "s" if sure_wrong != 1 }} you were sure about but got wrong. Spacing is where it sticks. {% else %} In about 3 days, re-test your weak spots. Spacing is where it sticks. {% endif %}

examen revise --repo {{ repo_path }}

{% endif %}
{% endblock %}