mlsanityData to 14 Oct 2026

TDFlow: Agentic Workflows for Test Driven Development

arXiv 2510.23761 ↗First posted 27 Oct 2025cs.SE cs.AI cs.MAcited by 6

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (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 repeatedly proposes, revises, and debugs repository-scale patches using precisely engineered sub-agents and tightly constrained tools. The workflow decomposes software engineering program repair into four components governed by respective sub-agents. This simple, forced decoupling of patch proposing, debugging, patch revision, and optional test generation (1) reduces long-context burden on any individual sub-agent, (2) focuses each sub-agent on specific, pre-defined sub-tasks, and (3) allows for specialized performance improvement on specific sub-tasks. When provided human-written tests, TDFlow attains 88.8% pass rate on SWE-Bench Lite (an absolute improvement of 27.8% over the next best system) and 94.3% on SWE-Bench Verified. Manual inspection of the 800 TDFlow runs within SWE-Bench Lite and Verified uncover only 7 instances of test hacking, which were subsequently counted as failures. Furthermore, we show that the primary obstacle to human-level software engineering performance lies within writing successful reproduction tests. We envision a human-LLM interactive system powered by TDFlow where human developers write tests solved by LLM systems. Together, these results indicate that modern LLMs, when embedded in a narrowly engineered, test-driven workflow, already achieve human-level test resolution -- with the final frontier for fully autonomous repository repair being the accurate generation of valid reproduction tests.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 22 of its 62 references that are in the map. First posted on arXiv 27 Oct 2025.

Builds on

22 of 62 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025DARS: Dynamic Action Re-Sampling to Enhance Coding Agent Performance by Adaptive Tree Traversal18 Mar
  2. 2025PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verification4 Feb
  3. 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios16 Oct
  4. 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  6. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents18 Jun
  7. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution26 Mar

Other references · 15

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  4. 2022CodeT: Code Generation with Generated Testscited by 384
  5. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 238
  6. 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 111
  7. 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
  8. 2024Feedback Loops With Language Models Drive In-Context Reward Hackingcited by 77
  9. 2018FIRST: A Framework for Optimizing Information Quality in Mobile Crowdsensing Systemscited by 50
  10. 2025EXPEREPAIR: Dual-Memory Enhanced LLM-based Repository-Level Program Repaircited by 35
  11. 2024TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?cited by 34
  12. 2025PROV-AGENT: Unified Provenance for Tracking AI Agent Interactions in Agentic Workflowscited by 31
3 more
  1. 2024AEGIS: An Agent-based Framework for General Bug Reproduction from Issue Descriptionscited by 16
  2. 2024Semantic Self-Consistency: Enhancing Language Model Reasoning via Semantic Weightingcited by 9
  3. 2024A Comparative Study on the Impact of Test-Driven Development (TDD) and Behavior-Driven Development (BDD) on Enterprise Software Delivery Effectivenesscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025TENET: One Step Toward Test-Driven Development for Repository-Level Code Generation
  2. 2025QualityFlow: An Agentic Workflow for Program Synthesis Controlled by LLM Quality Checks
  3. 2026TDD-Agent: Test-Driven Reasoning for Code Generation
  4. 2026Diagnosis-Driven Automatic Repair for Agentic Workflow via Symbolic Inference
  5. 2026TDAD: Test-Driven Agentic Development - Reducing Code Regressions in AI Coding Agents via Graph-Based Impact Analysis
  6. 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback
  7. 2026Catching Developers in the Flow: Low-Latency Agentic Program Repair at Google Scale
  8. 2026Test-Driven AI Agent Definition (TDAD): Compiling Tool-Using Agents from Behavioral Specifications