{% extends "base.html" %} {% block title %}Sample {{ s.sample_id }} - lm-eval-ledger{% endblock %} {% block content %}

Sample {{ s.sample_id }} · {{ s.task }}({{ s.fewshot_k }}) · {{ s.model_tag }} · run {{ s.run_id }}

Verdict

score {{ "%g"|format(s.score or 0) }} {% if s.verified_score is not none %} · verified {{ "%g"|format(s.verified_score) }} {% if s.verifier_verdicts %}({{ s.verifier_verdicts }}){% endif %} {% endif %} · extracted {{ s.extracted or "∅" }} · stop {{ s.stop_reason }}

gold:

{{ s.gold }}
{% if s.gold_data %}
gold_data (machine payload)
{{ s.gold_data|trunc(4000) }}
{% endif %}
Prompt
{% if image_ids %}
{% for iid in image_ids %} attached image {{ loop.index }} {% endfor %}
{% endif %}
{{ s.prompt }}
{% if s.prompt_full and s.prompt_full != s.prompt %}
full prompt as sent (template + few-shot)
{{ s.prompt_full }}
{% endif %}
{% for r in responses %}
Response {{ loop.index }} {% if responses|length > 1 %} of {{ responses|length }}{% endif %} {% if r.get("tokens") %}{{ "{:,}".format(r.get("tokens")) }} tokens · {% endif %}{{ "{:,}".format((r.get("text") or "")|length) }} chars · extracted: {{ r.get("extracted") or "∅" }} · {{ r.get("stop_reason") }} · correct {{ r.get("correct") }}
{% set thinking, answer = r.get("text", "")|split_think %} {% if thinking %}
thinking ({{ "{:,}".format(thinking|length) }} chars, ends with </think>)
{{ thinking }}
{% if answer.strip() %}
{{ answer }}
{% else %}

No answer text after the thinking block - generation ended inside it ({{ r.get("stop_reason") }}). The full output is under "thinking" above.

{% endif %}
raw stored text ({{ "{:,}".format(r.get("text", "")|length) }} chars, byte-exact, no splitting)
{{ r.get("text", "") }}
{% else %}
{{ r.get("text", "") }}
{% endif %}
{% endfor %} {% if siblings|length > 1 %}
Other evaluations of this sample

{% for sib in siblings %} {% if sib.sample_pk == s.sample_pk %} {{ sib.model_tag }} (bench {{ sib.benchmark_id }}) · {{ "%g"|format(sib.sc) }} {% else %} {{ sib.model_tag }} (bench {{ sib.benchmark_id }}) · {{ "%g"|format(sib.sc) }} {% endif %} {% endfor %}

{% endif %} {% endblock %}