Skip to content

Block 06 / 07

Evaluation

Iteration requires a measurement procedure.

Evidence that a system works is a measurement procedure over frozen cases. Freeze inputs. Name properties that must hold: schema, citation, refusal, absence of invented APIs, latency, cost. Score them with code, a cheaper model, a human rater, or all three. Pass rate on that suite is the regression test.

Offline evals are CI. Benchmarks rank a base model on a public task. Human eval catches taste and harm. Online evals and A/B catch drift. Property tests travel. Golden essays overfit. The harness is where requirements live.

Figure

Eval harness · 8 frozen cases × 4 propertiesPR: FAIL26 / 32 passing (81%)SchemaCitationRefusalNo APIsC1C2C3C4C5C6C7C8

Version 2 of 4 · regression: a prompt change broke citation formatting, CI would fail this PR

Drag the slider to step through CI runs. Watch which property breaks, and whether the PR would pass.

Eight frozen cases, four named properties: schema, citation, refusal, and the absence of invented APIs. Pass rate on that grid is the regression test a prompt or model change has to survive. Version 2 breaks citation formatting on purpose, the same way a real CI run would catch it: the pass rate drops and the pull request fails. Once the fix lands in version 4, the case that broke is promoted into the fixture, so the same regression cannot land twice without being caught.

Algorithms

A measurement procedure needs some way to turn model behavior into a number or a verdict. The three below are the concrete mechanics behind that judgment, and they compose: most real harnesses use more than one.

Reference

In practice

A system is known to work only through a measurement procedure. The following are that procedure in different settings.

Laboratory

A property harness in CI

Freeze a JSONL of cases for the riskiest path you own. Scorers for schema, citation or refusal, and invented-API detection. Fail the PR if pass rate drops. Break a prompt on purpose and watch CI go red. Promote one real incident into a fixture.