Metraipolis › archive › dc_e2fd8236f3c6

Correct Tests Are Not Enough: Measuring and Training Oracle Conversion in Specification-Based Test Generation — arXiv:2609.05879

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.05879
License (as archived)
CC0-1.0
Archived
2026-10-16T14:09:00.435Z
SHA-256 of the archived text
76b46595c2451df1fb09ea043cf2b255314face29697b5ad90daaa866098521d
Stable URL of this page
https://metraipolis.com/documento/dc_e2fd8236f3c6

How to cite

Correct Tests Are Not Enough: Measuring and Training Oracle Conversion in Specification-Based Test Generation — arXiv:2609.05879 — arXiv (en), https://arxiv.org/abs/2609.05879 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e2fd8236f3c6 (Metraipolis archive dc_e2fd8236f3c6, sha256 76b46595c2451df1fb09ea043cf2b255314face29697b5ad90daaa866098521d)
BibTeX
@misc{dce2fd8236f3c6,
  title = {Correct Tests Are Not Enough: Measuring and Training Oracle Conversion in Specification-Based Test Generation — arXiv:2609.05879},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.05879},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e2fd8236f3c6; sha256 76b46595c2451df1fb09ea043cf2b255314face29697b5ad90daaa866098521d},
  year = {2026}
}

Archived text

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

Generating tests from a natural-language specification requires both an input that exposes faulty behavior and a correct expected output. These requirements need not improve together: a model can increase test correctness by choosing easier inputs, or discover useful inputs whose expected outputs it cannot predict. We study this interaction through executable reward decomposition and suite-level oracle-conversion measurement. Our generator jointly emits five input--output tests in one response. During training, audited reference programs provide correctness feedback, while a fixed bank of faulty programs provides two utility signals: potential input kill and effective kill after checking the generated output. An additive GRPO objective preserves both signals without requiring execution at inference time. On an audited TC-Bench split with 506 training and 142 evaluation tasks, three independently trained Qwen3.5-9B runs at step 75 increase full-test correctness from 28.59\% to 42.54\%, input kill from 24.06\% to 25.27\%, and effective full kill from 12.23\% to 14.15\%. Matched 50-step ablations reveal a trade-off: removing kill rewards yields higher correctness and slightly higher full kill, but lowers input kill to 21.60\%. A fixed-input source--oracle crossover on 64 training-pool tasks attributes the principal NoKill-to-FullKill difference to harder input selection rather than worse output prediction on identical inputs. These results identify oracle conversion as a measurable bottleneck and show the benefits and limits of preserving input-utility feedback in joint test generation.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-09 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.05879 — 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-16T13:58:36.348Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).