English

Human-in-the-loop online just-in-time software defect prediction

Software Engineering 2023-08-29 v1

Abstract

Online Just-In-Time Software Defect Prediction (O-JIT-SDP) uses an online model to predict whether a new software change will introduce a bug or not. However, existing studies neglect the interaction of Software Quality Assurance (SQA) staff with the model, which may miss the opportunity to improve the prediction accuracy through the feedback from SQA staff. To tackle this problem, we propose Human-In-The-Loop (HITL) O-JIT-SDP that integrates feedback from SQA staff to enhance the prediction process. Furthermore, we introduce a performance evaluation framework that utilizes a k-fold distributed bootstrap method along with the Wilcoxon signed-rank test. This framework facilitates thorough pairwise comparisons of alternative classification algorithms using a prequential evaluation approach. Our proposal enables continuous statistical testing throughout the prequential process, empowering developers to make real-time decisions based on robust statistical evidence. Through experimentation across 10 GitHub projects, we demonstrate that our evaluation framework enhances the credibility of model evaluation, and the incorporation of HITL feedback elevates the prediction performance of online JIT-SDP models. These advancements hold the potential to significantly enhance the value of O-JIT-SDP for industrial applications.

Keywords

Cite

@article{arxiv.2308.13707,
  title  = {Human-in-the-loop online just-in-time software defect prediction},
  author = {Xutong Liu and Yufei Zhou and Yutian Tang and Junyan Qian and Yuming Zhou},
  journal= {arXiv preprint arXiv:2308.13707},
  year   = {2023}
}

Comments

16 pages, 10 figures

R2 v1 2026-06-28T12:04:48.170Z