Module 4 of 4
Monitoring and audit
Proving the system still behaves after launch.
Four lessonsAbout 15 minutes
EvidenceMeasure, do not assert
Self-checkedAnswers are in the text
Lesson 1
Regression testing
Re-run a fixed suite on every model, prompt or index change. Compare against the last accepted result.
A model upgrade is a release, not a maintenance task.
- Fixed suite, fixed threshold.
- Store results with versions.
- Block on regression.
Check yourself. Why is a model upgrade a release?
Lesson 2
Cost and latency
Track cost per successful task and the latency users actually experience, including retries and reviews.
A cheap model with expensive review can cost more than a better one.
- Measure the whole path.
- Include human review time.
- Alert on drift.
Check yourself. Why is the model price alone misleading?
Lesson 3
Incidents
Define what counts as an incident, who is called, how the system is contained and how affected users are told.
Keep the runbook where people can reach it during an outage.
- Define severity.
- Name the owner.
- Practise the drill.
Check yourself. What makes an incident runbook usable?
Lesson 4
Audit evidence
Keep the model version, prompt version, index version, evaluation results, approvals and incidents for each release.
Evidence assembled after the fact is rarely complete.
- Record at release time.
- Hash the artefacts.
- Retain to policy.
Check yourself. When should audit evidence be collected?