Megadose AI progress, ranked daily.

FC-SWE: Failure-Conditioned RL for Long-Horizon Software Engineering Agents

· HF Daily Papers ·
FC-SWE turns failed patches and verification feedback into training context for an agent’s next attempt.

After a patch fails, the framework resets the repository and supplies the failed patch and diagnostic feedback to a recovery attempt. Its reward scheme keeps each attempt’s outcome separate, so a successful recovery does not reward the earlier failure. On all 500 SWE-bench Verified tasks under a verifier-assisted protocol, Qwen3.5-4B with SWE-agent achieved 41.7% Resolved@1 and 52.8% Resolved@2, versus GRPO’s 38.9% and 48.5%. Despite training with at most two attempts per chain, it reached 70.7% Resolved@11 with an eleven-attempt test budget.

HF Daily Papers' note

score 5

Categories: Research