Lesson 11.10 · Phase 11 · Evaluation & Observability

Building an eval harness

Put Phase 11 together into the tool you'll run before every release: lint the dataset, run each agent version on every task several times in parallel, turn crashes and timeouts into results, score answers and trajectories, report pass rates with intervals, pass^k and per-tag slices, compare against the baseline with a paired bootstrap, and gate CI on overall regressions and critical tasks. Then watch five trials miss a safety regression that ten trials catch.

Learning objectives

  • Assemble a complete eval harness from Lessons 1–9: dataset lint, parallel runner, checkers, trajectory specs, statistics and reports.
  • Make the runner robust: agent exceptions and timeouts become failed runs, and results are reproducible.
  • Report what a decision needs: pass rate with a 95% interval, pass^k, per-tag rates, spec violations, errors and cost.
  • Gate a release on two rules, "not significantly worse overall" and "critical tasks always pass", and see why trial count decides what the gate can see.

You have a candidate agent: a new model, a new prompt and a new tool. It "feels better" in a few tries. Shipping needs an answer to three questions: is it better overall? Did it break anything that must never break? Can a CI job say no without a human reading transcripts? Each earlier lesson answered a piece. This one wires them into one command with an exit code.

Loading the full lesson…