Lesson 11.02 · Phase 11 · Evaluation & Observability
Golden tasks & datasets
An eval is only as good as its tasks, and most eval bugs are dataset bugs. A checker that rejects its own reference answer marks every correct run as a failure. One that accepts a known-wrong answer marks every bad run as a pass. A test task that's a rephrase of a dev task measures memory, not skill. Write tasks with a reference answer and known-bad answers, and lint the dataset like code.
Learning objectives
- Define a JSONL task format with typed checkers, tags, splits, a reference answer and known-bad answers.
- Implement checkers (exact, contains, regex, number with tolerance, JSON fields, refusal) that fail loudly on bad configuration.
- Lint a dataset: duplicate IDs, broken checkers, self-rejecting or too-loose checkers, near-duplicates and dev/test leakage.
- Turn production failures into new golden tasks.
Your agent's score drops from 81% to 74% after a model upgrade. You spend a day reading transcripts before noticing that half the "failures" are on one task whose checker expects exactly 12 while the reference answer, and the agent, says "15% of 80 is 12". The checker never passed for anyone. It was failing silently before the upgrade too.
Loading the full lesson…