Study · eval-harness-101 · Lesson

Day 3 — Run the lab

40–60 min · offline lab pointer

Time: 40–60 min

Lab pointer only. The runnable Python lab is offline in your study workspace. This site does not host the lab or execute suites—run it locally where your study materials live.

What it is

A deliberately tiny offline harness:

  • Fake orders store
  • Fake “agent” policies (rules, not an LLM — so it’s free/fast/deterministic)
  • Golden JSON suite + scorer → scorecard markdown

Why no LLM on Day 3? You’re learning harness shape. Swap in a real model later without changing golden ideas.

Commands (local lab)

cd path/to/your/eval-harness-lab
python3 run_suite.py
# optional:
python3 run_suite.py --agent baseline
python3 run_suite.py --agent sloppy   # should score worse

Do

  1. Run baseline — note score
  2. Open goldens.json — add one golden you designed Day 2
  3. Re-run — confirm new row appears
  4. Run --agent sloppy — confirm drop
  5. Skim scorecard.md output

Stretch

Edit agents.py baseline policy: introduce a bug, watch suite catch it.

Log: did: Day 3 lab run baseline=X/Y sloppy=A/B · takeaway = what failed first.