TensorX
返回文献探索

Paper · arXiv 2412.21139

Training Software Engineering Agents and Verifiers with SWE-Gym

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

26 upvotesDecember 30, 2024arXiv 预印本
AI 摘要

An environment for training software engineering agents using real-world Python tasks and language models achieves state-of-the-art performance on SWE-Bench.

language modelSWE agentsSWE-GymSWE-Bench VerifiedSWE-Bench Liteagent trajectoriesinference-time scalingverifiers

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Training Software Engineering Agents and Verifiers with SWE-Gym | TensorX