
@Article{	  eInformatica2027Art02,
  author	= {Volodymyr Sabadosh and Vladyslav Kotsovsky},
  title		= {Text-to-SQL Dataset Quality Assessment: A Multi-Dimensional Validation Framework},
  pages		= {270102},
  doi		= {10.37190/e-inf270102},
  year		= {2027},
  volume	= {21},
  number	= {1},
  keywords	= {Text-to-SQL system, dataset quality, LLM, SQL validation, semantic evaluation, empirical software engineering, benchmark auditing, LLM-as-a-judge},
  journal	= {e-Informatica Software Engineering Journal},
  url		= {https://www.e-informatyka.pl/eisej/papers/e-inf270102},
  abstract	= { Context: LLM-based Text-to-SQL has advanced quickly, but benchmark and training datasets may contain defects that distort evaluation and fine-tuning. Prior audits remain fragmented, addressing dimensions in isolation. 
  Objective: This paper proposes text2sql-dataset-analyzer, an open-source framework that audits Text-to-SQL datasets across five complementary quality dimensions within a~single reproducible pipeline. 
  Method: The framework covers five dimensions: database schema integrity, SQL syntactic structure and complexity, execution testing, antipattern detection, and semantic correspondence. Semantic correspondence is evaluated via an LLM-as-a-judge committee with majority voting. An analytical database stores the resulting metrics for direct querying and Markdown report generation, while structured JSONL output records per-item annotations. 
  Results: Auditing all 11,840 Spider 1.0 examples reveals quality issues despite 99.97% of queries passing execution checks. Schema and data checks identify 51 structural foreign-key errors and 41,927 row-level referential-integrity violations, 41,913 of them in just three of 206 databases. At the item level, the audit flags unanimously Incorrect (8--10%), disputed (23--27%), and Unanswerable NL--SQL pairs, together with SQL antipatterns associated with correctness, robustness, and portability concerns. Manual review of 367 flagged items confirms genuine defects in 263, including 26 consensus Unanswerable questions and all 17 Cartesian-product join bugs. 
  Conclusions: Multi-dimensional validation exposes dataset defects missed by executability-based checks. We release the open-source framework and a~prioritized remediation roadmap for a~popular Text-to-SQL benchmark. The downstream impact of these defects on model training and benchmark scores remains future work. },
  note		= {Available online: 28 Aug 2026},
  month		= aug
}
