ELVIA analysis of: SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications
Original paper: Li, Jinyang; Li, Xiaolong; Qu, Ge; Jacobsson, Per; Qin, Bowen; Hui, Binyuan; Si, Shuzheng; Huo, Nan; Xu, Xiaohan; Zhang, Yue; Tang, Ziwei; Li, Yuanshuai; Widjaja, Florensia; Zhu, Xintong; Zhou, Feige; Huang, Yongfeng; Papakonstantinou, Yannis; Ozcan, Fatma; Ma, Chenhao; Cheng, Reynold. SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications. Advances in Neural Information Processing Systems, vol. 38, 2025, pp. 97085–97120. https://doi.org/10.52202/085713-3247
Source version: arXiv:2506.18951v4 (24 January 2026)
Source location: Appendices C–D, PDF p. 25; released PostgreSQL utility preprocess_results, lines 10–29, and ex_baselines, lines 92–134.
Released PostgreSQL utility remove_distinct, lines 32–61; retained conference and current-source versions.
Section 4, PDF p. 5; Section 6.4, Table 4, PDF p. 9.
Question: What does the recorded analysis establish about “SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications”?
Bounded finding:
Released SQL comparison and normalization discard valid semantic distinctions. A later normalization update fixes some whitespace cases but leaves literal DISTINCT removal; average-tries reporting needs clarification rather than a presumed numeric correction.
Recorded check:
Released SQL comparison and normalization discard valid semantic distinctions. A later normalization update fixes some whitespace cases but leaves literal DISTINCT removal; average-tries reporting needs clarification rather than a presumed numeric correction.
Case-wide limitations:
- No author-provided program, training procedure, model inference or wet-lab experiment was executed in this review.
- Historical execution results are retained only with that attribution; a source-level defect alone does not identify the program or configuration used for the published experiments.
- No author contact, adoption, independent human scientific review or novelty determination is established.
- The findings apply only to the identified claims, source versions and stated assumptions; they do not certify or invalidate the entire paper.
Original source excerpts (verbatim):
We begin with raw StackOverflow issue data and enforce two principles against data overlap: (i) any issue used to construct BIRD-CRITIC tasks is excluded from SIX-GYM, and (ii) SQL-Rewind operates only on the 12 databases in the training databases of BIRD-SQL, while BIRD-CRITIC evaluation is confined to databases drawn solely from the BIRD-SQL dev set.
Source: arXiv:2506.18951v4 (24 January 2026)
Locator: PDF p. 5
Source PDF SHA-256: 46d803ed78e06cf51240970f4c7f80dd1ab082adb257afa4fbc0fc54a90dc547
Review status: Independent review pending
Case: neurips2025-0142-swe-sql-illuminating-llm-pathways-to-solve-user-sql-issues-in-r
Revision: 1
Record created: 2026-10-21T07:13:27.568206+00:00
Permalink: https://elvia-atlas.org/atlas/cases/neurips2025-0142-swe-sql-illuminating-llm-pathways-to-solve-user-sql-issues-in-r.html
Versioned public record: https://elvia-atlas.org/atlas/evidence/neurips2025-0142-swe-sql-illuminating-llm-pathways-to-solve-user-sql-issues-in-r/records/neurips2025-0142-swe-sql-illuminating-llm-pathways-to-solve-user-sql-issues-in-r.r1.json
Canonical record SHA-256: 1a61fbbffe55aa21850964a5b700710b5bd9b77cc81dbf2ccca0d74f7c24e468
The page follows the latest revision; the versioned record identifies this snapshot.
Analysis citation:
Minhao Liu. ELVIA analysis of: SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications. ELVIA, 2026. https://elvia-atlas.org/atlas/cases/neurips2025-0142-swe-sql-illuminating-llm-pathways-to-solve-user-sql-issues-in-r.html
Case neurips2025-0142-swe-sql-illuminating-llm-pathways-to-solve-user-sql-issues-in-r; revision 1; Independent review pending. Assessment is limited to the inspected claims. Versioned record: https://elvia-atlas.org/atlas/evidence/neurips2025-0142-swe-sql-illuminating-llm-pathways-to-solve-user-sql-issues-in-r/records/neurips2025-0142-swe-sql-illuminating-llm-pathways-to-solve-user-sql-issues-in-r.r1.json
Source claim:
Appendices C–D, PDF p. 25, describe functional SQL evaluation. The released PostgreSQL utility preprocess_results, lines 10–29, and ex_base, lines 86–132, discard duplicates/time-of-day and reject empty answers. Required ordering is also not enforced by set comparison.
The conference remove_distinct, lines 32–61 of the PostgreSQL utility, splits each complete SQL string on whitespace, removes tokens equal to distinct, and joins the remainder with single spaces. The current version instead uses a case-insensitive regular expression replacing every whole-word occurrence of DISTINCT with an empty string. The authors’ README explicitly announces an evaluation-code update to this function on \(8\) January 2026.
Section 4, PDF p. 5, describes SIX-GYM as containing approximately \(3301\) generated training instances. Section 6.4 and Table 4, p. 9, compare trajectory generation on SIX-GYM. The Reject + f-Plan row has at most five tries, \(2560\) successful trajectories, and an average of \(1.7\) tries. The same table values remain in arXiv v4. The table itself does not explicitly specify its average’s denominator.
Suppose average tries means the mean over all \(3301\) tasks; each successfully solved task consumes at least one try; and each final failure exhausts all five allowed tries. These are an explicit interpretation being tested, not assumptions asserted as supported facts about the run.
Recorded domain:
Rapid current-version reassessment of every substantive concern in the supplied LaTeX report: the implicated paper passages and relevant author-released source paths were inspected, existing proposed corrections were briefly checked, and impact was calibrated to the demonstrated scope. No author-provided or historical verification program was executed.
Recorded assumptions:
The finding is restricted to the identified paper version and identified released component; published experiment provenance is not inferred from public code alone.
Recorded dependencies:
Actual review scope:
Rapid current-version reassessment of every substantive concern in the supplied LaTeX report: the implicated paper passages and relevant author-released source paths were inspected, existing proposed corrections were briefly checked, and impact was calibrated to the demonstrated scope. No author-provided or historical verification program was executed.
Evidence and counterevidence:
analysis-and-boundaries (support; Current AI source and argument inspection; retained computations were not rerun.): Released SQL comparison and normalization discard valid semantic distinctions. A later normalization update fixes some whitespace cases but leaves literal DISTINCT removal; average-tries reporting needs clarification rather than a presumed numeric correction.
scope-and-rebuttal (rebuttal; Per-problem assessment, source checks, counterevidence and inherited execution limits.): No author-provided program, training procedure, model inference or wet-lab experiment was executed in this review. Historical execution results are retained only with that attribution; a source-level defect alone does not identify the program or configuration used for the published experiments. No author contact, adoption, independent human scientific review or novelty determination is established. The findings apply only to the identified claims, source versions and stated assumptions; they do not certify or invalidate the entire paper.
editable-latex (support; Typeset source generated from the same reviewed problem paragraphs.): Editable English LaTeX of the curated analysis and existing corrections.
Displayed problem statements:
Source finding p1: The result comparator loses semantic distinctions and rejects correct empty results
Appendices C–D, PDF p. 25, describe functional SQL evaluation. The released PostgreSQL utility preprocess_results, lines 10–29, and ex_base, lines 86–132, discard duplicates/time-of-day and reject empty answers. Required ordering is also not enforced by set comparison.
Source finding p2: Removing DISTINCT with text operations changes valid SQL values and query structure
The conference remove_distinct, lines 32–61 of the PostgreSQL utility, splits each complete SQL string on whitespace, removes tokens equal to distinct, and joins the remainder with single spaces. The current version instead uses a case-insensitive regular expression replacing every whole-word occurrence of DISTINCT with an empty string. The authors’ README explicitly announces an evaluation-code update to this function on \(8\) January 2026.
Source finding p3: The denominator and stopping rule for Table 4’s average tries require clarification
Section 4, PDF p. 5, describes SIX-GYM as containing approximately \(3301\) generated training instances. Section 6.4 and Table 4, p. 9, compare trajectory generation on SIX-GYM. The Reject + f-Plan row has at most five tries, \(2560\) successful trajectories, and an average of \(1.7\) tries. The same table values remain in arXiv v4. The table itself does not explicitly specify its average’s denominator. Suppose average tries means the mean over all \(3301\) tasks; each successfully solved task consumes at least one try; and each final failure exhausts all five allowed tries. These are an explicit interpretation being tested, not assumptions asserted as supported facts about the run.
Source PDF SHA-256: 46d803ed78e06cf51240970f4c7f80dd1ab082adb257afa4fbc0fc54a90dc547
Repair verification: pending
Author adoption: not_requested