mlsanityData to 14 Oct 2026

SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarks

arXiv 2506.10954 ↗First posted 12 Jun 2025cs.SE cs.AIcited by 7

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

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  4. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
  5. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
  6. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 285
  7. 2024AutoCodeRover: Autonomous Program Improvementcited by 278
  8. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
  9. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
  10. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 203
  11. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 171
  12. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 158
24 more
  1. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 134
  2. 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 99
  3. 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
  4. 2024SpecRover: Code Intent Extraction via LLMscited by 72
  5. 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 71
  6. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 61
  7. 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
  8. 2024MASAI: Modular Architecture for Software-engineering AI Agentscited by 49
  9. 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 49
  10. 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 47
  11. 2025UTBoost: Rigorous Evaluation of Coding Agents on SWE-Benchcited by 45
  12. 2025EnvBench: A Benchmark for Automated Environment Setupcited by 36
  13. 2024SWE-bench-java: A GitHub Issue Resolving Benchmark for Javacited by 34
  14. 2025Automated Benchmark Generation for Repository-Level Coding Taskscited by 29
  15. 2025SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-Tuningcited by 28
  16. 2025Enhancing repository-level software repair via repository-aware knowledge graphscited by 27
  17. 2025OmniGIRL: A Multilingual and Multimodal Benchmark for GitHub Issue Resolutioncited by 24
  18. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
  19. 2025SWE-Flow: Synthesizing Software Engineering Data in a Test-Driven Mannercited by 20
  20. 2024AEGIS: An Agent-based Framework for General Bug Reproduction from Issue Descriptionscited by 16
  21. 2025SEAlign: Alignment Training for Software Engineering Agentcited by 11
  22. 2024KADEL: Knowledge-Aware Denoising Learning for Commit Message Generationcited by 10
  23. 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issuescited by 10
  24. 2025CXXCrafter: An LLM-Based Agent for Automated C/C++ Open Source Software Buildingcited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 6.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositories
  2. 2025Issue2Test: Generating Reproducing Test Cases from Issue Reports
  3. 2025SWE-Exp: Experience-Driven Software Issue Resolution
  4. 2025Skywork-SWE: Unveiling Data Scaling Laws for Software Engineering in LLMs
  5. 2026Advances and Frontiers of LLM-based Issue Resolution in Software Engineering: A Comprehensive Survey
  6. 2025SWE-Mirror: Scaling Issue-Resolving Datasets by Mirroring Issues Across Repositories
  7. 2026SWE-Adept: An LLM-Based Agentic Framework for Deep Codebase Analysis and Structured Issue Resolution
  8. 2025SWE-MERA: A Dynamic Benchmark for Agenticly Evaluating Large Language Models on Software Engineering Tasks