SpotIt+: Verification-based Text-to-SQL Evaluation with Database Constraints

Rocky Klopfenstein, Yang He, Andrew Tremante, Yuepeng Wang, Nina Narodytska +1 more
3/4/2026
cs.DBcs.AIcs.LO

No confident code implementation found for this paper.

Abstract

We present SpotIt+, an open-source tool for evaluating Text-to-SQL systems via bounded equivalence verification. Given a generated SQL query and the ground truth, SpotIt+ actively searches for database instances that differentiate the two queries. To ensure that the generated counterexamples reflect practically relevant discrepancies, we introduce a constraint-mining pipeline that combines rule-based specification mining over example databases with LLM-based validation. Experimental results on the BIRD dataset show that the mined constraints enable SpotIt+ to generate more realistic differentiating databases, while preserving its ability to efficiently uncover numerous discrepancies between generated and gold SQL queries that are missed by standard test-based evaluation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{klopfenstein2026spotit,
  title  = {SpotIt+: Verification-based Text-to-SQL Evaluation with Database Constraints},
  author = {Rocky Klopfenstein and Yang He and Andrew Tremante and Yuepeng Wang and Nina Narodytska and Haoze Wu},
  year   = {2026},
  eprint = {2603.04334},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.04334v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.04334.svg)](https://codeofpaper.com/paper/2603.04334)

Discussion