Metraipolis › archive › dc_2039fb7e831e
KG-AST for Cheaper CI/CD: Budgeted Test Selection and AI Bug Review — arXiv:2611.06950
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.06950
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-06T14:42:06.725Z
- SHA-256 of the archived text
57e8077bf43b2fa327058c41bbefa00ffb9f02ee01c8855fd1d3fe7d801a62e9- Stable URL of this page
https://metraipolis.com/documento/dc_2039fb7e831e
How to cite
KG-AST for Cheaper CI/CD: Budgeted Test Selection and AI Bug Review — arXiv:2611.06950 — arXiv (en), https://arxiv.org/abs/2611.06950 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2039fb7e831e (Metraipolis archive dc_2039fb7e831e, sha256 57e8077bf43b2fa327058c41bbefa00ffb9f02ee01c8855fd1d3fe7d801a62e9)
BibTeX
@misc{dc2039fb7e831e,
title = {KG-AST for Cheaper CI/CD: Budgeted Test Selection and AI Bug Review — arXiv:2611.06950},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.06950},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2039fb7e831e; sha256 57e8077bf43b2fa327058c41bbefa00ffb9f02ee01c8855fd1d3fe7d801a62e9},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.06950. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Continuous integration and AI-assisted review spend the same budget on every commit, although few commits introduce bugs. We study KG-AST, which scores each commit risk from git history and code-graph features before heavy tests or AI review run, so the budget goes to the riskiest commits first, and which hands the AI reviewer only a graph slice around the change. On 155 open-source projects in 11 languages, a single cross-language model trained on other projects ranks commits so that heavy testing of the riskiest 20% covers 49-64% of bug-introducing commits depending on the language, against 20% for random selection and 40-55% for testing the biggest change first. Every language beats the biggest-change baseline, by 3.8 to 13.2 points. In 20 Java projects the gain at a 20% budget is 15.1 points (64.6% vs 49.5%, 95% interval +11.6 to +18.4), and the model wins in 19 of the 20 projects. About twelve training projects suffice; richer features, tuning and cleaner labels did not help. An AI reviewer that sees only a commit's diff finds 26% of later-fixed defects exactly (32% with graph context), and about half of its findings that did not match a later fix were judged real by independent AI judges. A static call-graph selector runs about 8% of a test suite while including a test written for the fix in 85% of 67 fix commits. The Poincare embedding used in our retrieval work adds nothing measurable here: commit-risk AUC, bug review and severity ranking are unchanged or worse. The labels are noisy and the budget metric assumes a heavy test catches the bug it covers; no CI minutes were measured. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2611.06950 — 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-11-06T14:18:42.663Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).