Metraipolis › archive › dc_44896598be42
Beyond Pass@k: Measuring Reliability and Security of Agentic Code Generation — arXiv:2608.14711
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.14711
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T17:08:05.871Z
- SHA-256 of the archived text
f8862a6da1a8e562aae1d3517ca098500879da32c1377c3579553754ec51de86- Stable URL of this page
https://metraipolis.com/documento/dc_44896598be42
How to cite
Beyond Pass@k: Measuring Reliability and Security of Agentic Code Generation — arXiv:2608.14711 — arXiv (en), https://arxiv.org/abs/2608.14711 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_44896598be42 (Metraipolis archive dc_44896598be42, sha256 f8862a6da1a8e562aae1d3517ca098500879da32c1377c3579553754ec51de86)
BibTeX
@misc{dc44896598be42,
title = {Beyond Pass@k: Measuring Reliability and Security of Agentic Code Generation — arXiv:2608.14711},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.14711},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_44896598be42; sha256 f8862a6da1a8e562aae1d3517ca098500879da32c1377c3579553754ec51de86},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.14711. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
AI coding agent benchmarks rank agents with the Chen et al. (2021) pass@k estimator, but current implementations misapply it: they set n to the number of unit tests in a single submission rather than the number of independent rollout attempts, conflating test-suite size with attempt independence. We diagnose this operationalization error, prove it by counterexample, and propose reliability@k, the same estimator applied correctly, with n = independent rollouts and c = fully-passing rollouts per (task, agent) pair. In a synthetic multi-rollout benchmark, the misapplied metric inflates reported scores by 0.85-0.97 in absolute terms (0.96-0.98 reported vs. 0.00-0.12 corrected), and a cheap single-rollout proxy fails to substitute for repeated runs (Spearman $\rho = 0.417$). Motivated by evidence that functional correctness does not imply security safety, we additionally propose security-adjusted reliability@k, which counts only rollouts that are both functionally correct and free of high-severity insecure patterns. In an initial live-API test with three agents, the adjustment did not change any ranking under our current scanner and threshold, so we present it as a proposed complementary lens whose decisive evaluation requires better-powered future runs. Finally, a preliminary 5-task SWE-bench Verified pilot observes the same core concern in a real repository setting: macro-averaged hidden-test pass rate was 0.80 while strict task resolution was 0.20. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-18 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.14711 — 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-18T16:29:13.728Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).