Aha.
正在载入中英对照阅读…

arXiv:2603.00575 · 中英对照阅读

SWE-Hub:面向可扩展、可执行软件工程任务的统一生产系统

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

Qianfan Team、Baidu Inc

中文速览

训练和评测编程智能体,缺的不是代码题,而是能稳定运行、覆盖真实软件工程复杂度的数据。SWE-Hub把数据生产做成一座“工厂”:先自动为不同语言的代码仓库搭好可复现的运行环境,再用并行验证批量生成修 bug 任务、模拟跨模块问题,并把自然语言需求转成从头构建整个仓库的任务。这样得到的数据不仅能自动检验对错,还从局部修复延伸到系统级调试和长期规划。它的重要性在于,让智能体训练不再受零散、短小任务限制,也为持续生产更多真实、可扩展的软件工程任务提供了统一基础。

摘要

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 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 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, 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. 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, 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.

术语表

software-engineering agents
软件工程智能体
large language model (LLM) agents
大语言模型(LLM)智能体
SWE-Hub
SWE-Hub
data factory
数据工厂
Env Agent
Env Agent
SWE-Scale
SWE-Scale
Bug Agent
Bug Agent
SWE-Architect
SWE-Architect
SWE-Smith
SWE-Smith
NL2Repo
NL2Repo
execution-grounded data
执行验证型数据
execution substrate
执行基础设施
reproducible environment
可复现环境
containerized environment
容器化环境
cross-language code analysis
跨语言代码分析
scalable data synthesis
可扩展数据合成
cluster-scale validation
集群级验证
automated bug injection
自动化缺陷注入
localized bug-fix instance
局部缺陷修复样例
system-level regression
系统级回归缺陷
cross-module dependency
跨模块依赖
issue report
问题报告
observable symptom
可观察症状
root cause
根本原因
short-horizon repair
短周期修复
long-horizon task
长周期任务
build-a-repo task
仓库构建任务
architectural consistency
架构一致性