Mislabeled rewards in SWE-Gym weaken coding-agent training, study finds
The authors audit SWE-Gym and find that 74% of tasks a 9B base model never solves have a test that rejects correct fixes. After repairing or removing those tasks, trained models score 2.4 and 2.7 points higher on SWE-bench Verified and SWE-bench Pro, while…
Why it matters
Anyone training coding agents with RL, or trusting SWE-style scores, should check whether the reward labels themselves are correct.
What happened
1 min readThe authors audit SWE-Gym and find that 74% of tasks a 9B base model never solves have a test that rejects correct fixes. After repairing or removing those tasks, trained models score 2.4 and 2.7 points higher on SWE-bench Verified and SWE-bench Pro, while simply dropping unsolved tasks gives no gain. About a quarter of passing patches are actually wrong; they release SWE-Gym-Verified with 1,087 audited tasks and the audit pipeline.
Our analysis
"Unsolved often means mislabelled" is a serious warning for the whole SWE-benchmark ecosystem, not only SWE-Gym. Counting only errors reproduced by execution makes the audit credible. The 2-3 point gain is modest but clean, with a proper control. Releasing the full pipeline makes it immediately usable by teams training code models.