ELVIA.Evidence Atlas
NeurIPS 2025ELVIA assessment Minor

SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications

Jinyang Li, Xiaolong Li, Ge Qu, Per Jacobsson, Bowen Qin, Binyuan Hui, Shuzheng Si, Nan Huo, Xiaohan Xu, Yue Zhang, Ziwei Tang, Yuanshuai Li, Florensia Widjaja, Xintong Zhu, Feige Zhou, Yongfeng Huang, Yannis Papakonstantinou, Fatma Ozcan, Chenhao Ma, Reynold Cheng

ELVIA analysis

Independent review pending

The first reported finding concerns “The result comparator loses semantic distinctions and rejects correct empty results”. The result comparator loses semantic distinctions and rejects correct empty results.

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.

Problem 1. The result comparator loses semantic distinctions and rejects correct empty results

Minor
Evidence and reasoning

Problem statement

Appendices C–D, PDF p. 25, describe functional SQL evaluation. The released PostgreSQL utility preprocess_results, lines 1010–29,29, and ex_base, lines 8686–132,132, discard duplicates/time-of-day and reject empty answers. Required ordering is also not enforced by set comparison.

Proof

Set comparison equates the row sequences ((1),(1))((1),(1)) and ((1)),((1)), losing multiplicity and any required order. Rejecting either empty list rejects two identical valid empty answers. Formatting timestamps as dates equates same-day values 2222 hours apart. These are distinct valid-answer contracts that a general semantic comparator must preserve; their frequency in the final task tests is unknown.

□\square

Possible revision

Not available

Problem 2. Removing DISTINCT with text operations changes valid SQL values and query structure

Minor
Evidence and reasoning

Problem statement

The conference remove_distinct, lines 3232–6161 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 88 January 2026.2026.

Proof

The current helper applies a case-insensitive whole-word regular expression to the entire SQL string.

Thus the valid statement SELECT 'DISTINCT' AS value is changed into SELECT '' AS value. This changes a string value, rather than a SQL keyword. The former split/join behavior that collapsed double spaces or moved a statement into a line comment has been fixed and is excluded from the current defect. Actual benchmark incidence remains unknown.

□\square

Possible revision

Not available

Problem 3. The denominator and stopping rule for Table 4’s average tries require clarification

Needs Evidence
Evidence and reasoning

Problem statement

Section 4, PDF p. 5, describes SIX-GYM as containing approximately 33013301 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, 25602560 successful trajectories, and an average of 1.71.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 33013301 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.

Verification

Assume the mean covers all 33013301 tasks, every one of 25602560 successes takes at least one try, and each of 741741 failures exhausts five tries. The mean must then be at least (2560+5⋅741)/3301≈1.89791,(2560+5\cdot741)/3301\approx1.89791, inconsistent with 1.7.1.7. A success-only denominator, early aborts or another averaging unit removes this contradiction. The table does not establish the assumptions, so no incorrect entry or replacement value is asserted.

Possible revision

Specify the averaging unit, total attempts, success count and terminal-failure behavior.

A local correction or qualification is proposed where specified; author adoption is not established.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

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 1212 databases in the training databases of BIRD-SQL, while BIRD-CRITIC evaluation is confined to databases drawn solely from the BIRD-SQL dev set.

arXiv:2506.18951v4 (24 January 2026); PDF p. 5

Actual review scope

The recorded inspection concerns these source locations: 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.

Submit an author revisionContribute a review