Your Eval Suite Is Green Because It Is Testing Last Month’s Product.
A static eval set can stay green while production traffic, tools, policies, and failure modes move underneath it. Build a living eval system with a stable regression core, rolling production samples, challenge cases, protected holdouts, drift detection, and human promotion gates.
On this page
At 10:12 AM, the release candidate passes every eval.
The dashboard is green.
The score is slightly better than last week.
The team ships.
Two days later, support starts seeing a failure the eval suite never catches.
Users are asking the same business question in a new way because a product launch changed the workflow. The agent now has a new tool. The policy service added a field. One tenant sends much longer conversations than the customers you used when the eval set was created.
Nothing in the test suite changed.
That is exactly the problem.
Your agent did not necessarily regress. Your evaluation set stopped representing the system you are operating.
A static golden set is useful when you want to know whether yesterday's capability still works.
It is dangerous when you quietly assume it still represents today's production distribution.
I want a different mental model:
an eval dataset is a production artifactwith provenance, versions, owners, freshness,and a lifecycleNot a CSV somebody curated once and then declared sacred.
The goal is not to constantly rewrite every regression test.
The goal is to preserve what must never regress while continuously adding evidence about what users are actually doing now.
That is what I mean by a living golden set.
A green eval can be stale in several different ways
When people hear “dataset drift,” they often imagine only a change in user prompts.
For agents, the evaluation environment can drift in more directions than that.
Input drift
The user population changes.
short questions become long conversationsEnglish traffic becomes multilingualsupport questions become billing questionsnew product names appearnew attack patterns show upThe model is being asked different things from the examples in the suite.
Tool drift
The agent receives a new tool, loses one, or gets a schema change.
get_order(id)becomes:
get_order(order_id, region)Your old examples may still pass because they never exercise the new branch.
Policy drift
The world changes even if the prompt does not.
Refund limits change. Eligibility rules change. Permissions change. A product that used to exist is retired.
A reference answer can become wrong while the test continues rewarding it.
Workflow drift
The same task now takes a different path.
A new approval step appears. A retrieval source changes. A subagent is inserted. A fallback provider becomes the common path instead of the exceptional one.
If the eval only checks the final answer, it may miss that the underlying workflow is no longer the one you originally validated.
Evaluator drift
The judge can move too.
Its prompt changes. Its underlying model changes. Human expectations get sharper. A criterion that was ambiguous in March gets clarified in September.
Now the measurement instrument has changed while the dashboard still shows one continuous line.
These are different failure modes.
I do not want one alert called:
eval drift detectedI want enough metadata to know *what moved*.
The first mistake is treating the whole dataset as one thing
I would not maintain one giant list called golden_set.json.
Different examples have different jobs.
I prefer four layers.
| Layer | Purpose | How quickly it should change |
|---|---|---|
| Stable regression core | Protect critical capabilities and invariants | Slowly |
| Rolling production set | Represent current real traffic | Frequently |
| Challenge set | Preserve rare, adversarial, high-value failures | When new failure classes appear |
| Protected holdout | Detect overfitting to the visible eval process | Rarely, tightly controlled |
Those sets can be stored together physically.
The important thing is that they are not governed the same way.
Stable regression core
These are cases I never want to lose because they protect something the product intentionally supports.
Examples:
refund requires authorization before executionagent must not expose another tenant's dataknown invoice edge case must stay fixedcritical tool schema must remain validrequired citation behavior must continue to workIf production traffic shifts away from one of these cases, I do not automatically delete it.
It exists because the behavior matters, not because it was popular this week.
Rolling production set
This set answers:
Does the suite still look like the traffic the agent actually receives?
It should rotate.
If 30% of production turns are now account-migration questions and your evaluation set contains 1%, the suite is lying about representativeness even if every individual label is correct.
Challenge set
This contains the weird failures you never want to rediscover the hard way.
ambiguous tool property nameprompt-injection attempt hidden in a documentfive-turn contradictionprovider timeout after a side effectrare language mixconflicting authoritative sourcesThese cases are not supposed to mirror normal frequency.
They are supposed to preserve difficult behavior.
Protected holdout
This is the set the prompt engineer should not tune against after every red run.
If every failure becomes visible, fixed, and re-run until green, the team can overfit to the benchmark while convincing itself it is generalizing.
The holdout gives you a colder surface.
Not perfectly secret forever.
Just sufficiently protected that it still tells you something the development set does not.
The architecture I would ship
The feedback loop should look like this:

