Golden test sets
Curated, versioned collections of real inputs with expected behaviors: happy path, edge cases, known failure modes. The fixed yardstick that makes quality comparable across releases.
Production LLM Systems · Testing
LLM applications fail differently from normal software: behavior drifts silently after a model upgrade, a reworded prompt, or a retrieval change. Testing them means golden test sets instead of unit fixtures, semantic evaluation instead of exact-match assertions, judge models plus deterministic checks instead of pass/fail alone — and re-running all of it on every change.
Building Blocks
Curated, versioned collections of real inputs with expected behaviors: happy path, edge cases, known failure modes. The fixed yardstick that makes quality comparable across releases.
LLM outputs vary in wording while staying correct — assertions must compare meaning, not strings: embedding similarity, rubric-based judging, and structured-field extraction where exactness matters.
Every claim checked against the provided context and tool results. Unsupported claims are hallucinations, counted and tracked per release — not anecdotes.
A model scoring outputs against a rubric, calibrated against human-labeled examples. The workhorse of scale — never the sole authority.
Per-release scores across intents and scenario classes, with human review loops on the edge cases. One number hides regressions; a scorecard shows where they happened.
Quality that arrives too slowly or too expensively is still a failure. Budgets are part of the suite, checked on every release like any other assertion.
The Discipline
Why it matters
Across conversational AI projects, the recurring failure is the same: a model upgrade, a reworded prompt, or a new intent quietly regresses answers that used to work — and nobody notices until production. The fix is not more prompt tinkering; it is repeatable scenario suites, baseline comparisons that catch behavioral drift, and evaluation scorecards with human review on the edge cases.
Proven in production
This page describes the discipline behind my production work: repeatable scenario suites with baseline comparisons and drift checks against silent quality regressions across intents and edge-case conversations — with higher release confidence and fewer production regressions as the measured result.
FAQ
Golden test sets of real inputs, semantic evaluation instead of exact-match assertions, judge models plus deterministic checks for scoring, baseline comparisons on every change, and production monitoring on live-traffic samples.
Re-running a fixed evaluation suite after every model, prompt, retrieval, or tool change and comparing against the recorded baseline — catching the silent behavioral drift that follows updates nobody thought were risky.
A curated, versioned collection of representative inputs with expected behaviors — the fixed yardstick that makes quality comparable across releases, growing as production failures become new test cases.
Check every factual claim against the provided context and tool results; unsupported claims count. Deterministic checks for verifiable fields, a calibrated judge for grounding, human review on flagged samples.
Agents add tool use, multi-step state, and contract compliance on top of text quality — covered separately in AI agent evaluation.
About the Author
Alexandru Dan is an Applied AI Systems Architect, AI Professor, and CEO at TVL Tech, focused on conversational AI quality engineering: regression suites, drift detection, and release-confidence engineering for LLM applications in production. He teaches LLMs, Prompt Engineering, and AI Explainability at the Bucharest University of Economic Studies, and brought these themes to the European Chatbot & Conversational AI Summit 2026.
Related
Contact
For golden-set design, regression suites, or a release-confidence review, email me directly.
alex@tvl.tech