{% from "_macros.html" import pat, wlabel, pill, popover %} {% if not ranked %}

No candidates produced for this date.

{% else %}
{% for rc in ranked %}
{{ pill(rc.candidate_id, "mag" if loop.first else "muted") }} {{ pat(rc.count.pattern) }} {{ pill("final " + "%.2f"|format(rc.final_score), "cyan") }} {{ pill("engine " + "%.2f"|format(rc.engine_score), "muted") }} {% if rc.llm_prob is not none %} {{ pill("llm " + "%.2f"|format(rc.llm_prob), "purple") }} {% endif %} {% set rank_label = "won" if loop.first else ("was second" if loop.index == 2 else ("was third" if loop.index == 3 else "ranked " ~ loop.index)) %} {% call popover("Why " ~ rc.candidate_id ~ " " ~ rank_label, anchor="enumeration") %}

{{ rc.candidate_id }} is the {{ rc.count.pattern }} interpretation. Final score = α × engine + (1 − α) × llm, then × coherence multiplier.

engine score{{ "%.2f"|format(rc.engine_score) }}
llm prob{% if rc.llm_prob is not none %}{{ "%.2f"|format(rc.llm_prob) }}{% else %}disabled{% endif %}
soft violations{% if rc.count.soft_violations %}{{ rc.count.soft_violations|length }}{% else %}none{% endif %}
final score{{ "%.2f"|format(rc.final_score) }}
{% endcall %}
{% set narrative = narratives.get(rc.candidate_id) %} {% if narrative %}

{{ narrative }}

{% endif %} {% if rc.count.soft_violations %}
{% for v in rc.count.soft_violations %}{{ pill("soft: " + v, "warn") }}{% endfor %}
{% endif %}
{% endfor %}
{% if engine_missed %}

{{ pill("LLM flagged engine_missed — consider expanding template set.", "warn") }}

{% endif %} {% endif %}