An exceptionally reproducible audit: every Table 1 and Table 2 number regenerates exactly. However, the headline hack and false-reject figures are largely set by construction, the training study has too little reward signal (about 89% of GRPO groups have zero advantage) to say whether CF rewards help, and the Table 2 intervals overstate precision by about 2x.
Soundness
3/4
Presentation
3/4
Contribution
2/4
Confidence
4/5
✓ 19 confirmed✕ 1 discrepancy
Summary
The paper argues that execution-match rewards for text-to-SQL RL, which pay a query when its result matches the reference on one database, can be satisfied by buggy queries and by reward hacks when the question touches a small slice of the data. It proposes a counterfactual-database (CF) reward: the final query is also run on two (rarely three) hidden, code-generated copies of the database, each made by one rule edit targeted at a bug family (duplicates, fan-out, missing filters, superseded records). The strict form pays only if all results match; the mean form pays the share matched.
On 1,302 synthetic audit items from an 8-table retail generator, the strict CF reward cuts full pay to 1,814 author-written mutants from 29.5% to 16.8% and to 2,839 constructed hacks from 54.1% to 1.9%, with 0 of 2,847 correct queries rejected. The paper also shows that public rewards share the hole: an AgentTune reward exploit, a SkyRL-style set-match comparator, and 8.1–14.9% lucky EX passes among eight published Spider systems.
A three-seed GRPO study on a 3.35B model (Tiny Aya, LoRA, 60 steps) finds that training on the mean-form CF reward does not improve in-domain verified accuracy (8.4% vs 11.7% for the single-DB reward). The authors attribute this to the two rewards disagreeing on only 5–7% of rollouts. They report +1.6 Spider test-suite points, note that one seed reverses both signs, and conclude that single-seed reward comparisons mislead.
Strengths
The audit reproduces exactly from the released generator
Table 1; Table A-mutants; §4 paras 1–3; App. D
We regenerated the 1,302 audit items with python -m sqlcf.cf (build errors 0) and graded them with an independently written executor and comparator. Every Table 1 cell reproduces within 0.05 pp: for example, 535/1814 = 29.49% (claimed 29.5%), 305/1814 = 16.81% (16.8%) and 54/2839 = 1.90% (1.9%). All 13×4 cells of Table A-mutants also reproduce (check 04), as do the family-blind variant (17.23% / 2.29% / 0 of 3,017; check 17), the 29.2% / 0.8% bug-visibility numbers (check 11) and the compute-matched 7.8% (check 17). Few RL-reward papers can be rerun this completely on CPU.
Released trajectories allow independent re-grading of the training results
All 11 test-trajectory files (2,648 samples each) re-grade to Table 2 within 0.1 pp (e.g. GRPO-B 12.69% vs 12.7%, GRPO-C 8.95% vs 9.0%). The re-grades also reproduce the per-seed values and the pooled C−B −3.22 [−4.73, −1.80], which the paper reports as −3.2 [−4.7, −1.8] (check 06). The seed-level t intervals (check 07), the curriculum and DPO comparisons (check 19) and the authors' own check_numbers.py (67/67, check 20) are also consistent. Tables are generated from results/ by script, which removes a whole class of transcription errors.
Honest reporting of a null training result
Abstract; §4 'The CF reward did not train a better agent'; Table A-seeds
The paper reports that the CF-trained policy is not better in-domain, uses three seeds with seed-level t intervals, and states that one seed reverses both signs. It also flags that the blind relative cut (43%) misses the pre-registered 50% target and that the Spider test was not pre-registered. Its methodological lesson, that single-seed reward comparisons mislead, is directly supported by the per-seed C−B values −3.7 / +1.2 / −7.2, which we re-derived.
A clean audit design with useful controls
§2 'Audit'; Table 1; §4 para 3
The audit separates correct candidates, realistic mutants (13 types) and constructed hacks. It distinguishes blind copy selection (the headline) from informed selection (used in training), and labels the informed result an optimistic bound. A compute-matched single-DB control at 150 customers separates the effect of more data from the effect of counterfactual edits. This is the right set of controls for a reward-robustness claim.
Concrete, reproduced exploit in a public framework
Table 2 Wilson intervals ignore that the 8 samples per question are correlated (confirmed discrepancy)
major · §3 Evaluation; Table 2 caption
Table 2 reports Wilson 95% intervals over 331×8 samples as if samples were independent. From the per-sample grades we find design effects of 3.7–5.9 for every trained policy. Question-clustered bootstrap intervals are 1.9–2.4× wider: GRPO-B 12.7% has Wilson [11.5, 14.0] vs clustered [9.9, 15.7]; GRPO-C 9.0% has [7.9, 10.1] vs [6.8, 11.3]; SFT 9.4% has [8.4, 10.6] vs [7.3, 11.9] (check 08). The paired differences in Table A-seeds use a question-level bootstrap and are unaffected, so the conclusions do not flip. However, the single-policy intervals in the main results table overstate precision, and readers comparing overlapping intervals (e.g. SFT vs GRPO-C) would be misled. Fix: report question-clustered intervals (or per-question means with a bootstrap over questions) throughout Table 2 and Table A-Spider.
The training study has too little reward signal to test whether CF rewards help
major · Abstract; §3 Training; §4 'Likely cause: weak signal'; App. D replay; Table 2
The replay numbers imply that about 89% of GRPO groups in the main runs carry zero advantage under either reward (26–28 of 240 groups have signal; check 09). Only 178 of 445 GRPO prompts (40%) have any mutant the single-DB reward would mistake for correct (check 15). Training is 60 steps × 4 prompts, i.e. less than one pass over the prompts. Train prompts pass D0 in 84–88% of rollouts, while the test set sits at 9–12% verified, and 214/331 test items (65%) are F4, a family absent from training (check 10). The all-template SFT checkpoint, not reported in Table 2, already reaches 11.74% verified, the same as pooled GRPO-B (11.67%; check 06). So the null in-domain result says little about the CF reward itself, and the abstract's causal 'because the two rewards disagreed on only 5–7% of rollouts' is a plausible explanation, not a tested one. Fix: frame the training result as underpowered for the reward question. Report the all-template SFT baseline. If possible, run a setting where the rewards disagree more often (harder prompts, more steps, more prompts with base-blind mutants).
The headline hack and false-reject figures are largely determined by construction
major · Abstract; Table 1; App. A item rule (2); App. B 'Constructed hacks'
Of the 2,847 'correct' queries, 1,302 are the reference itself. The other 1,545 author paraphrases are required to equal the reference on every pool DB at build time (build_report n_errors = 0), so 0 of 2,847 holds by construction (check 02). For the 54.1% → 1.9% hack figure: the 1,302 empty hacks are never paid by any reward, and the 1,302 literal hacks are paid by any single-DB reward and by no answer-changing copy by design. Hence 54.14% = (1302+235)/2839 exactly, and the aggregate depends on the chosen mix (check 03). On the only non-trivial hack type, hard-coded IDs, the blind CF reward still pays 54/235 = 23.0%, and informed copies (used in training) pay 58/235. Our own out-of-sample rewrites partly rescue the false-reject claim (strength above), but the abstract should not present these two numbers as measured robustness. Fix: report per-hack-type rates in Table 1, and state in the main text that the 2,847 correct queries are validated against the reference on all copies.
Questions for the authors
How large is the CF-vs-single-DB gap when training is restricted to prompts that have at least one base-blind mutant (178 of 445 here)? Does the null in-domain result persist when most GRPO groups carry a non-zero advantage difference?
Why is the all-template SFT checkpoint (11.74% verified in results/e4_eval.json, equal to pooled GRPO-B) not reported in Table 2? What does it imply for the value of the GRPO stage itself?
What are the blind CF pay rates on mutants when the base database is enlarged (e.g. 150 customers) and copies are added on top? Does the combination dominate both components?
Has the CF reward been tested on queries written by models on a real benchmark schema (e.g. BIRD dev with generated copies), where the bug distribution is not the authors' taxonomy?
With the same copy count on the same items, do family-blind copies match targeted copies on mutants (16.8%) and hard-coded-ID hacks (23.0% paid)?
Verification
We ran 20 checks with scripts in work/verify/: 19 confirmed and 1 discrepancy. We regenerated the audit, test, training and family-blind splits with the released generator and wrote our own executor, comparator and grader. With these we reproduced Table 1, Table A-mutants, Table 2, Table A-seeds, the curriculum/DPO comparisons, bug-visibility rates, the compute-matched control and the 54/103 test-copy catch rate, all within 0.1 pp. We also reproduced the AgentTune exploit at the pinned commit. The one discrepancy is statistical: Table 2's Wilson intervals ignore within-question correlation and are about 2× too narrow. Several confirmations come with substantive caveats: the false-reject and hack numbers are largely fixed by construction; the patched AgentTune reward is still hackable with a column tautology; about 89% of GRPO groups carry no signal. Spider numbers and the training-mechanism summaries could only be checked for internal consistency, because Spider/test-suite databases are external and raw rollout logs are not released.
19Confirmed
1Discrepancy
✓ConfirmedAbstract; §1 contribution (i); §4 paras 1-2; Table 1
[7] Lyngkhoi et al., AgentTune: A unified training lifecycle for tool-using LLM agents, arXiv e-prints, pages arXiv-2610, 2026
Incomplete identifier: the arXiv number is truncated to 'arXiv-2610' (a Google Scholar export artefact). The work exists as arXiv:2610.13335; the full identifier should be given, since this is the framework whose reward exploit is a headline contribution.
[3] Cao et al., SkyRL-v0 (2025) and [9] Griggs et al., Evolving SkyRL into a highly-modular RL framework (Notion blog, 2025)
Cited as the source of the 'SkyRL-SQL' set-match reward (§4 para 1, App. D), but neither entry is the SkyRL-SQL release; the bibliography file contains a SkyRL-SQL entry (liu2025skyrlsql) that is never cited. Neither entry has a resolvable identifier or URL. The claim that SkyRL-SQL's reward is a BIRD-style set match was not verified against SkyRL's code in this review.
[19] Salamanca et al., Tiny Aya: Bridging scale and multilingual depth, COLM 2026
Exists (arXiv:2603.11510); no identifier or URL is given in the printed reference (the .bib has an OpenReview URL that is not rendered). Minor.
[11] He et al., HardTestGen, ICLR 2026
Exists (arXiv:2505.24098); venue/page metadata could not be confirmed by Crossref. Minor.
Suggestions
Replace the Wilson intervals in Table 2 and Table A-Spider with question-clustered intervals (bootstrap over questions).
Report Table 1 hack rates per hack type (literal, empty, hard-coded IDs) and state in the main text that correct paraphrases are validated against the reference on every copy at build time.
Add the all-template SFT checkpoint to Table 2 and present the GRPO comparison as underpowered (≈89% zero-advantage groups), not as evidence that CF rewards do not help.
Run a training arm on prompts filtered to those with base-blind mutants, or with more steps, so that the two rewards actually disagree on a meaningful share of groups.
Compare targeted and family-blind copies at equal copy count on the same items, and evaluate a larger base DB combined with CF copies.
Qualify 'fixed upstream' for AgentTune: the patch still pays WHERE customer_id > 0 + always 'yes' as much as honest SQL; recommend enabling result matching by default.
Put the seed-level Spider interval [−3.2, +6.4] next to the +1.6 in the abstract.
Fix the AgentTune arXiv identifier and cite the SkyRL-SQL release directly; release the runs/*_rewards.jsonl logs so the mechanism numbers can be re-derived.
Redraw or relabel Figure 1 so the example's provenance (test item, family-blind resample copy) is accurate.
Scope of this review
We did not retrain any model (no GPU; 60-step GRPO runs on a 3.35B model were out of budget), so the training results were checked by re-grading the released test trajectories, not by reproducing training. Spider and the Zhong et al. test-suite databases are not redistributed, so Spider EX/TS values and the eight published systems were checked only for arithmetic and internal consistency. The raw GRPO reward logs (runs/) and trained adapters are not in the repository, so the mechanism figures (pass-D0 rates, lucky shares, replay group counts) were checked against the authors' summary JSONs only. The 5,000-customer bug-visibility value (0.24%) and the LeakySQL pilot data were not rebuilt. We did not verify against SkyRL's code that SkyRL-SQL's reward is a set match. The paper discloses LLM assistance and self-funding; we found no integrity concerns or instructions aimed at reviewers in the materials.
We cloned AgentTune at d4db4c1 and reproduced the exploit: honest SQL scores 3.10 on all 360 yes/no items, while WHERE 1 = 1 plus always 'yes' scores 3.10 on yes items, −2.0 on no items and 2.448 overall; the authors' patch scores 2.20 (check 13). Together with the 8.1–14.9% lucky EX passes among published Spider systems (all arithmetic reproduces, check 05), this shows that the problem is not specific to the authors' setup. The engineering notes in App. C (multi-turn token drop, bf16 LoRA-merge identity, evaluation seed bug) are practically useful.
Low false-reject rate holds on out-of-sample equivalent SQL
Table 1 'Correct' column; App. A item rule (2)
The paper's 0 of 2,847 is enforced at build time (see weaknesses). We therefore wrote 21 independent equivalent or edge-case formulations covering all 18 templates (EXISTS/IN, window functions, CTEs, date ranges). The strict CF reward rejected 0 of 1,409 equivalent rewrites on blind copies and 0 of 393 on test copies. Of 306 edge-case readings it rejected only 1 (TOTAL() returning 0.0 vs NULL on an emptied copy). This supports the claim that hidden copies rarely hurt correct SQL on this schema (check 02).
The mutant reduction is modest, uneven, and 'about as well' compares unlike settings
major · Abstract; §4 paras 2–3; Table A-mutants
The blind CF reward reduces mutant pay from 29.5% to 16.8%, a 43% relative cut. The paper honestly flags this as below its 50% target. The cut is very uneven: all_customers stays at 40.0% → 40.0%, missing_refunds at 37.7%, and ignore_adjustments at 36.0% (check 04). The compute-matched single DB with 150 customers pays only 7.8% of mutants (93/1,199, check 17), better than both CF variants on mutants, though it pays every literal and ID hack. The family-blind variant 'doing about as well' (17.2% / 2.3%) uses 4 generic copies against 2 targeted ones, on a different item set (1,378 vs 1,302 items). Fix: state the per-family weaknesses and the size-vs-CF trade-off in the abstract and §4. Compare family-blind and targeted copies at equal copy count on the same items, and consider combining a larger base DB with CF copies.
The Spider gain is presented more firmly than the evidence allows
minor · Abstract; §4 'On Spider'; Table A-seeds
The abstract states 'on Spider it gained 1.6 points'. That figure rests on a question-level bootstrap [+0.8, +2.3]. The seed-level interval is [−3.2, +6.4] (check 07), the per-seed values are +1.9 / −0.5 / +3.3, and the test was not pre-registered. These caveats are in §4 and Table A-seeds but not in the abstract. Fix: give the seed-level interval next to the +1.6 in the abstract, or describe it as not significant across seeds.
'Fixed upstream' overstates the AgentTune patch
minor · §1 contribution (ii); App. B 'AgentTune exploit'
Under the patched AgentTune reward, WHERE customer_id > 0 plus always 'yes' still scores 3.10 on every yes item, identical to honest SQL (2.448 overall; check 13). The patch blocks only literal tautologies, and closing the hole requires the opt-in result-match term (1.20 vs 5.10 in App. B). Fix: say the patch is partial and that result matching must be enabled.
One author-designed bug model throughout, on one synthetic schema
minor · §2; §3 Data; App. A Table 3; §5
Templates, mutants, CF rule edits and the family-blind test generator all come from the same authors' bug taxonomy on one 8-table retail schema (Table 3, sqlcf/templates.py). 'Blind' refers only to copy selection, not to the bug model. The hand audit covers only 48 wrong model trajectories (Table 4). As a result, the audit cannot show how often copies catch the errors that real policies make on real schemas. §5 acknowledges the single schema. Adding an audit on model-generated wrong queries, or on BIRD/Spider databases with mechanically generated copies, would substantially strengthen contribution (i).
Mechanism numbers depend on unreleased logs, and 'in every run' is too broad
minor · §4 'Likely cause: weak signal'; App. D 'Monitoring the gap'; Figure 2
The 84–88% D0 pass rate, the 5–8% lucky share and the 26–28/240 signal groups come from summary JSONs; runs/*_rewards.jsonl is not released, so they cannot be re-derived (check 09). These numbers hold for the six main-pair runs only. The curriculum runs have 63.1% and 47.2% lucky rollouts, so 'in every run' should be restricted, and seed 2 (4.8%) falls slightly below 'about 5–7%'.
Small presentation inconsistencies
minor · Figure 1; §1; App. A; App. D 'Other results'; Related work
(a) The Figure 1 example is real but comes from a test item (S_s502, curriculum single-DB policy) and the family-blind test 'resample' copy; it is drawn as D1, an answer-changing training copy (check 18). (b) The voting baseline 13.9% is GRPO-B's first-sample accuracy, not the 12.7% 8-sample mean in Table 2 (check 14); say so. (c) '401 of 420 base-blind training mutants caught' counts all 907 training items; on the 445 GRPO prompts it is 199/206 (check 15). (d) 'Pre-registered' is claimed without a registry link or timestamp. (e) The related-work paragraph is very short given that the core idea moves test-suite checking (Zhong et al. 2020) and generated grading data into the reward. A sharper statement of what is new relative to those works would help.
Bibliography problems for load-bearing references
minor · References [3], [7], [9]
The AgentTune arXiv identifier is truncated to 'arXiv-2610' (it is arXiv:2610.13335). The SkyRL-SQL reward is cited to SkyRL-v0 and a Notion blog post, while the .bib entry for SkyRL-SQL is never cited. Neither of these references has an identifier or URL. Both frameworks are central to contribution (ii).
Test split: 331 items from 7 templates unseen in training, 214 of them F4; 4 family-blind copies per item; test copies catch 54 of 103 base-blind mutants
331 items, 7 templates, families F1 36 / F2 36 / F3 45 / F4 214, 4 copies each; 103 of 474 mutants pass D0, 54 of them are caught by a copy (stored flags and re-execution agree). Copies are weak for ignore_adjustments (4/28 caught), confirming the authors' caveat that 'verified' accuracy is lenient; 65% of the test set is F4, a family absent from training.
Regenerated test split with the released generator and counted; re-executed every mutant on D0 and on the 4 copies with an independent comparator
Share of mutants passing the single-DB check: 29.2% at 50 customers, 0.8% at 500, 0.24% at 5,000
S: 334/1144 = 29.20% (claimed 29.2%, 334/1144); M: 10/1242 = 0.81% (claimed 0.8%). The 5,000-customer value (0.24%, 3/1242 in results/e1_blind_rate.json) was not re-run.
Re-ran the E1 procedure (seeds 900-902) using the released DB generator and templates but this review's own execution, degeneracy filter and comparator; sizes S and M (L = 5,000 customers skipped for time)
Spider transfer: TS Base 12.6, SFT 29.1, B 27.9, C 29.9, cur-B 27.6, cur-C 29.7 (lucky share 18.3/24.4/26.4/23.6/28.3/25.3); pooled CF 29.3 vs single-DB 27.8 (+1.6 [+0.8,+2.3]); per seed +1.9, -0.5, +3.3; curriculum +2.1 [+0.9,+3.4]
All six Table 2 TS and lucky-share cells match (e.g. C 29.88/23.61, B 27.95/26.42); per-seed C-B +1.93/-0.53/+3.29; pooled 29.34 vs 27.77 (+1.56, stored bootstrap [+0.80,+2.33]); curriculum +2.13 [+0.87,+3.41]. Only internal consistency is established; the abstract's '+1.6 points on Spider' rests on a question-level interval while the seed-level interval [-3.2,+6.4] (check 07) includes zero.
Internal consistency of results/e13_spider_ours.json (TS = EX - lucky/4136, lucky share = lucky / EX passes, pooled = mean over seeds, bootstrap entries). Spider and test-suite databases were not available, so the 41,360 Spider trajectories were not re-executed.
AgentTune exploit: on 360 yes/no items (314 yes, 46 no) honest SQL scores 3.10 on every item; WHERE 1 = 1 + always 'yes' scores 3.10 on yes items, -2.0 on no items (2.45 overall); after the authors' patch it scores 2.20; the hole is 'fixed upstream'
Original reward: honest 3.100 on all 360 items (314 yes / 46 no); 'where 1 = 1' + yes: 3.100 yes, -2.000 no, 2.448 overall; patched: 2.20 on yes items. All as claimed. Additional finding: under the patched reward 'WHERE customer_id > 0' + always 'yes' still scores 3.10 on every yes item, identical to honest SQL (2.448 overall), so the patch only blocks literal tautologies; closing the hole needs the opt-in result-match term. 'Fixed upstream' should be qualified.
Cloned AgentTune at the pinned commit d4db4c1, loaded its built-in sql.py reward (correctness + query + structure) and a copy patched with the repo's agenttune-sql-reward-hardening.patch; rebuilt the 360 yes/no items from the *_list templates on the 5 regenerated audit base DBs; scored honest and hack trajectories; also probed a column-referencing tautology
Secondary numbers: voting raises GRPO-B from 13.9% to 16.9%; Command A 81.0% at 4.24/1kvsGRPO−B0.061/1k at 12.7% -> about 11x cheaper per verified answer; hand audit 48 wrong trajectories (16 per policy), 18 lucky; LeakySQL cache reads 16.9/2.1/1.5% and verified 8.1 -> 15.4/12.9
GRPO-B sample-0 verified = 13.9% (so the voting baseline is the first-sample accuracy, not Table 2's 12.7% 8-sample mean; vote_single 16.9%). Cost per verified answer: Command A 5.24vsGRPO−B0.48 per 1k, ratio 10.9x. Hand audit: 48 rows, 16/16/16, 18 lucky, Table 4 columns sum to 48/18, and all 48 are wrong with the same lucky flag under this review's grader. LeakySQL values match leaky_eval.json (summary only; leaky data/runs not rebuilt).
Sample-0 accuracy and lucky flags from this review's independent grades (check 06); arithmetic on results/e5_roi.json, leaky_eval.json, a4_selfconsistency.json, manual_audit.jsonl
Informed training copies: 442 of 445 GRPO prompts got two copies, only 202 of the 893 copies kill a mutant that passes D0; on F1-F3 the informed set catches 401 of 420 base-blind training mutants
907 train items, 445 GRPO prompts (F1 195 / F2 96 / F3 154), copies {2: 442, 3: 3} = 893, 202 copies kill a base-blind mutant, 178 prompts have one. 401/420 is over all 907 training items; on the 445 GRPO prompts it is 199/206. Only 178 of 445 GRPO prompts (40%) have any mutant that the single-DB reward would mistake for correct, so most prompts cannot make the two rewards differ.
Regenerated the training split (seeds 101-106; 907 items, errors 0); GRPO prompts = items on bases other than the SFT bases S_s101-103 (train.py); recounted copies, kills and caught base-blind mutants with this review's own executor/comparator
References exist and match their cited content (26 entries)
21 of 26 resolve by identifier or exact title; of the 5 unresolved, AgentTune (arXiv:2610.13335, truncated in the bibliography), HardTestGen (arXiv:2505.24098) and Tiny Aya (arXiv:2603.11510) exist; the two SkyRL entries (SkyRL-v0, Notion blog) have no identifiers and are cited for the SkyRL-SQL reward although a SkyRL-SQL entry in the .bib is unused. No fabricated references found. Issues listed in work/ref_issues.json.
tools/check_refs.py on work/references.json (Crossref + arXiv), plus arXiv title searches for entries without identifiers; spot-read of how the AgentTune, SkyRL and Spider/test-suite references are used
Copies from a family-blind generator do about as well: 17.2% of mutants and 2.3% of hacks paid, 0 of 3,017 correct rejected; compute-matched single DB (150 customers) pays 7.8% of mutants
1,378 items (92 degenerate dropped), 4 copies each. Correct 0/3,017 rejected; mutants 29.53% single-DB -> 17.23% CF; hacks 54.23% -> 2.29%. Compute-matched: 93/1199 = 7.76% of mutants pass. Caveat: the family-blind variant grades on 4 copies vs 2 in the blind headline and is a different item set (1,378 vs 1,302 items), so 'as well' compares 4 generic copies against 2 targeted ones; the larger single DB (7.8%) actually beats both CF variants on mutants, while losing on hacks.
Built the family-blind audit variant with the released generator (test-generator copies only: resample, clone, status flip, tier relabel; seeds 301-305) and graded it with this review's own executor and comparator (gold recomputed, hacks per App. B); compute-matched single DB re-run with the E1 procedure at 150 customers (seeds 900-902) with own comparator
Motivating example (§1, Figure 1): the agent counted distinct orders for 'How many distinct customers bought a grocery product in 2025?'; both counts are 10 on D0; on a resampled copy the reference is 12 and the agent says 15
Found in traj_B_cur.jsonl (curriculum single-DB policy), item F1_category_buyers|grocery|2025|S_s502, sample 0: base 10 vs 10; t_resample 15 vs 12; other copies agree. The example is real, but it comes from a test item and the family-blind test 'resample' copy, whereas Figure 1 shows it as D1, an answer-changing training copy made 'one rule edit per bug family'. Minor presentation mismatch.
Searched all released test trajectories for that question with a final query counting DISTINCT order_id and executed it and the reference on D0 and on each test copy of the regenerated test split
Curriculum C-B -0.79 [-1.81, +0.19]; DPO std 9.67%, DPO cf 8.08%, difference -1.59 [-2.68, -0.57] (bootstrap endpoints within Monte Carlo noise of the claimed interval).
Curriculum from this review's independent per-sample grades (check 06); released DPO trajectories re-graded with the same independent grader on the regenerated test split; paired bootstrap over 331 questions (4000 reps)
README: 'paper/scripts/check_numbers.py checks every number in the text against results/'
67/67 numbers match; the repo and arXiv main.tex are identical apart from comments and blank lines. This only establishes text-vs-JSON consistency; its docstring notes that some numbers (replay 102/1440, manual audit, AgentTune 2.20, 54/103) are checked by hand. Those were independently re-derived in checks 09, 10, 13 and 14.
Ran the authors' checker on a temp copy of paper/ and results/; compared the repo main.tex with the arXiv LaTeX source after stripping comments
Audit headline (Table 1): single-DB strict reward pays 29.5% of 1,814 mutants and 54.1% of 2,839 hacks; set match on D0 pays 37.5% of mutants; strict CF reward with blind copies pays 16.8% of mutants and 1.9% of hacks; set match on blind copies 27.2%; informed copies 1.5% / 2.0%; 0 of 2,847 correct queries rejected
Mutants: set D0 680/1814 = 37.49%, R~ 535 = 29.49%, set blind 493 = 27.18%, R blind 305 = 16.81%, R informed 27 = 1.49%. Hacks: 1537/2839 = 54.14% for both single-DB comparators, 54 = 1.90% blind, 58 = 2.04% informed. Correct: 0/2847 rejected under every reward. All within 0.05 pp of Table 1. Counts: 1,302 items, 1,814 mutants, 2,839 hacks, 2,847 correct candidates, as stated.
Regenerated the 1,302 audit items with the released generator (seeds 301-305, size S; build log: 1302 items, drops degenerate 114 / no changing-or-preserving copy 54, errors 0). Independent audit code: gold recomputed on every DB, hacks rebuilt from the App. B description, own set and strict comparators, blind (dbs_random) and informed (dbs) copy sets
The CF reward rejects 0 of 2,847 correct queries, i.e. hidden copies do not hurt correct SQL
Part A: 2,847 = 1,302 references (the gold query itself) + 1,545 author paraphrases; build_report n_errors = 0 means every paraphrase was required to equal the reference on every pool DB, so the 0/2,847 holds by construction and carries little evidential weight on its own. Part B: the review's own equivalent rewrites were rejected 0/1,409 (blind), 0/1,409 (informed) and 0/393 (test copies); edge-case variants 1/306 (a TOTAL() query returning 0.0 where the reference returns NULL after the drop_customers copy empties the set) and 0/62 on test copies. So the low false-reject rate holds for out-of-sample equivalent SQL on this schema; the remaining risk is NULL-vs-0 conventions on copies that empty a result.
Part A: composition of the 2,847 correct candidates and build_report.json of the regenerated audit split. Part B: 21 alternative formulations written for this review (not taken from the repo), covering all 18 templates: 'EQ' = equivalent rewrites (EXISTS/IN instead of joins, date ranges, strftime/LIKE, ROW_NUMBER windows, CTEs, correlated LIMIT 1 subqueries) and 'AMB' = defensible edge-case readings (COALESCE/TOTAL for empty sums, top-3 without id tie-break, status IN list, DISTINCT). Graded with strict R on D0 + blind copies, D0 + informed copies, and the 4 family-blind test copies.
Hack pay falls from 54.1% to 1.9%; the single-DB reward pays every literal and hard-coded-ID query; every paid CF hack is a hard-coded-ID query (54 of 235); literal smuggling 0 of 1,302
literal 1302/1302 paid by R~, 0 by R blind; empty 0/1302 under every reward; hard-coded IDs 235/235 by R~, 54/235 (23.0%) by R blind and 58/235 by R informed. 54.14% = (1302+235)/2839 and 1.90% = 54/2839 exactly. The aggregate is set by the constructed mix: dropping the never-paid empty hacks gives 100% -> 3.5%; on the only non-trivial hack type (hard-coded IDs) the CF reward still pays 23.0%, and informed copies (used in training) pay slightly more of them than blind ones.
Per-hack-type tallies from this review's independent audit rerun (check 01), plus re-weighting under other hack mixes
Table A-mutants per-type n and pay rates (e.g. no_distinct 100.0/28.6/7.4, missing_refunds 54.5/54.5/37.7, all_customers 40.0/40.0/40.0) sum to 1,814 and to the Table 1 aggregates
n sums to 1,814; weighted columns 37.49 / 29.50 / 16.82 vs 37.5 / 29.5 / 16.8; all 13 rows x 4 columns reproduced exactly by the rerun. Note: the blind CF reward does not reduce all_customers at all (40.0% -> 40.0%), and still pays 36.0% of ignore_adjustments and 37.7% of missing_refunds.
n-weighted averages of the printed table; per-type rates from this review's independent audit rerun (check 01)
Wilson 95% intervals in Table 1 and Table A-Spider; published Spider systems: EX passes failing a test-suite DB 8.1-14.9% (e.g. Claude 124/833 = 14.9 [12.6, 17.5]); TS = (EX passes - lucky)/1034
All 9 Table 1 cells reproduce (e.g. 535/1814 = 29.49 [27.44,31.63] vs 29.5 [27.4,31.6]; 54/2839 = 1.90 [1.46,2.47] vs 1.9 [1.5,2.5]); all 8 Spider systems reproduce EX, TS and lucky share within 0.05 pp. Arithmetic consistency only; the underlying published predictions and test-suite DBs were not re-executed.
Recomputed Wilson intervals from the integer counts implied by rate x n (Table 1) or printed counts (Table A-Spider); recomputed EX and TS from counts; tolerance 0.1 pp
Test-set training results (Table 2, Table A-seeds): seed-0 verified Base 0.9, SFT 9.4, GRPO-B 12.7, GRPO-C 9.0, cur-B 7.1, cur-C 6.3 (single-DB 1.4/14.5/17.8/14.0/11.6/10.6; lucky 0.5/5.1/5.1/5.1/4.4/4.3); per-seed B 12.7/7.6/14.7, C 9.0/8.8/7.6; pooled B 11.7 vs C 8.4, C-B -3.2 [-4.7, -1.8]
Every Table 2 cell reproduced within 0.1 pp (e.g. B 12.69 [11.5,14.0] vs 12.7 [11.5,14.0]; C 8.95 vs 9.0; cur-C 6.34 vs 6.3; lucky 5.14/5.10). Per seed B 12.69/7.59/14.73, C 8.95/8.84/7.55. Pooled B 11.67, C 8.45, C-B -3.22 [-4.73, -1.80]. Per-seed C-B -3.74/+1.25/-7.18, B-SFT +3.25/-1.85/+5.29, C-SFT -0.49/-0.60/-1.89 (Table A-seeds within 0.05). Stored gold = recomputed gold on all 1,655 item-DB pairs. Side finding: the all-template SFT checkpoint ('sft', not in Table 2) reaches 11.74% verified, equal to pooled GRPO-B (11.67%); test set is 214/331 F4.
Regenerated the 331-item test split with the released generator (seeds 501-503, --test), recomputed gold by executing gold_sql on all 5 DBs, and re-graded all 11 released trajectory files (2,648 samples each) with an independently written grader (own final-SQL extraction, sandboxed sqlite execution, multiset/column-permutation comparator); paired bootstrap over questions for pooled C-B.
C-B -3.23 [-13.71,+7.25]; B-SFT +2.20 [-7.00,+11.40]; C-SFT -1.00 [-2.94,+0.94]; Spider +1.57 [-3.21,+6.34]; SD 4.22. All within rounding. Per-seed values themselves were re-derived from trajectories in check 06.
Student-t (df=2, t=4.303) intervals and SDs recomputed from the per-seed values printed in Table A-seeds (tolerance 0.15 for 1-dp rounding)
Table 2 reports Wilson 95% intervals for verified accuracy over 331 x 8 samples (e.g. GRPO-B 12.7 [11.5, 14.0]) as the uncertainty of each policy's accuracy
The Wilson intervals are arithmetically correct (check 06) but the 8 samples per question are strongly correlated: design effect 3.7-5.9 for all trained policies, so clustered 95% intervals are 1.9-2.4x wider, e.g. GRPO-B 12.7: Wilson [11.5, 14.0] vs clustered [9.9, 15.7]; GRPO-C 9.0: [7.9, 10.1] vs [6.8, 11.3]; SFT 9.4: [8.4, 10.6] vs [7.3, 11.9]. The intervals overstate the precision of single-policy accuracies. (Paired differences in Table A-seeds use a question-level bootstrap and are unaffected.)
From the per-sample grades of check 06, question-clustered bootstrap (resample 331 questions, 4000 reps) and design effect vs the binomial variance
Mechanism: in every run 84-88% of rollouts passed D0 and 5-8% of passes were lucky, so the rewards disagreed on about 5-7% of rollouts; seed-0 R~ lucky share 10.7% -> 5.9%; monitor and replay numbers (28 vs 26 of 240 groups; curriculum 105 vs 53)
Main-pair runs: pass-D0 84.3-87.7%, lucky share of passes 5.5-8.3%, lucky rollouts 4.8-7.2% (seed 2 slightly below 'about 5-7'). Seed-0 10.7 -> 5.9 exact; monitor values (10.4->7.5, 13.3->5.8, 58.8->72.9, 52.9->53.3) and replay counts (28/26, 105/53) match the JSON. Caveats: 'in every run' holds only for the six main-pair runs (curriculum runs: 63.1% and 47.2% lucky rollouts); replay implies 88.8-89.2% of main-run GRPO groups carry zero advantage under R~, i.e. the training comparison has very little signal. Confirmation is against the authors' summaries only.
Recomputed from released summaries results/figure3_training_rewards*.json and results/a1_mechanism.json; raw rollout logs are not released, so the summaries themselves could not be re-derived