SWE-at-Scale:从历史 Bug 修复反向合成可扩展的软件工程任务
SWE-at-Scale: Scalable Issue Synthesis from Historical Bug Fixes
摘要
SWE-at-Scale 是一个通过逆向工程真实软件修复来自动合成逼真 issue 的框架,将修复监督反转为基于实际开发场景的 bug 诱导监督,并把学到的 bug 模式迁移到新代码上下文以构建可执行 SWE 任务。
摘要由模型根据原文撰写,以原文为准。
正文 · 原文
As coding agents become increasingly capable, robust evaluation requires a broader and more diverse supply of verifiable software engineering (SWE) tasks. However, real-world tasks are constrained by the natural frequency of issue reporting and the substantial cost of manual curation. Furthermore, existing synthetic approaches rely primarily on the pretrained knowledge of large models coupled with heuristic prompting, often failing to capture the authentic, complex mechanics of software failures. To exponentially scale SWE task production, we introduce SWE-at-Scale, a framework that automatically synthesizes realistic issues by reverse-engineering real-world software fixes. Our key insight is that historical fixes encapsulate deep mechanistic knowledge of bug formation: inverting a fix transforms repair supervision into bug-induction supervision grounded in actual development scenarios. SWE-at-Scale transfers these learned bug patterns to novel code contexts, repeatedly sampling diverse bug typologies to construct executable SWE tasks. Extensive experiments show that SWE-at-Scale generates more diverse and realistic SWE tasks than current synthesis baselines while posing greater challenges to state-of-the-art coding agents. Notably, SWE-at-Scale can generate distinct bug types from a single code context, with bug diversity scaling robustly even up to 200 generations per file. Overall, SWE-at-Scale turns finite real-world fixes into reusable supervision for scalable synthesis of realistic, diverse, and challenging SWE tasks.
注意转载授权 · 阅读原文
来源:Hugging Face Daily Papers · huggingface.co
引用原文
Hugging Face Daily Papers. SWE-at-Scale: Scalable Issue Synthesis from Historical Bug Fixes[EB/OL]. (2026-10-15)[访问日期]. https://huggingface.co/papers/2610.21359.