Testing strategy, eval gates, and CI
Notebook· 10.08· 2–3 h· Lesson 85 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Layer tests for an LLM system: fast unit tests with fake models, integration tests behind a marker, an eval suite, and online monitoring.
- Write unit tests for agent behaviour (policy, identity, side effects) that run in milliseconds with no keys.
- Gate a release on the lower bound of a pass rate, pass^k, a red-team suite and a cost budget, and explain why each gate exists.
- Wire the gate into GitHub Actions with a job summary, and run it on a broken change to see it block.
- Update the baseline safely after an approved release.
Before you start
Lessons 10.01–10.07.
