SWE-Hub: A Unified Production System for Scalable, Executable Software Engineering Tasks
Organizations: Qianfan Team, Baidu Inc.
Abstract
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.
Figures & tables
| Category | Modifier | Action | Bug Type |
| Operational | Op. Change | Replace operator with group sibling (e.g., ). | Operator Misuse |
| Op. Flip | Invert boolean/comparison logic (e.g., ). | Logic Inversion | |
| Operand Swap | Swap L/R operands ( ). | Order Error | |
| Chain Break | Replace full expression with sub-operand ( ). | Data Loss | |
| Const. Mod | Apply to integer literals. | Off-by-one | |
| Control Flow | Branch Swap | Swap if body with else / elif body. | Logic Reversal |
Synthetic Benchmark Generation
Synthetic benchmark generation creates controlled, verifiable evaluation tasks and datasets to test models across diverse settings.
See all 287 papers