arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.00575cs.AIcs.SE
收藏

SWE-Hub:一个统一的生产系统,用于可扩展、可执行的软件工程任务

SWE-Hub: A Unified Production System for Scalable, Executable Software Engineering Tasks

Qianfan Team, Baidu Inc.(百度公司)

Yucheng Zeng, Shupeng Li, Daxiang Dong, Ruijie Xu, Zimo Chen, Liwei Zheng, Yuxuan Li, Zhe Zhou, Haotian Zhao, Lun Tian, Heng Xiao, Tianshu Zhu, Longkun Hao, Jianmin Wu

AI总结:

SWE-Hub通过统一的生产系统解决软件工程任务中可执行、可扩展和现实数据的稀缺问题,整合环境自动化、大规模合成和多样化任务生成,实现持续交付可执行任务。

摘要:

软件工程代理的进步越来越受到可执行、可扩展和现实数据稀缺的限制。这种稀缺性源于现有流程的三个基本挑战:环境是脆弱的,难以在不同语言之间重现;在大规模上合成现实的系统级错误是计算上昂贵的;现有数据主要由短期修复组成,无法捕捉长期能力,如架构一致性。我们引入了SWE-Hub,一个端到端的系统,通过将环境自动化、可扩展合成和多样任务生成统一成一个连贯的生产堆栈来实现数据工厂抽象。在基础层,Env Agent通过自动将原始仓库快照转换为可重现的多语言容器环境,建立共享执行子系统。在此基础上,SWE-Scale引擎解决高吞吐量生成的需求,结合跨语言代码分析与集群规模验证,合成大量本地错误修复实例。Bug Agent通过合成涉及跨模块依赖的系统级回归,配以描述可观察症状而非根本原因的用户样例问题报告,生成高保真的修复任务。最后,SWE-Architect将任务范围从修复扩展到创建,将自然语言要求转换为仓库级的构建仓库任务。通过整合这些组件,SWE-Hub建立了一个统一的生产流水线,能够持续交付贯穿软件工程生命周期的可执行任务。

英文摘要:

Progress in software-engineering agents is increasingly constrained by the scarcity of executable, scalable, and realistic data for training and evaluation. This scarcity stems from three fundamental challenges in existing pipelines: environments are brittle and difficult to reproduce across languages; synthesizing realistic, system-level bugs at scale is computationally expensive; and existing data predominantly consists of short-horizon repairs, failing to capture long-horizon competencies like architectural consistency. We introduce \textbf{SWE-Hub}, an end-to-end system that operationalizes the data factory abstraction by unifying environment automation, scalable synthesis, and diverse task generation into a coherent production stack. At its foundation, the \textbf{Env Agent} establishes a shared execution substrate by automatically converting raw repository snapshots into reproducible, multi-language container environments with standardized interfaces. Built upon this substrate, \textbf{SWE-Scale} engine addresses the need for high-throughput generation, combining cross-language code analysis with cluster-scale validation to synthesize massive volumes of localized bug-fix instances. \textbf{Bug Agent} generates high-fidelity repair tasks by synthesizing system-level regressions involving cross-module dependencies, paired with user-like issue reports that describe observable symptoms rather than root causes. Finally, \textbf{SWE-Architect} expands the task scope from repair to creation by translating natural-language requirements into repository-scale build-a-repo tasks. By integrating these components, SWE-Hub establishes a unified production pipeline capable of continuously delivering executable tasks across the entire software engineering lifecycle.

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

↑