Evalscore
Regression tests & CI gates
Every prompt, model, chunking or tool change runs the eval suite and can be blocked.
What it is and why it exists
LLM systems regress silently: a prompt tweak fixes one case and breaks five. Running the golden set in CI on every change, comparing with the baseline per item and per category, and failing the build on significant drops turns evaluation into engineering practice.
Quick prototype
Rerun the notebook when you remember.
In production, at scale
Fast subset on every PR, full suite nightly and before releases, per-category thresholds, item-level diffs (which cases flipped), cost and latency tracked alongside quality, and results stored per version.
Vendors and tools
| promptfoo / Braintrust / LangSmith experiments | Evals in CI |
|---|---|
| GitHub Actions | Run them |
On AWS: CodePipeline / CodeBuild running eval jobs; Bedrock Evaluations jobs.
How it fails
- Gates on the overall average while one category halves
- Thresholds so tight that noise fails every build
What the interviewer asks next
How do you avoid flaky eval gates?
Run items several times or at fixed settings, gate on statistically meaningful drops (confidence intervals), and look at item flips rather than the average alone.