Faulty test cases in SWE-Gym undermine coding agent training
Source published ·Modelwire updated
Original coverage: arXiv cs.LG ↗·How Modelwire adds context
The development
Researchers systematically audited SWE-Gym, a benchmark for training software engineering agents, and discovered that 74% of tasks unsolved by base models contain faulty test cases that incorrectly reject correct solutions. By repairing or removing these mislabeled tasks, they created a cleaner training set that improved agent performance by 2.4 to 2.7 points on held-out benchmarks at equivalent difficulty levels. This work exposes a critical data quality problem in RL training for code agents and demonstrates that benchmark integrity directly impacts downstream model capability, raising questions about the reliability of other widely-used evaluation datasets.
Modelwire’s AI-generated summary of coverage from arXiv cs.LG.
Modelwire analysis
Skeptical readOur AI-generated reading of the wider context and the next developments to watch.
The study doesn't just identify data quality problems; it reveals that current SWE-bench evaluations may have been rewarding agents for failing gracefully on broken tasks rather than solving real problems. The 2.4-2.7 point gain on cleaned data is modest and only measured on held-out tasks of equivalent difficulty, leaving open whether this translates to the real-world performance gaps documented elsewhere.
This connects directly to the pattern established in recent audits. The Decoder's workplace simulation (Nov 22) showed agents excel on isolated benchmarks but collapse in messy workflows; the dependency mismatch paper (Nov 22) exposed blind spots in how SWE-bench measures correctness; and the resolution hypothesis study (Nov 17) found that noisy evaluation metrics prevent selection from distinguishing genuine improvements. SWE-Gym's 74% fault rate suggests the noise isn't just in how we measure success—it's baked into the ground truth itself. This compounds the earlier finding that higher benchmark scores don't correlate with real work done.
If the same researchers or others apply this data-cleaning methodology to SWE-bench Verified (the supposedly curated subset) and find similarly high fault rates, that signals the problem is structural, not isolated to SWE-Gym. If cleaned-data agents then fail to outperform on the workplace simulation benchmark from Nov 22, that confirms benchmark integrity alone doesn't close the real-world capability gap.
This interpretation is generated from the summary above and the archive coverage cited below. Our methodology · Report an error
Coverage behind this analysis
These archive entries ground the connection in our analysis. They are ordered by source publication date, with links to our coverage and the original sources.
·arXiv cs.CL
Coding agents fail to update stale dependencies during edits, evading benchmark detection
Researchers auditing real-world execution traces from DeepSeek and Qwen coding agents on standard benchmarks uncovered a systematic failure mode: agents retain stale dependency assumptions across iterative edits, causing downstream logic errors that existing task evaluations fail to catch. This work exposes a critical blind spot in how coding agent benchmarks measure correctness, suggesting that current…
MentionsSWE-Gym · SWE-bench Verified · Reinforcement learning
How this coverage is produced
Modelwire uses AI to generate summaries and context from source headlines, snippets, and selected archive coverage. Automated checks do not verify every claim, and items are not routinely reviewed by a person before publication. Zacaria Solis operates the site. Read the linked source for the full evidence and report errors through our corrections process.
Modelwire summarizes, we don’t republish. arXiv cs.LG originally reported this story as “What Makes Good Data for Training Coding Agents? A Systematic Study on SWE-Gym”. The full content lives on arxiv.org. If you’re a publisher and want a different summarization policy for your work, see our takedown page.