Evaluation infrastructure that catches regressions on every push
The evaluation pipeline around that assistant: a golden dataset, re-evaluation on every push to main, dual-model judging and AI-assisted root cause analysis that cut regression debugging from hours to under 30 minutes.
The problem
Prompt, model and retrieval changes break behavior in ways unit tests never see. Without an evaluation loop, regressions surface as user complaints days later, and finding the cause means reading logs and diffs for hours.
What I built
A human-curated golden dataset
Real questions with agreed answers, curated by people, as the fixed point every change is measured against.
Re-evaluation on every push
CI re-runs the evaluation on every push to main, so a regression is attached to the change that caused it.
Two judges, not one
Dual-model evaluation reduces the bias of any single model grading its own kind.
AI-assisted root cause analysis
When a score drops, logs and code diffs are analyzed together to propose the likely cause, reducing mean regression debug time from hours to under 30 minutes.
Failure modes the design absorbs
| Fault | What happens |
|---|---|
| A prompt tweak degrades old answers | Caught by the golden set on that push. |
| A judge model drifts | Disagreement between the two judges flags it. |