The critical point is the human promotion gate.
I do not want every low-scoring production trace automatically appended to the golden set.
Production contains noise, user mistakes, bad labels, privacy-sensitive data, transient dependency failures, and one-off cases that may not deserve permanent regression coverage.
A trace becomes a test only after somebody can answer:
What behavior are we protecting?What is the expected outcome?What failure class does this represent?Is the case reproducible?Is the reference still valid?Does the example contain data we are allowed to retain?Which dataset layer should own it?That review is what turns telemetry into evaluation data.
Every eval case needs provenance
A row with only input and expected_output is not enough for a long-lived eval system.
I want metadata that lets me explain where the case came from and when it stops being trustworthy.
type EvalLayer = | "core" | "rolling" | "challenge" | "holdout";type EvalCase = { id: string; layer: EvalLayer; capability: string; riskTier: 0 | 1 | 2 | 3; locale?: string; tenantSegment?: string; input: unknown; expected: unknown; source: | "production" | "incident" | "synthetic" | "expert"; sourceTraceId?: string; failureClass?: string; createdAt: string; reviewedAt: string; reviewer: string; policyVersion?: string; toolSchemaVersion?: string; dataSnapshot?: string;};The timestamps matter.
The policy version matters.
The tool schema version matters.
If a refund rule changes after the case was labeled, I want to be able to query:
Which expected answers were created under policy-v17?Without that, a reference answer can silently become historical truth masquerading as current truth.
A reference answer should be revalidated when its source of truth changes
This is one of the easiest eval bugs to miss.
Suppose the golden set contains:
Question:Can a customer on plan Pro receive a manual refund after 60 days?Expected:No. Manual refunds are limited to 30 days.Then the policy changes to 90 days.
The agent correctly answers:
Yes.The eval marks it wrong.
Now your regression suite is actively pushing the agent back toward obsolete behavior.
I would attach reference answers to an authority or version when possible:
expected_source = policy://refunds@v18When that source changes, mark the dependent cases as:
needs_revalidationDo not automatically rewrite the label.
A source update may be unrelated to the exact fact the case tests.
It simply removes your right to assume the old expectation is still current.
Measure distribution drift before quality falls
If you only look at eval pass rate, you learn about drift after your test set has already stopped representing production.
I also compare what the suite contains with what production contains.
Useful dimensions include:
task classrisk tierlanguageconversation lengthtool selectednumber of tool callsretrieval required or nothuman escalation required or notcustomer segmentinput length bucketfailure categoryThe exact taxonomy should be stable enough to compare over time.
Imagine this distribution:
Eval set: billing 45% account 35% migrations 5% other 15%Production this week: billing 25% account 25% migrations 35% other 15%Your benchmark did not get worse.
It became less representative.
That is a useful alert before customer quality moves.
Use a simple drift metric, then inspect the segments
I like Jensen-Shannon divergence for comparing categorical distributions because it is symmetric and bounded.
I do not treat one threshold as universal.
The score tells me where to look, not whether the product is safe.
function kl( p: number[], q: number[],): number { return p.reduce((sum, value, i) => { if (value === 0) return sum; return sum + value * Math.log2(value / q[i]); }, 0);}function jsDivergence( p: number[], q: number[],): number { if (p.length === 0 || p.length !== q.length) { throw new RangeError("Distributions must have the same nonzero length"); } const normalize = (xs: number[]) => { if (xs.some(x => !Number.isFinite(x) || x < 0)) { throw new RangeError("Invalid distribution weights"); } const total = xs.reduce((a, b) => a + b, 0); if (!Number.isFinite(total) || total <= 0) { throw new RangeError("Distribution must have positive finite total"); } return xs.map(x => x / total); }; const pn = normalize(p); const qn = normalize(q); const m = pn.map((x, i) => (x + qn[i]) / 2); return 0.5 * kl(pn, m) + 0.5 * kl(qn, m);}And in Python:
from math import isfinite, log2def normalize(values: list[float]) -> list[float]: if not values or any(not isfinite(x) or x < 0 for x in values): raise ValueError("Weights must be finite and nonnegative") total = sum(values) if not isfinite(total) or total <= 0: raise ValueError("Distribution must have positive finite total") return [value / total for value in values]def kl(p: list[float], q: list[float]) -> float: return sum( value * log2(value / q[i]) for i, value in enumerate(p) if value > 0 )def js_divergence( p: list[float], q: list[float],) -> float: if len(p) != len(q): raise ValueError("Distributions must have equal lengths") pn = normalize(p) qn = normalize(q) middle = [ (left + right) / 2 for left, right in zip(pn, qn) ] return 0.5 * kl(pn, middle) + 0.5 * kl(qn, middle)The validation matters: unequal lengths, negative weights, and empty populations must fail rather than silently return a misleading divergence. Exact zeros are valid; Jensen–Shannon divergence does not require an arbitrary epsilon floor when its mixture is constructed correctly.
The code is not the hard part.
The hard part is choosing dimensions that mean something.
A perfectly stable prompt-length distribution can hide the fact that 40% of your traffic moved from read-only questions to financial actions.
So drift needs domain-aware segmentation.
Do not automatically make the rolling set match production frequency
There is a subtle trap here.
Suppose password-reset questions are 40% of production traffic.
If you make 40% of every eval run password resets, your benchmark becomes very representative and very easy to pass.
Rare important failures disappear in the average.
So I keep two ideas separate:
representativenessandcoverage of important riskThe rolling set should roughly mirror production.
The challenge and core sets should deliberately not.
That gives you two views:
How good are we on the workload users actually send?andCan we still survive the cases we cannot afford to forget?Both matter.
Promote production failures into tests carefully
A production failure is valuable because it is evidence that the current suite missed something.
But one incident does not tell you what the test should be.
Suppose the agent sends the wrong invoice amount.
Possible root causes include:
retrieval returned stale datatool schema was ambiguousmodel chose the wrong toolcurrency conversion failedpolicy was unclearhuman label was wrongexternal service timed outIf you save only:
input -> expected final answerthen you may create a regression test that catches the symptom and misses the mechanism.
I want the failure review to produce:
failure classminimal reproducible caseexpected outcomerequired invariantsrelevant environment versionsThen choose the right eval surface.
A tool-ordering bug may belong in a trajectory test.
A stale policy answer belongs in a groundedness or reference test.
A nondeterministic failure may need repeated trials.
This is why I treat trajectory evaluation and repeated-run reliability as separate layers from dataset freshness.
This article is about whether you are still testing the right cases in the first place.
A living set should still be versioned
“Living” does not mean “mutable and impossible to reproduce.”
Every release should know exactly which eval dataset version gated it.
For example:
agent release: refund-agent-2.14.0prompt version: prompt-81policy version: refund-policy-18tool schema: refund-tools-7eval release: eval-2026-09-29.3judge version: refund-judge-12If the release fails next week, I can re-run the exact historical gate.
If the eval set changes, it receives a new version.
Do not silently edit row 184 and keep the same benchmark identity.
That destroys comparability.
Build an eval manifest
A small manifest makes the dataset reviewable in Git or any artifact registry.
id: support-agent-eval-2026-09-29.3owner: support-platformcreatedAt: 2026-09-29layers: core: 420 rolling: 800 challenge: 160 holdout: 250productionWindow: from: 2026-09-15 to: 2026-09-28policyVersions: - support-policy-31toolSchemas: - support-tools-14review: domainOwner: support-ops securityOwner: ai-platformThe exact counts are not important.
The ability to answer these questions is:
Who owns this dataset?Which production window shaped it?Which policy and tool versions were valid?How much of it is stable versus rolling?Which release used it?That is how evaluation becomes an engineering artifact rather than a folder of examples.
Add freshness checks to CI
A build should not always fail because an eval set is old.
Some products change slowly.
But I do want CI to know the difference between:
we deliberately reused a validated datasetand:
nobody has looked at this in four monthsA simple policy can be enough:
type EvalManifest = { createdAt: string; lastProductionRefreshAt: string; policyVersions: string[]; toolSchemas: string[];};type CurrentEnvironment = { policyVersion: string; toolSchema: string;};function freshnessWarnings( manifest: EvalManifest, env: CurrentEnvironment, now = Date.now(),): string[] { const warnings: string[] = []; const refreshedAt = Date.parse(manifest.lastProductionRefreshAt); if (!Number.isFinite(now) || !Number.isFinite(refreshedAt) || refreshedAt > now) { warnings.push("rolling production refresh timestamp is invalid"); } else if ((now - refreshedAt) / 86_400_000 > 30) { warnings.push("rolling production sample is over 30 days old"); } if (!manifest.policyVersions.includes(env.policyVersion)) { warnings.push("current policy version was not represented in eval release"); } if (!manifest.toolSchemas.includes(env.toolSchema)) { warnings.push("current tool schema was not represented in eval release"); } return warnings;}The 30-day number is illustrative.
A fast-moving consumer product may need days.
A stable internal workflow may need months.
The useful behavior is that freshness becomes visible and intentional.
Do not let the team train on the scoreboard
A living eval process makes one problem worse if you are careless: benchmark overfitting.
The loop can become:
run evalfix exact red examplesrun evalfix exact red examplesrun evalEventually the suite is green because the agent has been tuned to the known cases.
This is especially easy with prompts, where someone can add:
If the user mentions 'enterprise transfer', remember to...because that exact phrase appeared in a failed row.
The fix is not to hide every test.
You need visible regression tests to debug product behavior.
The fix is separation:
development / regression set→ visible and actionableprotected holdout→ used for independent scoringtime-sliced production evaluation→ measures new traffic the team has not tuned againstImprovement should survive all three.
Time-sliced evaluation catches slow overfitting
I like comparing performance by when the data entered the suite.
For example:
cases created Jan-Mar 98.4%cases created Apr-Jun 96.8%cases created Jul-Aug 93.2%new production sample 88.9%That is a much more interesting chart than:
overall eval: 96.7%The aggregate says the system is good.
The time slices say it is getting worse at newer reality.
That can mean:
production distribution changednew tools are under-testednew policy areas are weakteam overfit old regressionsjudge labels driftedNow you have somewhere to investigate.
Drift detection should trigger sampling, not automatic relabeling
Suppose the task distribution diverges sharply this week.
I do not want a cron job immediately rebuilding the golden set from the latest production traces.
That can produce benchmark whiplash.
A temporary marketing campaign, outage, bot attack, or one giant customer can distort the traffic mix.
Instead:
drift signal→ increase targeted sampling→ human / expert review→ decide whether change is durable→ promote representative cases→ release new eval versionDrift is a reason to look.
It is not authority to rewrite ground truth.
Privacy changes how production examples enter the suite
Production traces are attractive because they are real.
They can also contain exactly the data you should not copy into a long-lived benchmark.
Before promotion, I want a data handling step:
remove or tokenize direct identifiersstrip secrets and credentialsseparate sensitive payloads from behavior metadatarespect tenant retention rulesstore only the fields needed by the evaluatorrecord the source and deletion obligationsIn some environments you cannot retain raw prompts at all.
That does not make drift measurement impossible.
You can compare proxy dimensions such as:
task categorylanguagelength buckettool sequencerisk tiersuccess / failure labelwithout storing the original customer text.
Recent work on privacy-preserving drift detection for large LLM applications is exploring exactly this idea: compare structured proxy representations of production and evaluation traffic, then refresh the test distribution without exposing raw user data.
The privacy constraint should shape the eval architecture from the start.
The evaluator needs a lifecycle too
Even a perfect dataset can be graded badly.
If you use an LLM judge, version it like any other dependency.
judge modeljudge promptrubricfew-shot examplesscoring labelshuman calibration setThen periodically measure agreement against human-reviewed examples.
If the judge used to agree with experts 94% of the time and now agrees 81%, the evaluation system itself has degraded.
Do not interpret every score drop as an agent regression.
I would distinguish:
task failure→ agent behavior failedevaluation failure→ grader or reference failedThose need different owners and different fixes.
This is also why I would not let an automated judge promote its own low-scoring examples directly into the golden set.
That creates a self-reinforcing measurement loop.
Your failure taxonomy is part of the dataset
A living eval set gets much more useful when cases carry a stable failure taxonomy.
For a support agent, that might be:
groundingwrong toolwrong argumentsmissing authorizationstale evidenceunsafe retrybad escalationpolicy misunderstandingformat/schemalatency budgetunnecessary tool useNow I can ask:
Did the new release improve overall score by fixing groundingwhile making authorization failures worse?A single pass rate cannot answer that.
The taxonomy also shows where the suite is thin.
If production has a new class called stale_evidence and the eval set has zero such cases, that is an obvious coverage gap.
Sample production strategically
Random sampling alone mostly gives you boring cases.
That is useful for representativeness.
It is not enough for discovering failures.
I combine several streams:
random sample→ keeps distribution honestlow-score / low-confidence sample→ finds likely quality problemsnew-cluster sample→ finds behavior the taxonomy has not seenhigh-risk sample→ over-samples consequential actionsuser-feedback sample→ captures what people actually complained aboutincident sample→ preserves expensive failuresEach stream has a different bias.
That is okay if you record the source.
The mistake is merging them all and later pretending the final dataset is a natural sample of production.
The release gate should report both score and coverage freshness
Imagine two candidates:
Candidate Acore pass: 99.1%rolling pass: 96.8%challenge pass: 94.0%holdout pass: 95.2%production alignment: strongCandidate Bcore pass: 99.4%rolling pass: 98.2%challenge pass: 95.1%holdout pass: 96.0%production alignment: weakCandidate B looks better on every score.
But if the rolling dataset is stale and badly mismatched to production, that confidence is weaker than it looks.
I want the release report to include:
quality scorecoverage by capabilitycoverage by risk tierproduction-distribution alignmentdataset agereference cases awaiting revalidationjudge-human agreementEvaluation confidence depends on the measurement system, not only the model result.
Production monitoring should feed the next eval release
This closes the loop with the previous article on agent SLOs and error budgets.
SLOs tell you that the live system is losing reliability.
A living eval process helps turn that loss into a reproducible test for the next release.
The loop is:
production SLI degrades→ inspect failing segments→ sample traces→ human label + failure taxonomy→ promote representative cases→ release new eval version→ reproduce failure offline→ fix→ CI / shadow / canary→ verify production SLI recoversThat is much stronger than:
production looked bad→ tweak prompt→ rerun old benchmark→ benchmark greenThe second loop can ship the same failure again because the test never learned what production taught you.
Failure-inject the eval system itself
I would test the maintenance machinery, not just the agent.
| Injected condition | Expected eval-system behavior |
|---|---|
| Production task distribution shifts sharply | Drift signal triggers targeted review |
| Policy source changes | Dependent reference cases become needs_revalidation |
| Tool schema version changes | Eval manifest warns or blocks unsupported release gate |
| Judge-human agreement drops | Judge version is flagged for recalibration |
| One customer dominates traffic | Sampling prevents that tenant from silently redefining the rolling set |
| New rare critical failure appears | Case is promoted to challenge/core after review |
| Raw production trace contains PII | Promotion pipeline redacts or rejects it |
| Team repeatedly tunes exact failing examples | Protected holdout and new time slice expose overfitting |
| Rolling set has not refreshed within policy | Freshness warning becomes visible in release report |
| Automated evaluator marks noisy cases as failures | Human promotion gate prevents benchmark poisoning |
The core question is:
Can the evaluation system notice when its own assumptions stop being true?That is the reliability property I want.
What I would put on the eval-health dashboard
Not just model score.
I would track:
core-set pass raterolling-set pass ratechallenge-set pass rateholdout pass ratecases by capabilitycases by risk tiercases by failure classproduction-vs-eval distribution divergencenew production clusters without eval coveragerolling-set agereferences awaiting revalidationjudge-human agreementhuman-review backlogpromotion rate from production tracesrejected promotion reasonsperformance by case creation monthperformance on never-seen production sliceOne chart I particularly like is:
score by eval-case ageIf the agent is excellent on old cases and weak on recent ones, your benchmark is becoming a museum.
What I would not do
I would not automatically replace the golden set every week.
I would not keep a static dataset forever just so the graph stays comparable.
I would not let production frequency delete rare critical regressions.
I would not let an LLM judge promote its own failures into ground truth without human review.
I would not silently edit expected answers after a policy change.
I would not compare two release scores unless I know which dataset and judge version produced each one.
I would not call a dataset “representative” without measuring its segments against real traffic.
And I would not use one blended score to hide that the agent is excellent on old cases and poor on new ones.
The production rule I would keep
A good eval suite has two responsibilities that pull in opposite directions.
It has to remember.
And it has to learn.
It must remember the capabilities and failures you already paid to understand:
critical invariantsknown incidentshard edge casessecurity boundariesimportant workflowsAt the same time, it has to learn that production moved:
new user behaviornew toolsnew policiesnew failure modesnew languagesnew workloadsnew attack patternsThat is why I do not want one static golden set.
I want a versioned system with:
stable regression core+ rolling production sample+ challenge set+ protected holdout+ provenance+ source-of-truth versions+ drift detection+ human promotion gates+ judge calibrationThen a green eval means something stronger.
It does not only mean:
The agent still passes the tests we wrote months ago.
It means:
The agent still passes the behaviors we refuse to lose, and the test distribution still has evidence that it resembles the product we operate today.
A benchmark should preserve yesterday's lessons without becoming yesterday's product.
The next production problem follows naturally from this one: once the suite finds a failure, how do you prove *which component* caused it instead of patching the prompt and hoping?
That is where failure attribution and counterfactual replay become useful.
References
- OpenAI — Evaluation best practices
- OpenAI — A shared playbook for trustworthy third-party evaluations
- LangChain — You don’t know what your agent will do until it’s in production
- LangChain — Agent Evaluation Readiness Checklist
- LangChain — IssueBench: How We Evaluate Engine
- ProxyDrift — Privacy-Preserving Data Drift Detection and Recovery for Large-Scale LLM Applications
KEEP READING
Related engineering notes
A Failover Route Is Not a Recovery Path: Proving Independence in AI Infrastructure
Two LLM providers can share the same failure domain. Build an evidence-backed recovery graph that checks cloud, networking, identity, control-plane and capacity dependencies before admitting fallback routes, then test correlated outages without weakening safety.
Read articleAn Eval Platform Sunset Can Erase Your Release Evidence: Build an Evidence-Escrow Migration Gate
When a hosted LLM evaluation platform retires, switching runners is not enough. Preserve the historical evidence, reconstruct grader semantics, validate scoring parity, and enforce a fail-closed release gate that survives the service shutdown.
Read articleWhen the Package Runs Before Your App: Quarantining AI Framework Releases
The 2026 agent-framework PyPI compromise exposed a blind spot in AI build pipelines: Python startup hooks execute before application imports. Design an artifact-quarantine gate, inspect wheels without installing them, separate credentials, and recover from suspected exposure.
Read article