We introduce SWE-ZERO to SWE-HERO, a two-stage SFT recipe that achieves state-of-the-art results on SWE-bench by distilling open-weight frontier LLMs. Our pipeline replaces resource-heavy dependencies with an evolutionary refinement strategy: (1) SWE-ZERO utilizes large-scale, execution-free trajectories to master code semantics and repository-level reasoning, and (2) SWE-HERO applies targeted, execution-backed refinement to transition these semantic intuitions into rigorous engineering workflows. Our empirical results set a new benchmark for open-source models of comparable size. We release a dataset of 300k SWE-ZERO and 13k SWE-HERO trajectories distilled from Qwen3-Coder-480B, alongside a suite of agents based on the Qwen2.5-Coder series. Notably, SWE-HERO-32B achieves a 62.2% resolution rate on SWE-bench Verified. Furthermore, despite being trained exclusively on Python, our agents demonstrate robust zero-shot transferability on SWE-bench Multilingual, reaching 44.1% and confirming the paradigm's generalizability across diverse languages.
Figures & tables
Figure 1: Performance overview of various open-source foundational models and SWE agents on SWE-bench Verified. Our models, SWE-Hero agents establish a new frontier, outperforming same-scale competitors.
Model
Execution
SWE-bench (V)
SWE-bench (M)
MiniMax-M2.5
×
69.5
57.2
✓
80.2
74.1
[0.5pt/2pt] Qwen3-Coder-Next
×
56.9
50.7
✓
71.3
64.3
[0.5pt/2pt] Qwen3-Coder-480B-A35B-Instruct
×
59.4
44.3
✓
69.6
54.7
Table 1: Resolve rates (%) on SWE-bench Verified (V) and Multilingual (M). We compare the execution-free ( × ) paradigm against the execution-backed setup ( ✓ ) using OpenHands. Notably, our SWE-Hero -32B model is fine-tuned in two successive SFT stages using a collection of 300k execution-free and 13k execution-based Python trajectories.
Figure 2: Comparative overview of Agentic Workflows in OpenHands. The bottom panel depicts the SWE-Zero setup, utilizing a restricted, execution-free environment to maximize data scalability. In contrast, the top panel illustrates the SWE-Hero configuration, which transitions to a standard, feedback-driven workflow grounded in physical execution.
Model
Scaffold
Training
Resolve Rate (%)
Parameters ≈ 7B
SWE-Gym-7B ( Pan et al., 2025 )
OpenHands
SFT
10.6
R2E-Gym-7B ( Jain et al., 2025 )
R2E-Gym
SFT
19.0
SWE-Mirror-LM-7B ( Wang et al., 2025a )
MOpenHands
SFT
22.8
SWE-Dev-7B ( Wang et al., 2025a )
OpenHands
RL
23.4
SERA-8B ( Shen et al., 2026 )
SWE-agent
SFT
31.7
Table 2: Performance comparison on the SWE-bench Verified. Results marked with † exclude Git hacking ; for all other scores, the use of Git hacking is unspecified.
Figure 3: Cumulative performance and resource efficiency on SWE-bench Verified. Tasks are ordered by SWE-Hero -32b turn-count (complexity proxy). The primary axis (thick lines) shows the natural decline in resolve rate as complexity grows, while the secondary axis (faint lines) highlights the significantly lower turn-costs of SWE-Zero models.
Figure 4: Scaling behavior of SWE-Zero -14B. The resolution rate on SWE-bench increases consistently as execution-free training samples scale from 4k to 150k.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Model
Verifier
Pass@1 (avg of 32)
Pass@32
Best@32
SWE-Hero-7B
OpenHands-32B-Verifier
50.0
76.0
52.9
R2EGym-Verifier
55.9
SWE-Lego-Verifier-8B
57.9
SWE-Lego-Verifier-30B-A3B
57.9
SWE-Hero-14B
OpenHands-32B-Verifier
57.4
78.4
62.0
R2EGym-Verifier
62.6
Appendix
Table 3: Evaluation results of SWE-Hero LLMs under Test Time Scaling (TTS) setting using different open-sourced generative verifiers.
Figure 5: Increasing inference-time compute improves performance on SWE-Bench Verified using open-source SWE-Lego-Verifier-8B ( Tao et al., 2026 ) .
Figure 6: Cumulative performance and resource efficiency on SWE-bench Verified. Tasks are ordered by SWE-Hero -32b token-count (complexity proxy). The primary axis (thick lines) shows the natural decline in resolve rate as complexity grows, while the secondary axis (faint lines) highlights the significantly lower token-costs of SWE-Zero models.
Model
Scaffold
Training
Execution
Resolve Rate (%)
Proprietary Models
GPT-5.2
mini-SWE-agent
-
✓
66.3
Claude 4.5 Opus
mini-SWE-agent
-
✓
70.7
Gemini 3 Flash
mini-SWE-agent
-
✓
72.7
Open-Source Foundation Models
DeepSeek-V3.2
mini-SWE-agent
-
✓
62.3
Appendix
Table 4: Performance comparison on SWE-bench Multilingual, comparing execution-free ( × ) and execution-backed ( ✓ ) settings.
Model
Scaffold
Training
Resolve Rate (%)
Proprietary Models
GPT-5.2 ( OpenAI, 2025 )
mini-SWE-agent
-
72.8
Gemini 3 Flash ( Google, 2025 )
mini-SWE-agent
-
75.8
Claude 4.5 Opus ( Anthropic, 2025b )
mini-SWE-agent
-
76.8
Open-Source Foundation Models
DeepSeek-V3.2 ( Anthropic, 2025a )
mini-SWE-agent
-
70.0
Appendix
Table 5: Performance comparison on SWE-bench Verified. Results marked with † exclude Git hacking ; for all other scores, the use of Git hacking is unspecified.