paper-with-me

Papers

SWE-Flow: Synthesizing Software Engineering Data in a Test-Driven Manner

2025-06-10 · Lei Zhang, Jiaxi Yang, Min Yang, Jian Yang, Mouxiang Chen, Jiajun Zhang, Zeyu Cui, Binyuan Hui, Junyang Lin

We introduce SWE-Flow, a novel data synthesis framework grounded in Test-Driven Development (TDD). Unlike existing software engineering data that rely on human-submitted issues, SWE-Flow automatically infers incremental development steps directly from unit tests, which inherently encapsulate high-level requirements. The core of SWE-Flow is the construction of a Runtime Dependency Graph (RDG), which precisely captures function interactions, enabling the generation of a structured, step-by-step *development schedule*. At each step, SWE-Flow produces a partial codebase, the corresponding unit tests, and the necessary code modifications, resulting in fully verifiable TDD tasks. With this approach, we generated 16,061 training instances and 2,020 test instances from real-world GitHub projects, creating the SWE-Flow-Eval benchmark. Our experiments show that fine-tuning open model on this dataset significantly improves performance in TDD-based coding. To facilitate further research, we release all code, datasets, models, and Docker images at Github.

📄 PDF Abstract BibTeX arXiv:2506.09003

Code (1)

hambaobao/swe-flow 공식 구현

Tasks

test driven development

Similar Papers 제목 키워드 기반

TDFlow: Agentic Workflows for Test Driven Development

2025-10-27 · Kevin Han, Siddharth Maddikayala, Tim Knappe, Om Patel 외 arxiv

We introduce TDFlow, a novel test-driven agentic workflow that frames repository-scale software engineering as a test-resolution task, specifically designed to solve human-written tests. Given a set of tests, TDFlow repe…

Program Repair

SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs

2025-04-20 · Minh V. T. Pham, Huy N. Phan, Hoang N. Phan, Cuong Le Chi 외

Large language models (LLMs) are transforming automated program repair (APR) through agent-based approaches that localize bugs, generate patches, and verify fixes. However, the lack of high-quality, scalable training dat…

Program Repair

Combating Toxic Language: A Review of LLM-Based Strategies for Software Engineering

2025-04-21 · Hao Zhuo, Yicheng Yang, Kewen Peng

Large Language Models (LLMs) have become integral to software engineering (SE), where they are increasingly used in development workflows. However, their widespread use raises concerns about the presence and propagation …

Agentic AI for Software: thoughts from Software Engineering community

2025-08-24 · Abhik Roychoudhury arxiv

AI agents have recently shown significant promise in software engineering. Much public attention has been transfixed on the topic of code generation from Large Language Models (LLMs) via a prompt. However, software engin…

Code GenerationProgram Repair

The Potential of LLMs in Automating Software Testing: From Generation to Reporting

2024-12-31 · Betim Sherifi, Khaled Slhoub, Fitzroy Nembhard

Having a high quality software is essential in software engineering, which requires robust validation and verification processes during testing activities. Manual testing, while effective, can be time consuming and costl…

software testing