In early July, an eval round on my data agent scored 32.4% pass. The previous round, two weeks earlier, scored 66.7%. The factual-accuracy slice fell from 65% to 5%. Same agent version family. Same rubric. Same judge. A 34-point collapse usually means someone broke the agent. Nobody had. The changelog between the two rounds was short and boring — no retrieval changes, no prompt rewrites, no model swap. I spent the first hour doing what you do anyway: rereading diffs, opening transcripts, hunting for the fix that backfired.
Two live queries told the real story. The test tenant — the one org every eval question is written against — had fallen out of the current pipeline snapshot. One count against the metric store: 0 of its 2,581 items present. One count against the reporting views the SQL path reads: 0 rows. The agent, meanwhile, had behaved exactly as designed. Across all 105 cases it fabricated zero numbers. It checked the metric store, found nothing, pivoted to generated SQL, found nothing again, and reported that no data existed for this org. The judge, grading those answers against a key full of real numbers, marked nearly all of them wrong. The agent scored 32.4% for telling the truth.
Here is the thesis, six weeks into running this loop: the dominant source of false signal in my eval is no longer the agent. It is the environment the eval runs against. An eval run is a lab measurement, and labs have a rule about measurements: calibrate the instrument before you believe the reading.
The third time in five weeks
The July collapse was not novel. It was the third environment failure since the start of June.
Two rounds earlier, in early June, a staging environment quietly started serving a pipeline snapshot dated 2000-01-01 — the thirty-point "regression" that the traces diagnosed in minutes, which I told from the trace-preservation side in the eval post. Every number the agent quoted was faithful to a snapshot my answer key knew nothing about. That round produced 36 hallucination flags. When I traced them one by one, 26 turned out to be data drift — the agent reporting values that were true in its world and false in mine. Ten real issues, twenty-six phantoms, and a round I had to declare incomparable to its own baseline. Two weeks of apparent movement, unusable for trend lines.
Later that month, a separate incident changed how I debug. A class of queries was coming back empty, and several independent code readers — me plus a few AI assistants, each given the code fresh — converged on the same diagnosis: an ID format mismatch between two layers. The agreement was unanimous. It was also wrong. One live count query ended the debate in under a minute: the presentation layer had 0 rows while the layer directly above it had 23, because the reporting views were simply empty upstream. Nothing was wrong with any file we had read. The unanimity should have been the tell. Everyone had read the same code and nobody had read the database, so we all found the same plausible bug in the only place we looked.
Count the record: of the last four apparent regressions, three were the environment. The agent was innocent three times out of four, and each time the eval said otherwise.
The database is part of the instrument
Text-to-SQL agents carry a dependency that most eval writing ignores: the database state is part of the instrument.
We version everything else. Ground-truth answers get stamped. Question sets live in the repo. The judge prompt is code-reviewed. The agent is pinned to a model ID and a code revision. I wrote a whole post about debugging that layer of the stack — forked ground truth, time-relative answers aging out, judge noise — and I will compress it to one sentence here: the eval itself can lie, and you have to debug it like software.
But all of that machinery assumes the world under the eval holds still. Nobody versions "does the tenant org still have data this week." That question has no file in your repo, so no diff can flag it and no code review can catch it. A data pipeline you don't own can invalidate your eval without leaving a trace anywhere you look by habit. No failing test. No alert. And the failure signature — factual scores collapsing between rounds — is byte-for-byte indistinguishable from an agent regression until you check. If someone swapped the reagents on a chemist's bench overnight, you wouldn't conclude the chemist got worse. That is exactly the conclusion a raw pass rate invites.
The exoneration protocol
So before I diagnose the agent, I now prove the environment. I think of it as an exoneration protocol: the agent is the obvious suspect, and step one is establishing whether it was even at the scene.
Verify ground truth at the source. One query against the live store beats an afternoon of prompt archaeology. In July, a single count filtered to the test org would have explained the entire round in five seconds; instead I spent an hour in transcripts first. The rule I follow now: when a score moves, count rows before you read a single agent response.
Check the invariant slices. Some slices of an eval don't depend on data at all — out-of-scope refusals, clarification behavior, formatting. In the July collapse, out-of-scope refusal behavior held steady at 93% while factual accuracy fell 60 points. That asymmetry is itself diagnostic. An agent regression — a bad prompt merge, a model change, a broken tool — degrades behavior across slices. A data gap degrades only the answers that need data. When the data-dependent slices crater and the data-independent slices don't move, suspect the environment first.
Count fabrications separately from wrong answers. An agent that says "no data" into a void is working correctly. A judge that can't tell honest-empty from wrong will report integrity as failure — that is how 105 cases with zero fabricated numbers scored 32.4%. (This rhymes with a lesson from the earlier post: the judge has to see the tool results, not just the final answer.) Wrongness is contingent on the state of the world. Fabrication is a property of the agent. Track them as separate numbers, because only one of them is ever the agent's fault.
None of this is expensive. Each step is a query or a pivot table on results you already have. The expensive thing is the alternative: a day of debugging an agent that did nothing wrong.
Mechanizing the calibration
A protocol you have to remember is a protocol you will eventually skip. Two pieces of mechanization I'm building now — proposals in progress, not shipped work.
First, a preflight check in the eval CLI. Before running a single case, it queries the stores the agent reads and fails fast if the tenant org has zero items. That is a five-second check replacing an eight-minute run whose only output is a misleading number and, downstream of it, a day of chasing a regression that never happened.
Second, an environment fingerprint stamped onto every eval run: pipeline snapshot date, per-org row counts in each store the agent reads, model ID, code revision. When two rounds get compared, the harness compares fingerprints first and either declares the rounds comparable or names the dimension that drifted. "Comparable" stops being a judgment call made while staring at two spreadsheets and becomes a machine-checked predicate. The 2000-01-01 snapshot would have been caught by the date field alone; the July collapse by the row counts. The fingerprint costs a few queries per run and buys back entire rounds.
The deeper point is budgetary. Eval maintenance deserves the same line item as harness development, because this rot is not unique to my pipeline. Anthropic has reported an internal data agent whose accuracy degraded from roughly 95% to 65% within about a month without maintenance. Environments rot on a timescale of weeks. If your improvement loop also runs on a timescale of weeks, rot is not an edge case. It is a peer of the work itself, and it needs its own time on the schedule.
Verification debt
The cost of skipping this compounds quietly. Several fixes I shipped in late May are, as I write this, still technically unverified. The eval rounds that were supposed to confirm them never got the chance: one round was invalidated by the stale snapshot, the next by the empty org. The fixes are probably fine. "Probably fine" is the exact epistemic state this whole loop exists to eliminate.
That is the real price of false signal. It doesn't just cost the day you spend chasing a phantom regression. It silently un-verifies your past work, because a verification is only as good as the measurement it came from — and when a measurement retroactively turns out to be uncalibrated, everything it vouched for goes back in the unproven pile. The changelog says those fixes shipped. The evidence that they worked is a score from an instrument I can no longer trust for those weeks.
A physicist doesn't publish a reading from an uncalibrated instrument, and "it was calibrated last month" is not a defense. Your eval is an instrument. The database underneath it is part of the instrument. And calibration is one query away.