arXiv:2602.09892 · 中英对照阅读
Immersion in the GitHub Universe: Scaling Coding Agents to Mastery
中文速览
真实软件工程任务训练数据太少,难以覆盖不同代码库、复杂环境和可靠测试;Scale-SWE 用三个协作智能体分别搭建运行环境、生成并执行测试、撰写与测试相符的任务描述,从数百万个代码改动中筛选出可验证的任务。最终得到涵盖 5,200 个代码库的 10 万条数据,还用其中的解题过程微调模型,使其在 SWE-Bench-Verified 上的解决率从 22% 提升到约 60%(摘要另报 64%)。这说明自动化挖掘真实代码库,能大规模产出有环境、有测试、难度贴近实际的软件任务,为训练更实用的编程智能体提供了可扩展的数据来源。
摘要
Achieving mastery in real-world software engineering tasks is fundamentally bottlenecked by the scarcity of large-scale, high-quality training data. Scaling such data has been limited by the complexity of environment setup, unit-test generation, and problem statement curation. In this paper, we propose Scale-SWE, an automated, sandboxed multi-agent workflow designed to construct high-quality SWE data at scale. The system coordinates three specialized agents—for environment setup, test creation, and problem description synthesis—to process 6 million pull requests across 5.2k repositories, producing Scale-SWE-Data: 100k verified SWE instances, the largest such dataset to date. It substantially surpasses existing real-world datasets in repository diversity and reflects realistic task complexity. We further demonstrate the dataset’s utility for training by distilling 71,498 high-quality trajectories and fine-tuning Qwen-30B-A3B-Instruct to produce Scale-SWE-Agent. Our agent achieves a 64% resolve rate on SWE-Bench-Verified—a nearly three-fold improvement over the base model. Scale-SWE provides a scalable, reproducible approach for data construction to advance LLM-based software engineering.
术语表
- Scale-SWE
- Scale-SWE
- Scale-SWE-Data
- Scale-SWE-Data 数据集
- Scale-SWE-Agent
- Scale-SWE-Agent 智能体
- SWE
- 软件工程
- LLM-based code agent
- 基于大语言模型的代码智能体
- sandboxed multi-agent workflow
- 沙箱化多智能体工作流
- Environment Builder Agent (EBA)
- 环境构建智能体(EBA)
- Unit-test Creator Agent (UCA)
- 单元测试创建智能体(UCA)
- Problem Statement Writer Agent (PSWA)
- 问题描述撰写智能体(PSWA)
- SWE-Bench-Verified
- SWE-Bench-Verified 基准
- SWE-bench
- SWE-bench 基准
- Qwen-30B-A3B-Instruct
- Qwen-30B-A3B-Instruct
- Qwen3-30A3B-Instruct
- Qwen3-30A3B-Instruct
- DeepSeek-V3.2
- DeepSeek-V3.2
- Gemini3-Pro
- Gemini3-Pro
- SWE-agent
- SWE-agent
- Fail-to-Pass (F2P)
- 失败转通过(F2P)
- Pass-to-Pass (P2P)
- 通过保持通过(P2P)
- pull request
- 拉取请求
- unit-test generation
- 单元测试生成
- problem statement synthesis
- 问题描述合成
- sandboxed execution environment
- 沙箱化执行环境
- repository diversity
- 代码仓库多样性
- high-quality trajectory
- 高质量执行轨迹
- distillation
- 蒸馏
- fine-tuning
- 微调
- resolve rate
- 问题解决率
- reproducible dataset construction
- 可复现的数据集构建