Metraipolis › archive › dc_10807924c6bd
WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses — arXiv:2609.36635
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.36635
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T16:26:12.425Z
- SHA-256 of the archived text
d4d698b857d27749bb9042d6dd6c3b5a41cadab0941ccb08f7a6f392747f58a1- Stable URL of this page
https://metraipolis.com/documento/dc_10807924c6bd
How to cite
WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses — arXiv:2609.36635 — arXiv (en), https://arxiv.org/abs/2609.36635 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_10807924c6bd (Metraipolis archive dc_10807924c6bd, sha256 d4d698b857d27749bb9042d6dd6c3b5a41cadab0941ccb08f7a6f392747f58a1)
BibTeX
@misc{dc10807924c6bd,
title = {WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses — arXiv:2609.36635},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.36635},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_10807924c6bd; sha256 d4d698b857d27749bb9042d6dd6c3b5a41cadab0941ccb08f7a6f392747f58a1},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.36635. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Bug validation asks a coding agent to produce an executable witness for a reported bug. The witness combines a concrete input with a testing harness and exposes faulty behavior during execution. Such evidence makes audit findings actionable, yet benchmark evaluation is difficult when cases reuse public historical bugs and witnesses or require manual construction. We present WitnessGym, an automated framework for constructing bug-validation benchmarks through bug injection. It injects bugs into test-reached paths of real projects, rebuilds each project, and retains cases exposed by a construction-time witness. Bug specifications and execution adapters allow extension to additional bug types and languages. Bug-preserving transformations vary the surrounding structure while preserving the witness behavior. Based on real-world Java projects with test suites, WitnessGym automatically constructs 1,300 benchmark cases. The injected patches resemble historical bug patches and are difficult for the two evaluated models to distinguish in blinded comparisons. We evaluate four coding agent frameworks in six framework/model pairings across bug types, execution contexts, and transformation depths. Witness construction remains difficult even when the bug pattern is known. Our framework, benchmark cases, and evaluation scripts are available. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.AI). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.36635 — 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-07T15:54:53.873Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).