FC-SWE: Failure-Conditioned RL for Long-Horizon Software Engineering Agents
Jia Liufu, Bin Hu, Linglin Jing, Terry Kong, Yuki Huang, Ashwath Aithal, Wenming Yang, Jun Yang
- Published
- Oct 6, 2026
- Source
- Hugging Face Papers
- URL
- https://huggingface.co/papers/2610.07898
FC-SWE trains software engineering agents to recover from failed patches using verifier feedback. It modifies reinforcement learning so a successful recovery does not incorrectly reward the earlier failed attempt.
This Hugging Face Papers entry targets a limitation of conventional GRPO training for repository-level software engineering: independently sampled attempts do not reuse diagnostic information from failed patches. FC-SWE restores the repository to its original state after a verification failure, then conditions a recovery attempt on the failed patch and verifier feedback. Trajectory-local rewards preserve each attempt’s outcome, while active-set advantage estimation compares the initial and recovery trajectories actually executed for an issue. The supplied abstract explains the training contribution but is truncated before empirical results, so it does not establish the size of any benchmark improvement.