| Título : | TDAD: Test-Driven Agentic Development - Reducing Code Regressions in AI Coding Agents via Graph-Based Impact Analysis |
| Autor(es) : | Alonso, Pepe Yovine, Sergio Braberman, Víctor |
| Fecha de publicación : | mar-2026 |
| Tipo de publicación: | Preprint |
| Areas del conocimiento : | Ciencias Naturales y Exactas Ciencias de la Computación e Información |
| Otros descriptores : | Artificial Intelligence Coding Agents |
| Resumen : | AI coding agents can resolve real-world software issues, yet they frequently introduce regressions—breaking tests that previously passed. Current benchmarks focus almost exclusively on resolution rate, leaving regression behavior under-studied. This work develops a method to enhance agents with appropriate structural knowledge that leads to meaningful regression reduction while improving resolution rate, and presents TDAD (Test-Driven Agentic Development), an open-source tool that performs pre-change impact analysis for AI coding agents. TDAD builds a dependency map between source code and tests so that before committing a patch, the agent knows which tests to verify and can self-correct. The map is delivered as a lightweight agent skill—a static text file the agent queries at runtime. Evaluated on SWE-bench Verified with two open-weight models running on consumer hardware (Qwen3-Coder 30B, 100 instances; Qwen3.5-35B-A3B, 25 instances), TDAD reduced regressions by 70% (6.08% →1.82%) compared to a vanilla baseline. In contrast, adding TDD procedural instructions without targeted test context increased regressions to 9.94%—worse than no intervention at all. When deployed as an agent skill with a different model and framework, TDAD improved issue-resolution rate from 24% to 32%, confirming that surfacing contextual information outperforms prescribing procedural workflows. All code, data, and logs are publicly available. |
| URI / Handle: | https://hdl.handle.net/20.500.12381/5634 |
| Otros recursos relacionados: | https://hdl.handle.net/20.500.12381/3417 https://hdl.handle.net/20.500.12381/3418 https://hdl.handle.net/20.500.12381/3419 https://hdl.handle.net/20.500.12381/3420 https://hdl.handle.net/20.500.12381/3622 https://hdl.handle.net/20.500.12381/3624 https://hdl.handle.net/20.500.12381/3626 https://hdl.handle.net/20.500.12381/3656 https://hdl.handle.net/20.500.12381/5138 https://doi.org/10.60895/redata/Z8QDEZ https://doi.org/10.60895/redata/NDHQQQ https://doi.org/10.60895/redata/KNERSJ https://doi.org/10.60895/redata/JY5DUS https://hdl.handle.net/20.500.12381/5632 https://hdl.handle.net/20.500.12381/5633 |
| DOI: | https://arxiv.org/abs/2603.17973 https://doi.org/10.48550/arXiv.2603.17973 |
| Institución responsable del proyecto: | Universidad ORT Uruguay |
| Financiadores: | Agencia Nacional de Investigación e Innovación |
| Identificador ANII: | FMV_1_2023_1_175864 |
| Nivel de Acceso: | Acceso abierto |
| Licencia CC: | Reconocimiento 4.0 Internacional. (CC BY) |
| Aparece en las colecciones: | Publicaciones de ANII |
Archivos en este ítem:
| archivo | Descripción | Tamaño | Formato | ||
|---|---|---|---|---|---|
| 2603.17973v2.pdf | Descargar | 523.54 kB | Adobe PDF |
Las obras en REDI están protegidas por licencias Creative Commons.
Por más información sobre los términos de esta publicación, visita:
Reconocimiento 4.0 Internacional. (CC BY)
