What Makes Good Data for Training Coding Agents? A Systematic Study on SWE-Gym
Summary
A systematic study auditing reward labels in SWE-Gym finds many unsolved tasks are mislabeled due to false-negative tests, and training on corrected tasks improves coding-agent policies by 2.4–2.7 points on SWE-bench Verified and Pro, releasing SWE-Gym-Verified with 1,087 audited tasks and the full audit pipeline.
View Cached Full Text
Cached at: 11/24/26, 08:00 AM
Paper page - What Makes Good Data for Training Coding Agents? A Systematic Study on SWE-Gym
Source: https://huggingface.co/papers/2611.30207 Authors:
,
,
,
,
,
,
,
,
,
,
Abstract
Auditing reward labels in coding-agent reinforcement learning tasks shows many unsolved tasks are mislabeled, and training on corrected tasks improves policy performance on SWE-bench benchmarks.
Reinforcement learning(RL) trainscoding agentson software tasks whosehidden testsdecide the reward, yet task collections check these tests only against the reference fix. We ask what makes a task good training data, focusing on the correctness of itsreward labels. We auditSWE-Gymwith twoLLM families, and a suspected error counts only if execution reproduces it. We find that unsolved often means mislabelled: 74% of the tasks that a 9B base model never solves have a test that rejects correct fixes (a false negative), versus 20% of those it sometimes solves. We repair or remove such tasks, and the audited tasks that remain train betterpolicies. At equal size and matched difficulty, models trained on them score 2.4 and 2.7 points higher on held-out tasks fromSWE-bench VerifiedandSWE-bench Prothan models trained on the original tasks, whereas simply dropping the never-solved tasks shows no such gain. We further find that wrong patches that pass (false positives) make up about a quarter of all passing patches, and that new tests that catch a quarter of them do not change held-out scores detectably. A pass rate shows whether a task yields reward, not whether that reward is right, so thereward labelsthemselves must be checked. To this end, we releaseSWE-Gym-Verifiedwith its 1,087 audited tasks, every verdict with its executed evidence, our training sets, and the fullaudit pipeline.
View arXiv pageView PDFProject pageGitHub0Add to collection
Get this paper in your agent:
hf papers read 2611\.30207
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2611.30207 in a model README.md to link it from this page.
Datasets citing this paper1
#### Arist12/SWE-Gym-Verified Updated35 minutes ago • 203
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2611.30207 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Separating signal from noise in coding evaluations
OpenAI audited SWE-Bench Pro, a coding benchmark, and found approximately 30% of tasks are broken due to issues like overly strict tests and underspecified prompts, advising model developers to carefully examine results.
SWE-Bench Pro Verified: A Reliable Benchmark for Software Engineering Agents
SWE-Bench Pro Verified addresses reliability issues in the SWE-Bench Pro benchmark by eliminating reward hacking and improving task quality, providing a more accurate evaluation for software engineering agents.
Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?
This paper audits three performance-optimization benchmarks (GSO, SWE-Perf, SWE-efficiency) for coding agents, finding that runtime instability, scoring rules, and task coverage significantly affect reliability, and that many tasks are already solved by at least one public submission.
SWE-bench Science: Can Coding Agents Resolve Engineering Tasks in Science?
SWE-bench Science introduces a repository-level benchmark for evaluating coding agents on scientific software repair tasks, revealing failure mechanisms and mixed effects of scientific guidance.
CUA-Gym: Scaling Verifiable Training Environments and Tasks for Computer-Use Agents
CUA-Gym introduces a scalable pipeline for generating verifiable training environments and tasks for computer-use agents, addressing data scarcity. The resulting dataset and models achieve strong performance on benchmarks like OSWorld-Verified and WebArena.