arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.13023cs.SEcs.AIcs.CL
收藏

daVinci-Env:大规模开放软件工程环境合成

daVinci-Env: Open SWE Environment Synthesis at Scale

Dayuan Fu, Shenyu Wu, Yunze Wu, Zerui Peng, Yaxing Huang, Jie Sun, Ji Zeng, Mohan Jiang, Lin Zhang, Yukun Li, Jiarui Hu, Liming Liu, Jinlong Hou, Pengfei Liu

AI总结:

本文提出OpenSWE,一个大规模透明的软件工程代理训练框架,包含45320个可执行Docker环境,通过多代理合成管道和质量过滤流程,实现高效学习和高质量训练。

摘要:

训练具备能力的软件工程(SWE)代理需要大规模、可执行且可验证的环境,提供动态反馈循环以进行迭代代码编辑、测试执行和解决方案优化。然而,现有的开源数据集在规模和仓库多样性方面仍然有限,而工业解决方案则缺乏透明度和未释放的基础设施,这为大多数学术研究小组构成了障碍。我们提出了OpenSWE,这是最大的完全透明的SWE代理训练框架,包含45,320个可执行的Docker环境,跨越超过12.8k个仓库,所有Dockerfile、评估脚本和基础设施均完全开源以确保可重复性。OpenSWE通过跨64节点分布式集群部署的多代理合成管道构建,自动化了仓库探索、Dockerfile构建、评估脚本生成和迭代测试分析。除了规模之外,我们还提出了一种以质量为中心的过滤流程,该流程表征了每个环境的固有难度,过滤掉无法解决或不够具有挑战性的实例,并只保留那些最大化学习效率的实例。通过891,000美元用于环境构建和另外576,000美元用于轨迹采样和难度意识性整理,整个项目代表了约147万美元的总投资,产生了约13,000条经过整理的轨迹,来自大约9,000个质量保证的环境。广泛的实验验证了OpenSWE的有效性:OpenSWE-32B和OpenSWE-72B在SWE-bench Verified上分别达到62.4%和66.0%,在Qwen2.5系列中建立了SOTA。此外,专注于SWE的训练带来了显著的领域外改进,包括在数学推理上提高12分,在科学基准上提高5分,而不会降低事实记忆。

英文摘要:

Training capable software engineering (SWE) agents demands large-scale, executable, and verifiable environments that provide dynamic feedback loops for iterative code editing, test execution, and solution refinement. However, existing open-source datasets remain limited in scale and repository diversity, while industrial solutions are opaque with unreleased infrastructure, creating a prohibitive barrier for most academic research groups. We present OpenSWE, the largest fully transparent framework for SWE agent training in Python, comprising 45,320 executable Docker environments spanning over 12.8k repositories, with all Dockerfiles, evaluation scripts, and infrastructure fully open-sourced for reproducibility. OpenSWE is built through a multi-agent synthesis pipeline deployed across a 64-node distributed cluster, automating repository exploration, Dockerfile construction, evaluation script generation, and iterative test analysis. Beyond scale, we propose a quality-centric filtering pipeline that characterizes the inherent difficulty of each environment, filtering out instances that are either unsolvable or insufficiently challenging and retaining only those that maximize learning efficiency. With $891K spent on environment construction and an additional $576K on trajectory sampling and difficulty-aware curation, the entire project represents a total investment of approximately $1.47 million, yielding about 13,000 curated trajectories from roughly 9,000 quality guaranteed environments. Extensive experiments validate OpenSWE's effectiveness: OpenSWE-32B and OpenSWE-72B achieve 62.4% and 66.0% on SWE-bench Verified, establishing SOTA among Qwen2.5 series. Moreover, SWE-focused training yields substantial out-of-domain improvements, including up to 12 points on mathematical reasoning and 5 points on science benchmarks, without degrading factual recall.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