SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Development
Yaxin Du, Yuzhu Cai, Yifan Zhou, Cheng Wang, Yu Qian, Xianghe Pang, Qian Liu, Yue Hu, Siheng Chen
TL;DR
SWE-Dev introduces a large-scale, repository-grounded dataset for autonomous end-to-end feature-driven software development, pairing each task with a runnable environment and executable unit tests to enable verifiable supervision. The work details a three-stage dataset construction that uses call-tree tracing to generate controlled, feature-level tasks across real-world codebases, along with PRD refinement to ensure actionable requirements. Through extensive experiments across base LLMs, reasoning models, MAS, and tool-augmented agents, SWE-Dev reveals substantial headroom on Hard tasks and demonstrates meaningful gains from SFT, RL, and MAS training with execution feedback. The dataset thus provides a pragmatic platform for evaluating and advancing long-horizon, execution-aware AI systems for real-world software engineering.
Abstract
Large Language Models (LLMs) have shown strong capability in diverse software engineering tasks. However, feature-driven development, a highly prevalent real-world task that involves developing new functionalities for large, existing codebases, remains underexplored. We therefore introduce SWE-Dev, the first large-scale dataset (with 14,000 training and 500 test samples) designed to evaluate and train autonomous coding systems on real-world end-to-end feature-driven software development tasks. To ensure verifiable and diverse training, SWE-Dev uniquely provides all instances with a runnable environment and its developer-authored executable unit tests. This collection not only provides high-quality data for Supervised Fine-Tuning (SFT), but also enables Reinforcement Learning (RL) by delivering accurate reward signals from executable unit tests. We evaluated SWE-Dev across 17 base LLMs, 10 reasoning-focused LLMs, 10 multi-agent systems, and 8 tool-augmented LLM agents. Results show substantial headroom: the best single-turn model reaches only 22.51\% Pass@1 on the hard split, while OpenHands agents improve to 56.44\% but still leave many tasks unsolved. Code is available here https://github.com/DorothyDUUU/SWE-Dev.
