Metraipolis › archive › dc_0526a7c38857
ExecCritic: Learn to Test, Test to Improve for Coding Agents — arXiv:2609.09133
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.09133
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T12:58:35.686Z
- SHA-256 of the archived text
25d9c00ba301749d0b6c36df11c4835beef1346b9c9c1916b39be58483c1344b- Stable URL of this page
https://metraipolis.com/documento/dc_0526a7c38857
How to cite
ExecCritic: Learn to Test, Test to Improve for Coding Agents — arXiv:2609.09133 — arXiv (en), https://arxiv.org/abs/2609.09133 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0526a7c38857 (Metraipolis archive dc_0526a7c38857, sha256 25d9c00ba301749d0b6c36df11c4835beef1346b9c9c1916b39be58483c1344b)
BibTeX
@misc{dc0526a7c38857,
title = {ExecCritic: Learn to Test, Test to Improve for Coding Agents — arXiv:2609.09133},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.09133},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0526a7c38857; sha256 25d9c00ba301749d0b6c36df11c4835beef1346b9c9c1916b39be58483c1344b},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.09133. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Execution feedback can guide coding agents toward correct repository repairs, but only when the tests capture the behavior requested by the issue. Agent-generated tests can encode incomplete or incorrect behavioral targets; when the same trajectory writes both the patch and the test, their errors can agree and create false confidence. We introduce ExecCritic, combining a test--verify--revise scaffold with a role-specific reinforcement learning recipe for training agents within it. The scaffold separates test construction from source-code repair: a Test agent independently generates repository-native tests, a fail-closed harness qualifies and freezes them, and a Repair agent revises source code from their execution feedback without changing the tests. Both roles use Qwen-3.5-35B-A3B as the backbone and are trained separately. In Learn to Test, the Test agent learns to produce behaviorally valid tests that distinguish correct from incorrect patches. In Test to Improve, the Repair agent learns both direct task resolution and feedback-guided revision. On SWE-bench Verified, test quality determines whether feedback helps: holding the base Repair agent fixed, tests from the base Test agent reduce resolved rate from a no-test baseline of 61.2% to 57.3%, whereas tests from GPT-5.6-sol raise it to 65.3%. Role-specific post-training raises the Qwen Test agent's Base-to-Gold success from 22.2% to 62.2%; composing the two post-trained Qwen agents reaches 72.6%, an 11.4-point gain over the original no-test baseline without stronger-model or Oracle feedback at evaluation time. Code is publicly available at this https URL . Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-09 in cs.CL). Categorie arXiv: Artificial Intelligence (cs.AI) ; Computation and Language (cs.CL); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.09133 — 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-16T12:30:25.384Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).