Metraipolis › archive › dc_a602b2498b26

GTDD: Generative Test-Driven Development for AI Coding Agents with Adversarial Testing — arXiv:2610.02952

Source
arXiv
Original
https://arxiv.org/abs/2610.02952
License (as archived)
CC0-1.0
Archived
2026-10-05T23:10:43.838Z
SHA-256 of the archived text
3f8c5ad18efd4c4615f15a1af671ea6927646b7026f1d6006ebfca7765ed2727
Stable URL of this page
https://metraipolis.com/documento/dc_a602b2498b26

How to cite

GTDD: Generative Test-Driven Development for AI Coding Agents with Adversarial Testing — arXiv:2610.02952 — arXiv, https://arxiv.org/abs/2610.02952 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a602b2498b26 (Metraipolis archive dc_a602b2498b26, sha256 3f8c5ad18efd4c4615f15a1af671ea6927646b7026f1d6006ebfca7765ed2727)
BibTeX
@misc{dca602b2498b26,
  title = {GTDD: Generative Test-Driven Development for AI Coding Agents with Adversarial Testing — arXiv:2610.02952},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.02952},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a602b2498b26; sha256 3f8c5ad18efd4c4615f15a1af671ea6927646b7026f1d6006ebfca7765ed2727},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.02952. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Test-driven development gives AI coding agents executable requirements for implementing software. Because these agents can adapt their implementations to the examples they observe, passing a predetermined collection of tests can leave substantial parts of the intended behavior unimplemented. We propose Generative Test-Driven Development (GTDD), a formulation of test-driven development in which a separate testing agent generates new inputs after each candidate implementation is fixed, using a human-specified behavioral contract and the feedback from earlier rounds. A trusted evaluator checks these inputs, returns reduced counterexamples to the coding agent, and saves them for regression testing, so development continually confronts failures beyond the initial examples. We characterize the evidence that this process provides through a finite-population analysis of false acceptance under adaptive candidate selection. The resulting bounds quantify how test visibility and repeated feedback affect acceptance, and show that fresh random audits after candidate commitment control false acceptance across development rounds. In a paired experiment on a stateful key-value store, both policies that regenerated tests during development ended with lower mean failure rates than the policy whose tests were generated once by the same language model, and giving the tester the candidate's source produced no detectable additional improvement. Further conditions requesting equal numbers of tests did not isolate any single feature of the policies as the source of this difference. GTDD combines this adaptive development feedback with established regression tests and an independent acceptance rule.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Machine Learning (cs.LG); Methodology (stat.ME); Machine Learning (stat.ML).
Pagina del lavoro: https://arxiv.org/abs/2610.02952 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-05T23:01:38.756Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).