{# The label list — full-page include and htmx post-decision refresh target. #} {% for s in states %}

{{ s.label }} {% if s.resolution.value == "unresolved" %} needs ruling {% elif s.resolution.value == "grounded_cosine" %} machine: {{ s.speaker_name }} {% elif s.resolution.value == "human_assign" %} assigned: {{ s.speaker_name }} {% elif s.resolution.value == "human_exclude" %} excluded {% else %} unknown {% endif %}

{{ s.turn_count }} turns, {{ "%.0f"|format(s.total_seconds) }}s. {% if s.cosine_speaker_name %} Cosine suggestion: {{ s.cosine_speaker_name }} ({{ "%.2f"|format(s.cosine_confidence or 0) }}{{ ", grounded" if s.cosine_grounded }}). {% endif %} {% if s.llm_hint_name %} Heard name (unverified): “{{ s.llm_hint_name }}”. {% endif %}

{% for seg in previews.get(s.label, []) %}
{{ "%.1f"|format(seg.start_seconds) }}s {{ seg.enhanced_text or seg.raw_text }}
{% endfor %} {% if token %}
{% endif %}
{% else %}

This run has no diarization labels.

{% endfor %}