A SQL-answer judge flagged 59 correct answers when it saw the schema but not the dbt docs
In one synthetic warehouse, the same Haiku judge flagged none of those answers when given business definitions. Only seven distinct observed errors were available to test what it caught.
An LLM judge can check a text-to-SQL answer without a reference query at review time. But in the LLM Judge Audit work sample, the same Haiku judge behaved very differently depending on what it knew about the warehouse. With dbt documentation, it flagged none of 368 distinct correct answers produced by the agent. Given only table and column names and types, it flagged 59 of the same 368. Both “wrong” and “unsure” counted as flags, because either would send the answer to review.
The context gap mattered for missed errors too
The committed report separates actual mistakes in the recorded agent runs from mistakes the author injected to enlarge the calibration set. With dbt docs, Haiku flagged all seven distinct observed mistakes; without them, it flagged four. By contrast, Haiku flagged 86 of 87 injected mistakes in either configuration. If you look only at the injected errors, you miss the difference in how the judge classified the agent’s own mistakes.
The repository gives a concrete example: two answers filtered the country column using the string Germany, but the data used the ISO code DE. The business description supplied that detail; the column name and type did not. The schema-only judge accepted both answers.
The flag rate is not the error rate
On the second half of the recorded traffic, the schema-only judge flagged 19.8% of trials against a measured error rate of 2.7%. Adjusting for the judge’s measured sensitivity and specificity from the other half lowered the estimate to 7.2%, still above the reference rate, according to the report. That gap matters if a team wants a dashboard to estimate how often an agent is wrong, rather than a queue that tells reviewers where to look.
This is an author-run work sample on one synthetic PostgreSQL warehouse and 50 questions, not a deployment or an independent replication. A result match can also conceal a wrong query that happens to return the right rows on this data, and the judge sees only the first 15 result rows. The useful takeaway is a test to run before deploying a monitor: give the judge the business definitions it will have in use, calibrate it against executed references, and report false alarms and catches on observed agent errors separately from the injected calibration cases.
sources
- LLM Judge Audit: design, data and limitationsgithub.com
- Committed LLM Judge Audit resultsgithub.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026