构建可扩展的软件工程任务生成系统,解决数据稀缺难题。
SWE-Hub: A Unified Production System for Scalable, Executable Software Engineering Tasks
- 统一环境自动化、大规模合成与多样任务生成,形成闭环生产链。
- 支持跨语言、跨模块的系统级缺陷生成,可产生成千上万修复任务。
- 适合研究智能编程助手、自动化测试与代码生成的开发者使用。
软件工程智能体的发展日益受限于可执行、可扩展且真实的训练与评估数据的缺乏。这一困境源于现有流水线的三大挑战:环境在不同语言间脆弱且难以复现;大规模生成真实、系统级错误计算成本高昂;现有数据多为短周期修复,无法捕捉架构一致性等长周期能力。我们提出SWE-Hub,一个端到端系统,通过整合环境自动化、可扩展合成与多样化任务生成,实现数据工厂的抽象落地。核心组件包括:Env Agent将原始仓库快照自动转换为具有标准化接口的可复现多语言容器环境;SWE-Scale引擎结合跨语言代码分析与集群规模验证,实现高吞吐量的局部缺陷-修复实例生成;Bug Agent通过合成涉及跨模块依赖的系统级回归问题,并搭配用户式问题报告(描述现象而非根因)生成高保真修复任务;SWE-Architect则将任务范围扩展至代码创建,将自然语言需求转化为仓库级建库任务。SWE-Hub实现了软件工程全生命周期任务的持续可执行输出。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。