SWE-Gym
A benchmark environment for training and evaluating software engineering agents. It provides real code repositories and tasks and supports reinforcement learning training.
Core Facts
Timeline (last 90 days)
The tasks in the original SWE-Gym only verify whether the reference fix passes, and do not audit the correctness of the tests themselves.
Even if newly added tests could catch a quarter of the false positives, the held-out set score shows no detectable change.
SWE-Gym is a large-scale training environment for software engineering agents, containing issues collected from real code repositories and their corresponding test cases, with tasks typically consisting of a problem description, a codebase snapshot, and a test suite.
A systematic audit of SWE-Gym found that a large number of tasks have incorrect reward labels.
In SWE-Gym, among the tasks that the 9B base model never solved, 74% have the false-negative problem where tests reject correct fixes.
In the tasks that the model occasionally solves, the false-negative rate is only 20%.
A model trained on audited data is 2.4 percentage points higher than a model trained on the original data on the SWE-bench Verified held-out tasks.
Simply discarding the never-solved tasks did not bring similar gains; the key lies in correcting the reward labels rather than crude filtering.
On the three benchmarks AppWorld, SWE-Gym, and DBBench, the trained policy, when returned to the original base harness, performs significantly better than baselines that only undergo policy training.
In the multiple testing problem, if each independent test produces a false positive with a 5% probability at the 5% significance level, then after 20 independent attempts the probability of at least one false positive is about 64%.
All Facts (10)
In the multiple testing problem, if each independent test produces a false positive with a 5% probability at the 5% significance level, then after 20 independent attempts the probability of at least one false positive is about 64%.
75%UnverifiedA systematic audit of SWE-Gym found that a large number of tasks have incorrect reward labels.
50%UnverifiedIn SWE-Gym, among the tasks that the 9B base model never solved, 74% have the false-negative problem where tests reject correct fixes.
50%UnverifiedIn the tasks that the model occasionally solves, the false-negative rate is only 20%.
50%UnverifiedA model trained on audited data is 2.4 percentage points higher than a model trained on the original data on the SWE-bench Verified held-out tasks.
50%UnverifiedSimply discarding the never-solved tasks did not bring similar gains; the key lies in correcting the reward labels rather than crude filtering.
50%UnverifiedEven if newly added tests could catch a quarter of the false positives, the held-out set score shows no detectable change.
50%UnverifiedSWE-Gym is a large-scale training environment for software engineering agents, containing issues collected from real code repositories and their corresponding test cases, with tasks typically consisting of a problem description, a codebase snapshot, and a test suite.
50%UnverifiedThe tasks in the original SWE-Gym only verify whether the reference fix passes, and do not audit the correctness of the tests themselves.
50%UnverifiedOn the three benchmarks AppWorld, SWE-Gym, and DBBench, the trained policy, when returned to the original base harness, performs significantly better than baselines that only undergo policy training.
50%