Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Training Software Engineering Agents and Verifiers with SWE-Gym

About

We present SWE-Gym, the first environment for training real-world software engineering (SWE) agents. SWE-Gym contains 2,438 real-world Python task instances, each comprising a codebase with an executable runtime environment, unit tests, and a task specified in natural language. We use SWE-Gym to train language model based SWE agents, achieving up to 19% absolute gains in resolve rate on the popular SWE-Bench Verified and Lite test sets. We also experiment with inference-time scaling through verifiers trained on agent trajectories sampled from SWE-Gym. When combined with our fine-tuned SWE agents, we achieve 32.0% and 26.0% on SWE-Bench Verified and Lite, respectively, reflecting a new state-of-the-art for open-weight SWE agents. To facilitate further research, we publicly release SWE-Gym, models, and agent trajectories.

Jiayi Pan, Xingyao Wang, Graham Neubig, Navdeep Jaitly, Heng Ji, Alane Suhr, Yizhe Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Software Engineering Task ResolutionSWE-bench Verified
Resolution Rate23.4
63
Issue ResolutionSWE-bench Verified (test)
Pass Rate20.6
36
Software EngineeringSWE-bench Verified
Resolution Rate0.206
32
Software EngineeringSWE-bench Verified
Success Rate20.6
31
Automated Software EngineeringSWE-Bench Lite
Resolve Rate15.3
19
Software EngineeringSWE Verified
Resolution Rate20.6
17
Automated Program RepairSWE-bench Verified 500 instances
Pass@1 Rate32
16
Automated Program RepairQuixBugs-Java 40 bugs
Pass@1 Rate90
16
Automated Program RepairDefects4J 835 bugs v2.0
Pass@113.1
16
Automated Program RepairHumanEval Java (164 tasks)
Pass@1 Rate70.7
16
Showing 10 of 17 rows

Other info

Follow for update