SWE-Lego: Pushing the Limits of Supervised Fine-tuning for Software Issue Resolving
Not on the map. Why?
Cited by 23 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
We present SWE-Lego, a supervised fine-tuning (SFT) recipe designed to achieve state-ofthe-art performance in software engineering (SWE) issue resolving. In contrast to prevalent methods that rely on complex training paradigms (e.g., mid-training, SFT, reinforcement learning, and their combinations), we explore how to push the limits of a lightweight SFT-only approach for SWE tasks. SWE-Lego comprises three core building blocks, with key findings summarized as follows: 1) the SWE-Lego dataset, a collection of 32k highquality task instances and 18k validated trajectories, combining real and synthetic data to complement each other in both quality and quantity; 2) a refined SFT procedure with error masking and a difficulty-based curriculum, which demonstrably improves action quality and overall performance. Empirical results show that with these two building bricks alone,the SFT can push SWE-Lego models to state-of-the-art performance among open-source models of comparable size on SWE-bench Verified: SWE-Lego-Qwen3-8B reaches 42.2%, and SWE-Lego-Qwen3-32B attains 52.6%. 3) We further evaluate and improve test-time scaling (TTS) built upon the SFT foundation. Based on a well-trained verifier, SWE-Lego models can be significantly boosted--for example, 42.2% to 49.6% and 52.6% to 58.8% under TTS@16 for the 8B and 32B models, respectively.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 34 of its 52 references that are in the map. First posted on arXiv 4 Jan 2026.
Builds on
34 of 52 references.
References · 34
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2024Generative Verifiers: Reward Modeling as Next-Token Predictioncited by 465
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
22 more
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
- 2024AutoCodeRover: Autonomous Program Improvementcited by 272
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 229
- 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
- 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 181
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
- 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 140
- 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 139
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 127
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 91
- 2025CWM: An Open-Weights LLM for Research on Code Generation with World Modelscited by 87
- 2024CyberSecEval 2: A Wide-Ranging Cybersecurity Evaluation Suite for Large Language Modelscited by 84
- 2023RepoFusion: Training Code Models to Understand Your Repositorycited by 40
- 2025Toward Training Superintelligent Software Agents through Self-Play SWE-RLcited by 37
- 2025Kimi-Dev: Agentless Training as Skill Prior for SWE-Agentscited by 35
- 2025SWE-Mirror: Scaling Issue-Resolving Datasets by Mirroring Issues Across Repositoriescited by 30
- 2025BugPilot: Complex Bug Generation for Efficient Learning of SWE Skillscited by 28
- 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scalingcited by 24
- 2025Skywork-SWE: Unveiling Data Scaling Laws for Software Engineering in LLMscited by 24
Built on by
Citing papers per year: 2026: 30.
30 papers.
Sort:
By area:
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environmentscited by 21
- 2026Immersion in the GitHub Universe: Scaling Coding Agents to Masterycited by 20
- 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?cited by 20
- 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Trainingcited by 18
- 2026daVinci-Dev: Agent-native Mid-training for Software Engineeringcited by 15
- 2026daVinci-Env: Open SWE Environment Synthesis at Scalecited by 13
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agentscited by 12
- 2026SERA: Soft-Verified Efficient Repository Agentscited by 10
- 2026SWE-Next: Scalable Real-World Software Engineering Tasks for Agentscited by 8
- 2026Dockerless: Environment-Free Program Verifier for Coding Agentscited by 8
- 2026Orchard: An Open-Source Agentic Modeling Frameworkcited by 7
- 2026What Makes Interaction Trajectories Effective for Training Terminal Agents?cited by 6
18 more
- 2026From SWE-ZERO to SWE-HERO: Execution-free to Execution-based Fine-tuning for Software Engineering Agentscited by 5
- 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agentscited by 5
- 2026SWE-Hub: A Unified Production System for Scalable, Executable Software Engineering Taskscited by 4
- 2026SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Reviewcited by 4
- 2026Mach-Mind-4-Flash Technical Reportcited by 4
- 2026Agentic-DPO: From Imitation to Agentic Policy Optimization on Expert Trajectoriescited by 3
- 2026FrogNano: Training a 4B Coding Agent via Online Task Synthesiscited by 3
- 2026From Patches to Trajectories: Privileged Process Supervision for Software-Engineering Agentscited by 2
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agentscited by 2
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphscited by 1
- 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesiscited by 1
- 2026PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarkscited by 1
- 2026M2A: Synergizing Mathematical and Agentic Reasoning in Large Language Modelscited by 0
- 2026Feyospace-v1: How the Cyber Mercury Seven Trained Frontier Cyber Modelscited by 0
- 2026One to More, More to One: Category-Aware Iterative Expert Training for Software Engineering Agentscited by 0
- 2026Counterfactual Rollout Replay: Forkable Environments as Free Process Rewards for Software Engineering Agentscited by 0
- 2026Beyond Rule-Based Mutation Testing: Test-Aware Mutant Generation Using Large Language Modelscited by 0
- 2026MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvementcited by 0
- 2026MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvement8 Oct 2026
- 2026Counterfactual Rollout Replay: Forkable Environments as Free Process Rewards for Software Engineering Agents27 Sep 2026
- 2026Beyond Rule-Based Mutation Testing: Test-Aware Mutant Generation Using Large Language Models24 Sep 2026
- 2026One to More, More to One: Category-Aware Iterative Expert Training for Software Engineering Agents20 Sep 2026
- 2026Feyospace-v1: How the Cyber Mercury Seven Trained Frontier Cyber Models8 Sep 2026
- 2026FrogNano: Training a 4B Coding Agent via Online Task Synthesis7 Sep 2026
- 2026PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarks30 Jul 2026
- 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis29 Jul 2026
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents21 Jul 2026
- 2026Agentic-DPO: From Imitation to Agentic Policy Optimization on Expert Trajectories12 Jul 2026
- 2026Mach-Mind-4-Flash Technical Report10 Jul 2026
- 2026SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Review7 Jul 2026
18 more
- 2026Dockerless: Environment-Free Program Verifier for Coding Agents26 Jun 2026
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents26 Jun 2026
- 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agents14 Jun 2026
- 2026What Makes Interaction Trajectories Effective for Training Terminal Agents?2 Jun 2026
- 2026From Patches to Trajectories: Privileged Process Supervision for Software-Engineering Agents21 May 2026
- 2026Orchard: An Open-Source Agentic Modeling Framework14 May 2026
- 2026M2A: Synergizing Mathematical and Agentic Reasoning in Large Language Models11 May 2026
- 2026From SWE-ZERO to SWE-HERO: Execution-free to Execution-based Fine-tuning for Software Engineering Agents2 Apr 2026
- 2026SWE-Next: Scalable Real-World Software Engineering Tasks for Agents21 Mar 2026
- 2026daVinci-Env: Open SWE Environment Synthesis at Scale13 Mar 2026
- 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?3 Mar 2026
- 2026SWE-Hub: A Unified Production System for Scalable, Executable Software Engineering Tasks28 Feb 2026
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphs24 Feb 2026
- 2026Immersion in the GitHub Universe: Scaling Coding Agents to Mastery10 Feb 2026
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments3 Feb 2026
- 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training3 Feb 2026
- 2026SERA: Soft-Verified Efficient Repository Agents28 Jan 2026
- 2026daVinci-Dev: Agent-native Mid-training for Software Engineering26 Jan 2026
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environmentscited by 21
- 2026Immersion in the GitHub Universe: Scaling Coding Agents to Masterycited by 20
- 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?cited by 20
- 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Trainingcited by 18
- 2026daVinci-Dev: Agent-native Mid-training for Software Engineeringcited by 15
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agentscited by 12
- 2026SERA: Soft-Verified Efficient Repository Agentscited by 10
- 2026SWE-Next: Scalable Real-World Software Engineering Tasks for Agentscited by 8
- 2026Dockerless: Environment-Free Program Verifier for Coding Agentscited by 8
- 2026Orchard: An Open-Source Agentic Modeling Frameworkcited by 7
- 2026From SWE-ZERO to SWE-HERO: Execution-free to Execution-based Fine-tuning for Software Engineering Agentscited by 5
- 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agentscited by 5
12 most cited of 21 All 21 (JSON)
- 2026Counterfactual Rollout Replay: Forkable Environments as Free Process Rewards for Software Engineering Agents27 Sep 2026
- 2026One to More, More to One: Category-Aware Iterative Expert Training for Software Engineering Agents20 Sep 2026
- 2026FrogNano: Training a 4B Coding Agent via Online Task Synthesis7 Sep 2026
- 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis29 Jul 2026
- 2026Agentic-DPO: From Imitation to Agentic Policy Optimization on Expert Trajectories12 Jul 2026
- 2026Mach-Mind-4-Flash Technical Report10 Jul 2026
- 2026SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Review7 Jul 2026
- 2026Dockerless: Environment-Free Program Verifier for Coding Agents26 Jun 2026
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents26 Jun 2026
- 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agents14 Jun 2026
- 2026From Patches to Trajectories: Privileged Process Supervision for Software-Engineering Agents21 May 2026
- 2026Orchard: An Open-Source Agentic Modeling Framework14 May 2026
12 newest of 21 All 21 (JSON)
- 2026daVinci-Env: Open SWE Environment Synthesis at Scalecited by 13
- 2026What Makes Interaction Trajectories Effective for Training Terminal Agents?cited by 6
- 2026PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarkscited by 1
- 2026Feyospace-v1: How the Cyber Mercury Seven Trained Frontier Cyber Modelscited by 0
- 2026Beyond Rule-Based Mutation Testing: Test-Aware Mutant Generation Using Large Language Modelscited by 0
- 2026MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvementcited by 0
- 2026MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvement8 Oct 2026
- 2026Beyond Rule-Based Mutation Testing: Test-Aware Mutant Generation Using Large Language Models24 Sep 2026
- 2026Feyospace-v1: How the Cyber Mercury Seven Trained Frontier Cyber Models8 Sep 2026
- 2026PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarks30 Jul 2026
- 2026What Makes Interaction Trajectories Effective for Training Terminal Agents?2 Jun 2026
- 2026daVinci-Env: Open SWE Environment Synthesis at Scale13 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025SWE-Exp: Experience-Driven Software Issue Resolution
- 2025SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-Tuning
- 2026SWE-Fuse: Empowering Software Agents via Issue-free Trajectory Learning and Entropy-aware RLVR Training
- 2026Advances and Frontiers of LLM-based Issue Resolution in Software Engineering: A Comprehensive Survey
- 2025When Agents go Astray: Course-Correcting SWE Agents with PRMs
- 2026SWE-QA-Pro: A Representative Benchmark and Scalable Training Recipe for Repository-Level Code Understanding
- 2026SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolution
- 2026Active-SWE: Benchmarking Coding Agents for Proactive Bug Fixing without Issue Reports