计算机科学
正确性
提交
数据挖掘
残余物
特征(语言学)
构造(python库)
推论
人工智能
精确性和召回率
基本事实
样品(材料)
机器学习
质量保证
质量(理念)
协议(科学)
假阳性悖论
预测建模
光学(聚焦)
交叉验证
虚假关系
集合(抽象数据类型)
多种型号
可靠性(半导体)
数据质量
模式识别(心理学)
特征选择
软件错误
模型验证
透视图(图形)
可靠性工程
作者
Peter Bludau,Alexander Pretschner
标识
DOI:10.1007/s11219-026-09796-x
摘要
Just-in-time defect prediction identifies defect-inducing commits at commit time to focus quality assurance efforts, but its validity depends on the quality of underlying defect datasets, typically generated using SZZ-based algorithms. Because the correctness of these datasets is discussed frequently, this study sets out to quantify how residual SZZ errors propagate into just-in-time defect prediction evaluation. We construct a manually validated ground-truth sample covering 420 commits across 6 open-source projects and provide a stratified, weighted evaluation protocol for estimating population-level performance. Using this sample, we evaluate PR-SZZ-generated datasets and reassess state-of-the-art model performance. We find that PR-SZZ generates wrong defect labels for approximately 12% of commits, mainly through false positives. When just-in-time defect prediction models learned on these defect datasets are evaluated against manual ground truth rather than PR-SZZ labels, average model recall drops from 0.72 to 0.64 and precision from 0.27 to 0.19, indicating that SZZ-based evaluations can substantially misrepresents real model performance. We also find that previously reported performance improvements gained by feature engineering only partly persist under manual evaluation, suggesting that added model capacity may capture systematic labeling errors rather than genuine defect-inducing behavior, particularly as feature characteristics can correlate with SZZ mechanisms. Overall, our findings highlight the need for reliable ground-truth inference and rigorous evaluation practices.
科研通智能强力驱动
Strongly Powered by AbleSci AI