Evaluation Harnesses and Reproducibility › Building the Comparable Report

Michael BrenndoerferDecember 1, 20264 min read
Language AI HandbookAll chapters
Part 57 of 67Dynamic, Interactive, and Agentic Evaluation
Chapter 436Evaluation Harnesses and Reproducibility › Building the Comparable Report
Reading section 11 of 18 · Building the Comparable Report · 4 minSection 11 of 18 · 4 min

Section 11 of 18 · 4 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Print the input digests, decoding settings, grader identity, graded and excluded counts, point estimate, and interval method. Keep companion diagnostics such as replay and the paired result alongside individual model reports.

We will assemble a structured report object and render a compact text version, plus a plot placing the two models' intervals side by side so the intended comparison is legible.

PythonIn [36]
CollapseExpand
def build_report(manifest, prompt, model_cfg, records):
    graded = graded_only(records)
    excluded = [r for r in records if r.status == "bad_reference"]
    lo, hi, p = proportion_ci_wilson([r.score for r in graded])
    statuses = {}
    for record in records:
        statuses[record.status] = statuses.get(record.status, 0) + 1
    return {
        "manifest_digest": manifest.manifest_digest(),
        "dataset_digest": manifest.dataset_digest,
        "harness_policy_digest": manifest.harness_policy_digest,
        "prompt": {
            "name": prompt.name,
            "version": prompt.version,
            "digest": manifest.prompt_digest,
        },
        "model_config": asdict(model_cfg),
        "backend_revision": manifest.backend_revision,
        "grader": {
            "version": manifest.grader_version,
            "digest": manifest.grader_digest,
        },
        "n_graded": len(graded),
        "n_excluded": len(excluded),
        "excluded_reasons": [f"{r.item_id}:{r.status}" for r in excluded],
        "statuses": statuses,
        "accuracy": p,
        "interval_method": "95% Wilson over binary task scores",
        "interval_95": [lo, hi],
    }


report_a = build_report(manifest_a, prompt, model_a_cfg, records_a)
report_b = build_report(manifest_b, prompt, model_b_cfg, records_b)
ConsoleOut [37]
CollapseExpand
=== REPORT A ===
{'manifest_digest': '7f1151443fcc36468f68e8142acecdf496b06bfe6f2d86e5b961bd42f2e350ad',
 'dataset_digest': '531d7cc553482833c29a3701959701081516c55dab035d5544eda3934d52b18d',
 'harness_policy_digest': '73ffda1ec28246396ae7f693084879db7cb1b7703c29632c26ab664f919d5e4a',
 'prompt': {'name': 'math_cot_v1',
            'version': '1.0.0',
            'digest': '990390123d9509d8c600ca27c2abed60ca249362d596637a0b560e01b6c61d03'},
 'model_config': {'name': 'mock-math-small',
                  'revision': 'ckpt-2025-11-01',
                  'temperature': 0.7,
                  'top_p': 1.0,
                  'max_tokens': 256,
                  'stop': ('</solution>',),
                  'seed': 1272},
 'backend_revision': 'mock-backend-1',
 'grader': {'version': '1.0.0',
            'digest': '4431c94319b9c9c1a6dd91b15282361ede9d9e83ad455c4c751d8dae946256af'},
 'n_graded': 7,
 'n_excluded': 1,
 'excluded_reasons': ['m04:bad_reference'],
 'statuses': {'graded': 7, 'bad_reference': 1},
 'accuracy': 0.7142857142857143,
 'interval_method': '95% Wilson over binary task scores',
 'interval_95': [0.3589344518326194, 0.9177810759959433]}

=== REPORT B ===
{'manifest_digest': '3488e58bf9e4a8744fb10ad4702cf963f6b5a8ac457458a0abe1dccc55226c71',
 'dataset_digest': '531d7cc553482833c29a3701959701081516c55dab035d5544eda3934d52b18d',
 'harness_policy_digest': '73ffda1ec28246396ae7f693084879db7cb1b7703c29632c26ab664f919d5e4a',
 'prompt': {'name': 'math_cot_v1',
            'version': '1.0.0',
            'digest': '990390123d9509d8c600ca27c2abed60ca249362d596637a0b560e01b6c61d03'},
 'model_config': {'name': 'mock-math-large',
                  'revision': 'ckpt-2025-11-01',
                  'temperature': 0.7,
                  'top_p': 1.0,
                  'max_tokens': 256,
                  'stop': ('</solution>',),
                  'seed': 1272},
 'backend_revision': 'mock-backend-1',
 'grader': {'version': '1.0.0',
            'digest': '4431c94319b9c9c1a6dd91b15282361ede9d9e83ad455c4c751d8dae946256af'},
 'n_graded': 7,
 'n_excluded': 1,
 'excluded_reasons': ['m04:bad_reference'],
 'statuses': {'graded': 7, 'bad_reference': 1},
 'accuracy': 0.8571428571428571,
 'interval_method': '95% Wilson over binary task scores',
 'interval_95': [0.4868721707256813, 0.9743203756552565]}

The recorded fields help check whether two reports share a dataset and scoring procedure. A comparison still needs a common estimand and a design that matches the task identities and experimental conditions.

We now plot the two intervals to make the uncertainty visible and to show why a single number hides it.

VisualizationOut [38]
CollapseExpand
Two accuracy point estimates with horizontal Wilson intervals.
Accuracies and 95% Wilson intervals across seven graded mock tasks for each model. Interpret the difference with the paired calculation.

Each model’s interval reflects the task count under the stated binomial approximation. To assess whether a difference is supported on paired data, use the uncertainty of the differences.

The Paired Difference Figure

The honest comparison shows the difference and its interval. Many readers will try to infer the difference from the two separate intervals above; the paired figure below shows why they should not.

VisualizationOut [39]
CollapseExpand
Three horizontal intervals share the observed B minus A difference and are compared with a vertical zero line.
Paired normal, paired bootstrap and covariance-ignoring intervals for the same observed difference. The dotted line marks zero. With just seven paired tasks these approximations are unstable.

All intervals in the paired figure share the same point estimate. Their widths differ because they use different variance or resampling rules. With few tasks, check the zero line and the amount of evidence in the discordant rows.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy