我们提出了 SWE-Gym,这是首个用于训练真实世界软件工程(SWE)智能体的环境。SWE-Gym 包含 2,438 个真实世界 Python 任务实例,每个实例都由一个带有可执行运行时环境的代码库、单元测试以及以自然语言描述的任务组成。我们使用 SWE-Gym 训练基于语言模型的 SWE 智能体,在广泛使用的 SWE-Bench Verified 和 Lite 测试集上,解决率最高实现了 19 个百分点的绝对提升。我们还通过在从 SWE-Gym 采样的智能体轨迹上训练验证器,对推理时扩展进行了实验。当与我们经过微调的 SWE 智能体结合时,我们在 SWE-Bench Verified 和 Lite 上分别取得了 32.0% 和 26.0% 的成绩,反映出开放权重 SWE 智能体的全新最先进水平。为促进进一步研究,我们公开发布了 SWE-Gym、模型和智能体轨迹。
英文摘要:
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.
Satori-SWE: Evolutionary Test-Time Scaling for Sample-Efficient Software Engineering
Singapore University of Technology and Design(新加坡科技设计大学);MIT(麻省理工学院);UMass Amherst(马萨诸塞大学阿默斯特分校);Harvard(哈佛大学);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);IBM Research(IBM研究院)
SWE-Marathon: Can Agents Autonomously Complete Ultra-Long-Horizon Software Work?
Abundant;Zenity;Harvard University(哈佛大学);University of Waterloo(滑铁卢大学);Gujarat Technological University(古吉拉特技术大学);Warping;Stanford University(斯坦福大学);UNC-Chapel Hill(北卡罗来纳大学教堂山分校);Independent(独立);Refresh;Soleda AI;Near AI;Georgia Tech(佐治亚理工学院);Comenius University in Bratislava(布拉迪斯拉发Comenius大学);UC San Diego(圣地亚哥大学);BenchFlow;UC Santa Barbara(圣巴巴拉大学)