Metraipolis › archive › dc_8a4596554340

KG-Commit: A Dynamic Knowledge Graph for Online Just-in-Time Software Defect Prediction — arXiv:2609.06272

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.06272
License (as archived)
CC0-1.0
Archived
2026-10-16T14:09:02.614Z
SHA-256 of the archived text
310127d09f4af9c9ce73efcabc4df7bdac5ad23bf5bb5a1e4f80e88e41cb1947
Stable URL of this page
https://metraipolis.com/documento/dc_8a4596554340

How to cite

KG-Commit: A Dynamic Knowledge Graph for Online Just-in-Time Software Defect Prediction — arXiv:2609.06272 — arXiv (en), https://arxiv.org/abs/2609.06272 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8a4596554340 (Metraipolis archive dc_8a4596554340, sha256 310127d09f4af9c9ce73efcabc4df7bdac5ad23bf5bb5a1e4f80e88e41cb1947)
BibTeX
@misc{dc8a4596554340,
  title = {KG-Commit: A Dynamic Knowledge Graph for Online Just-in-Time Software Defect Prediction — arXiv:2609.06272},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.06272},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8a4596554340; sha256 310127d09f4af9c9ce73efcabc4df7bdac5ad23bf5bb5a1e4f80e88e41cb1947},
  year = {2026}
}

Archived text

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

Just-in-time software defect prediction (JIT-SDP) aims to identify risky commits as they arrive and provide developers with timely feedback. This need for low latency has led most approaches to rely on commit-level information and overlook the broader project context in which a change occurs. Incorporating this context is challenging because it requires both efficient retrieval for incoming commits and continual maintenance as the repository evolves. We introduce KG-Commit, a dynamic knowledge graph that incrementally maintains repository history, within-file code structure, and commit semantics as the project evolves. It also uses an AST-delta mechanism to track structural changes between file edits and relies on lightweight graph inference running entirely on CPU. Our evaluation on 11 Apache software projects against six baselines shows that KG-Commit achieves the highest aggregate Macro-F1 (0.704), G-Mean (0.706), and AUC (0.809) using our selected inference pipeline. Under a realistic online protocol, it outperforms LR, HGB, RF, and DeepJIT on all 11 projects, LApredict on 10, and JITLine on 9 projects in Macro-F1, with the aggregate paired difference significant in every case. KG-Commit processes each commit in approximately 1.33~s, with a cost that remains stable as the graph grows and is compatible with commit rates observed in real-world projects. These findings show that rich project context can be efficiently maintained and exploited for online JIT-SDP.

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.06272 — 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.366Z 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).