{#- candidate_list: tuple[CandidateTrace]; fused: bool when the stage is the fused ranking -#}
{% if fused %} {% else %} {% endif %} {% for candidate in candidate_list %} {% if fused %} {% else %} {% endif %} {% else %} {% endfor %}
Candidates for this ranking stage
{{ "Final rank" if fused else "Rank" }} DocumentDense Sparse RRF scoreScoreType · Trust · Lang Preview Outcome
{{ candidate.rank }}

{{ candidate.document_title or ("Document " ~ (candidate.document_id | string)[:8] ~ "…") }}

{% if candidate.source_name %}{{ candidate.source_name }} · {% endif %}{{ (candidate.document_id | string)[:8] }}…

{% if candidate.dense_rank %}#{{ candidate.dense_rank }} · {{ "%.3f" | format(candidate.dense_score) if candidate.dense_score is not none else "—" }}
+{{ "%.4f" | format(candidate.rrf_dense) }}{% else %}not in dense top-k{% endif %}
{% if candidate.sparse_rank %}#{{ candidate.sparse_rank }} · {{ "%.3f" | format(candidate.sparse_score) if candidate.sparse_score is not none else "—" }}
+{{ "%.4f" | format(candidate.rrf_sparse) }}{% else %}not in sparse top-k{% endif %}
{{ "%.4f" | format(candidate.score) }}
({{ candidate.score_label }})
{{ "%.4f" | format(candidate.score) }}
({{ candidate.score_label }})
{{ candidate.content_type }}
{{ candidate.trust_level }} · {{ candidate.language }}
{{ candidate.text_preview }}{% if candidate.text_truncated %} … (truncated){% endif %} {% if candidate.inclusion == "included" %} {{ candidate.inclusion }} {% else %} {{ candidate.inclusion }} {% endif %}

{{ candidate.reason | replace("_", " ") }}

No candidates at this stage.