# Does a Governed Confidence Score Know When a Text-to-SQL Answer Is Right? An Exploratory Study on BIRD and a Pre-registered Confirmation on Spider

DevFeed: [Does a Governed Confidence Score Know When a Text-to-SQL Answer Is Right? An Exploratory Study on BIRD and a Pre-registered Confirmation on Spider](<https://devfeed.tech/articles/does-a-governed-confidence-score-know-when-a-text-to-sql-answer-is-right-an-exploratory-study-on-bird-and-a-pre-registered-confirmation-on-spider-111934.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.17256>)

Author: Raghu Venkat, Tricha Anjali

Published: 2026-11-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [text2sql](<https://devfeed.tech/topics/text2sql.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [audit](<https://devfeed.tech/tags/audit.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [confidence-score](<https://devfeed.tech/tags/confidence-score.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [dev](<https://devfeed.tech/tags/dev.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [execution](<https://devfeed.tech/tags/execution.md>), [model](<https://devfeed.tech/tags/model.md>), [question](<https://devfeed.tech/tags/question.md>), [questions](<https://devfeed.tech/tags/questions.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [records](<https://devfeed.tech/tags/records.md>), [review](<https://devfeed.tech/tags/review.md>), [show](<https://devfeed.tech/tags/show.md>), [signal](<https://devfeed.tech/tags/signal.md>), [sql](<https://devfeed.tech/tags/sql.md>), [study](<https://devfeed.tech/tags/study.md>), [system](<https://devfeed.tech/tags/system.md>), [systems](<https://devfeed.tech/tags/systems.md>), [useful](<https://devfeed.tech/tags/useful.md>)

## AI overview

On BIRD dev, the production confidence score ranked correct answers only weakly (AUROC 0.624) and withheld 35.7% of correct answers; its ranking signal came mostly from agreement among five GPT-5.1 samples, which a checklist-based minimum often suppressed. A rule frozen before Spider answers were available used agreement with the shown answer, plus deterministic vetoes and caps, and raised Spider dev AUROC from 0.566 to 0.725; PASS accuracy was 95.7% versus a 92.6% base rate. The frozen rule was not the best agreement-based rule there, and the harness and prompts were rebuilt after preregistration. A GPT-5.1 judge score averaged with agreement ranked higher (AUROC 0.837 on Spider), but judged the same model's answers and gained less under execution-match labels. Adding one answer per question from a second model family improved agreement AUROC from 0.749 to 0.800 on Spider under both label definitions. Labels were model-judged; a ten-answer human pilot found no disagreement, but no full audit was done.

## Source excerpt

arXiv:2610.17256v2 Announce Type: replace Abstract: Conversational analytics lets people ask questions of records spread across many systems and get answers in plain language; it is useful only if each answer can be trusted and explained. A production system of this kind attaches a confidence score to every answer it writes over a database and uses it to show the answer, show it with a warning, or withhold it. The score's weights, caps and thresholds were set by design. This paper audits that design. On the 1,534 questions of BIRD dev, answered by GPT-5.1 with five samples per question, the designed score separates right from wrong answers weakly (AUROC 0.624) and withholds 35.7% of correct answers. Nearly all of its ranking signal comes from agreement among the samples, and most of it is lost where agreement is combined by a minimum with a checklist that drops to zero on any unsupported claim, including commentary. Before any Spider answer existed we froze and hashed a rule in which agreement with the shown answer is the score, with deterministic vetoes and deterministic and judge-based caps. On Spider dev AUROC rose from 0.566 to 0.725 (+0.159, 95% CI +0.097 to +0.221; database-level CI +0.098 to +0.234), with PASS accuracy 95.7% against a 92.6% base rate. The frozen rule was not the best agreement-based rule on Spider, and the harness and prompts were rebuilt after registration. Added after review: a GPT-5.1 judge asked for P(correct), averaged with agreement, ranked higher in every evaluation (0.837 on Spider), but it grades its own model's answers and its gain shrinks under execution-match labels; one answer per question from a second model family raised agreement's AUROC from 0.749 to 0.800 on Spider, a gain that held under both label definitions. Labels are model-judged; a ten-answer human pilot found no disagreement, and a full audit has not been done.