eval-harness
The method · six habits · learned the hard way

How to know what you think you know.

The findings on this site took no special model and no big budget. They took a method — six habits, each learned by getting something wrong first. Here they are as the evals taught them, with the step in the harness that keeps each one, and what it means for your own work; then four more, for an evaluation that goes on.

01Experiment

An eval is an experiment.

The same 24 hosted models (the cheapest twelve on SciFact) ran on six tasks with one prompt per task, at temperature 0 with reasoning off (on SummEval, Qwen's large slot is a stand-in, qwen37max) — so when a model's score differs between two tasks, the task is what changed, apart from what each report states: on SummEval a stand-in model, prices a month later and a different calling machine.

Every run carries a fingerprint of four hashed parts: the instrument (the harness and the adapter's code), the data, the deployment (the system as it executed) and the settings (how it was asked). The machine that ran the harness is recorded beside them, outside the hash. Before the harness shows a single delta between two runs, it names the part that moved and what in it.

The habitChange one thing per arm, and record everything else — so “we only changed the prompt” is checkable rather than claimed.
In the harness
$ evh run-compare --baseline … --candidate …
Fingerprints DIFFER. Parts that moved:
      settings differ: stub_disposition (dismiss vs escalate)

In ours each goal's arms, side by side →, in the catalog.

In your project Your arms are your candidates — prompts, models, retrieval settings, thresholds — one YAML file each.

02Data

The data is the instrument.

The summarisation sample was the first 200 articles of the CNN/DailyMail test set. The test set lists CNN's articles first, so every one was CNN's, while the benchmark is mostly DailyMail. Copying the first three sentences scored ROUGE-1 30.20 on that slice against 39.94 on the full test set.

No check in the harness could see it: every one compared the repository with itself. One calibration row — a known baseline against its published value — caught it. Now every eval has one, and 11 of 11 agree with the literature, 10 of them inside their own interval.

The habitFreeze the data and hash it, so a number always means the same items. Then check your sample against the population it claims to represent.
In the harness
$ evh dataset-create · evh dataset-materialize
a changed input fails loudly instead of silently measuring different bytes

In ours every dataset, frozen, with its versions →, in the catalog.

In your project Your dataset is a set of real inputs, frozen. Sample it on purpose — by date, by customer, by difficulty — and write down what it covers.

03Ground truth

Silver is not gold.

In the tutorial, the system that wrote the silver references, the one every other arm was measured against, is not first once six summaries a person wrote are the measure — and six items can almost never tell the arms apart.

On AG News, the lead of the three fine-tunes is concentrated in 17 items the hosted field mostly gets wrong. Adjudicated by topic by one reader shown the hosted answer, the gold was wrong on all 17, and on that gold every hosted LLM scores above every fine-tune. The dataset's own gold stays primary; the adjudicated one sits beside it. Disputed gold is a finding, not noise.

An AI judge is silver too, and SummEval measures how good: scored against the mean of two experts, as one expert is against the other two, the best judges reach 93% of a human's agreement (the best of 24, chosen on the same articles; 92% held out). The experts are not noiseless either: 41 of 44 groups of word-for-word identical summaries got different expert scores. Close to a person is not the same as a person.

Two of those judges re-measured the summarisation eval and ranked every hosted LLM above every BART model. The one blind human check on those outputs, one non-expert reader on 20 pairs, preferred bart_l 14 to 6. That check is weak too (p = 0.115, truncated articles), so neither is confirmed on those outputs; on crowd ratings of 2022 LLM summaries the judges track people better than one rater does on coherence and relevance, not on faithfulness, and not system by system. So the harness refuses a judge until it is validated, and the summarisation eval still ranks by coverage.

The habitSilver gets you started; gold tells you the truth. Write a small gold set early, promote it on purpose with why, check silver — and any AI judge — against it, and read every item where strong systems agree against the gold.
In the harness
$ evh label-sheet · evh label-import · evh reference-promote --tier gold · evh rescore --reference-id gold/… · evh silver-calibrate · evh judge-score
label the items, promote the labels you would sign, re-score old runs against the new gold for $0, measure how far silver drifts, re-measure with judges you have validated

In ours every reference, gold and silver, and what is scored against it →, in the catalog.

In your project A small set of answers written by someone who knows the domain is worth more than a large set a model generated: it is the only one that can tell you the model is wrong.

04Noise

Measure the noise before the difference.

BART's apparent lead at n=20 was 0.0737; across 200 articles it was 0.00008. Two independent 100-article measurements of the same models agree at only ρ = 0.79.

A pilot correlates beautifully and picks the wrong winner — in three of the five evals here that ran one.

The habitRun every arm more than once and measure how far it disagrees with itself. Tune on a small pilot slice, report on the rest, and measure how many items a ranking needs instead of assuming it.
In the harness
$ evh run --repeat 3 · evh holdout · evh rank-stability
treat deltas below 0.029372 as noise

In ours every arm, the ones run more than once included →, in the catalog.

In your project Before you believe the new prompt is a few points better, run the old one twice.

05Significance

Tested, not read.

A leaderboard sorts, so something is always first. In 5 of 6 evals here the leader is not significantly different from a group of others — on summarisation, from 15 of them, the cheapest paid one 143× cheaper than the dearest model in the field.

Every significance claim on this site rests on a paired permutation test per item, with a Holm correction for the number of comparisons made at once. Not significant means the test could not tell two arms apart at this many items, not that they are equal. Intervals elsewhere (the human ceiling) are bootstrapped, and the price slopes are fits, not tests.

The charts keep the same rule: a mark is filled, and a quadrant such as “better and cheaper” is named, only when the test supports the difference (evh chart). And a test set is spent by reading it: a study searches on a validation set, its winner is confirmed on a test set, and every look at a test set counts against its limit.

The habitDecide the comparisons before reading the table, correct for how many you made, and report a tie as a tie.
In the harness
$ evh family-test · evh leaderboard
significantly different from 6 of 18 opponents   ← SciFact's leader, glm_s

In ours the summarisation field, every arm tested against its leader →, in the catalog.

In your project When the answer is “not significant”, look at the gap and the sample size first: if the gap is one you can live with, the cheapest arm in that group is the decision.

06The record

Decide on the record.

Running the evals found eight defects in the harness's own instrument, each of which changed published numbers or would have. Three of these — the parser, the unparsed-as-empty rule, the reasoning flag — moved a single arm by more than the gap separating most of the field. The scoring code is a model-sized lever.

The lab notebook records the findings that were retracted along the way, several caused by this harness's own scorer; the reports state today's figures, and git keeps every earlier version.

A promoted baseline keeps the test it was promoted on and who promoted it, in versions that can be rolled back, and a judge's verdict keeps its reason beside its scores.

The habitHash and test the scorer, re-score stored outputs when it changes, and promote a baseline only with a reason that says what the tests showed.
In the harness
$ evh rescore · evh run-promote --reason "…" · evh validate
re-scoring is $0; validation exits non-zero, so it belongs in CI

In ours every goal's baseline, with the reason a person recorded →, in the catalog.

In your project Keep a journal. The mistakes you write down are the checks you add next.

07And on

Four more, for an evaluation that goes on.

The six habits make one comparison trustworthy. These four keep an evaluation trustworthy as it goes on, round after round, before deploy and after it. Each is optional, and each is a step in the harness.

Set it up before you measure it.Settle once, per model and where it runs, what a server would otherwise choose: whether it reasons, how long a reply may run, which build a tag names. Smoke an arm on a few items before its full run. Left at the defaults, an arm measures the defaults. The measurement is the deployment (weights, server, machine), not the laptop that ran it.evh model-onboard · evh arm-smokeIn the docs →
Production is the test, not the answer key.Keep what your system decided as a capture, every record hashed. Its decisions become an arm, scored against labels; what happened next is a rule's labels, never a reference set until you promote it. The rows worth keeping are picked for the next version of a dataset you govern.evh capture · evh arm-from-capture · evh label-from-capture · evh pickIn the docs →
A changed rule is a decision too.When a scoring rule turns out wrong, preview what the new one moves, then re-score the round or adopt it from the next one, with why. A round's evidence is measured by one scorer, and says which.evh score-preview · evh rescore --roundIn the docs →
An evaluation doesn't stop at deploy.Answer a goal in rounds. Before deploy they narrow a field; after it the same goal goes on, on what the deployed system decides, against new candidates. Each round records what it set out to learn and what it concluded.evh round-open --from · evh round-listIn the docs →
08Standing on

Built on Chip Huyen's framing.

The approach in this repository builds on Chip Huyen's books. Their framing — evaluation is engineering work on your data, a model is chosen on a private leaderboard rather than a public one, the dataset is a design decision, every experiment is tracked and versioned — is the foundation this harness was built on. What this project adds is a tool that enforces it, and six evals that show what skipping it costs.

The idea-by-idea mapping, with chapters, is in Influences.

  • Chip Huyen — AI Engineering (O'Reilly, 2025). Ch. 2: sampling makes models probabilistic, and so inconsistent — measured here at temperature 0. Ch. 3–4: why public benchmarks rarely pick the model for your application, private leaderboards, AI judges as subjective evaluation to be checked against exact and human evaluation. Ch. 8: dataset engineering — quality, coverage, quantity.
  • Chip Huyen — Designing Machine Learning Systems (O'Reilly, 2022). Ch. 4: sampling and labelling. Ch. 6: baselines, experiment tracking and versioning. Ch. 8: distribution shift.
  • Martin Zinkevich — Rules of Machine Learning (Google). Design and implement your metrics first.
  • Breck et al. — The ML Test Score (2017). Tests for data, models and infrastructure.
  • Bernardi et al. — 150 Successful Machine Learning Models (KDD 2019, Booking.com). Offline gains do not automatically become real ones.
  • More, curated by Chip Huyen: huyenchip.com/mlops

The habits hold when an agent does the work, too: it can read every number they rest on, the goals and their tests, from the catalog over MCP, and the decisions stay a person's (ask it from your agent).

Who built this

Built by Marko Dragoljevic.

I have led engineering teams for twenty years — at ServiceNow, EclecticIQ and Backbase — and through Human Copilot I now advise technology leaders. Which model, build or buy, own or rent: the questions this harness answers are the ones I help teams answer, on their own data.