SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarks
Not on the map. Why?
Abstract (arXiv)
Constructing large-scale datasets for the GitHub issue resolution task is crucial for both training and evaluating the software engineering capabilities of Large Language Models (LLMs). However, the existing GitHub issue resolution data construction pipeline is challenging and labor-intensive. We identify three key limitations in existing pipelines: (1) test patches collected often omit binary file changes; (2) the manual construction of evaluation environments is labor-intensive; and (3) the fail2pass validation phase requires manual inspection of test logs and writing custom parsing code to extract test status from logs. In this paper, we propose SWE-Factory, a fully automated issue resolution data construction pipeline, to resolve these limitations. First, our pipeline automatically recovers missing binary test files and ensures the correctness of test patches. Second, we introduce SWE-Builder, a LLM-based multi-agent system that automates evaluation environment construction. Third, we introduce a standardized, exit-code-based log parsing method to automatically extract test status, enabling a fully automated fail2pass validation. Experiments on 671 real-world GitHub issues across four programming languages show that our method can effectively construct valid evaluation environments for GitHub issues at a reasonable cost. For example, with GPT-4.1 mini, our SWE-Builder constructs 337 valid task instances out of 671 issues, at 0.047 per instance. Our ablation study further shows the effectiveness of different components of SWE-Builder. We also demonstrate through manual inspection that our exit-code-based fail2pass validation method is highly accurate, achieving an F1 score of 0.99. Additionally, we conduct an exploratory experiment to investigate whether we can use SWE-Factory to enhance models' software engineering ability.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 36 of its 61 references that are in the map. First posted on arXiv 12 Jun 2025.
Builds on
36 of 61 references.
References · 36
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 285
- 2024AutoCodeRover: Autonomous Program Improvementcited by 278
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
- 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 203
- 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 171
- 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 158
24 more
- 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 134
- 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 99
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
- 2024SpecRover: Code Intent Extraction via LLMscited by 72
- 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 71
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 61
- 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
- 2024MASAI: Modular Architecture for Software-engineering AI Agentscited by 49
- 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 49
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 47
- 2025UTBoost: Rigorous Evaluation of Coding Agents on SWE-Benchcited by 45
- 2025EnvBench: A Benchmark for Automated Environment Setupcited by 36
- 2024SWE-bench-java: A GitHub Issue Resolving Benchmark for Javacited by 34
- 2025Automated Benchmark Generation for Repository-Level Coding Taskscited by 29
- 2025SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-Tuningcited by 28
- 2025Enhancing repository-level software repair via repository-aware knowledge graphscited by 27
- 2025OmniGIRL: A Multilingual and Multimodal Benchmark for GitHub Issue Resolutioncited by 24
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2025SWE-Flow: Synthesizing Software Engineering Data in a Test-Driven Mannercited by 20
- 2024AEGIS: An Agent-based Framework for General Bug Reproduction from Issue Descriptionscited by 16
- 2025SEAlign: Alignment Training for Software Engineering Agentcited by 11
- 2024KADEL: Knowledge-Aware Denoising Learning for Commit Message Generationcited by 10
- 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issuescited by 10
- 2025CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Buildingcited by 10
Built on by
Citing papers per year: 2025: 1; 2026: 6.
7 papers.
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agentscited by 2
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 1
- 2026SWE-Gate: Passing Functional Tests Is Not Enough for Software Engineering Agentscited by 1
- 2026Adaptive Critical Token-Aware Retrieval for Repository-Level Code Generationcited by 0
- 2026Efficient SWE Agent Benchmarking via Trajectory-Aware Evaluationcited by 0
- 2026ParanoiaEval: Benchmarking Unnecessary Defensive Work in Agentic Codingcited by 0
- 2026ParanoiaEval: Benchmarking Unnecessary Defensive Work in Agentic Coding6 Oct 2026
- 2026SWE-Gate: Passing Functional Tests Is Not Enough for Software Engineering Agents3 Sep 2026
- 2026Efficient SWE Agent Benchmarking via Trajectory-Aware Evaluation1 Sep 2026
- 2026Adaptive Critical Token-Aware Retrieval for Repository-Level Code Generation1 Sep 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents21 Jul 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositories
- 2025Issue2Test: Generating Reproducing Test Cases from Issue Reports
- 2025SWE-Exp: Experience-Driven Software Issue Resolution
- 2025Skywork-SWE: Unveiling Data Scaling Laws for Software Engineering in LLMs
- 2026Advances and Frontiers of LLM-based Issue Resolution in Software Engineering: A Comprehensive Survey
- 2025SWE-Mirror: Scaling Issue-Resolving Datasets by Mirroring Issues Across Repositories
- 2026SWE-Adept: An LLM-Based Agentic Framework for Deep Codebase Analysis and Structured Issue Resolution
- 2025SWE-MERA: A Dynamic Benchmark for Agenticly Evaluating Large Language Models on Software Engineering Tasks