自动检测问题跟踪器中的类型化链接
Automated Detection of Typed Links in Issue Trackers
摘要:
软件项目中的利益相关者使用JIRA等问题跟踪器来捕获和管理问题,包括需求和错误。为了简化问题导航和结构化项目知识,利益相关者通过反映不同依赖关系的某些类型的链接(例如Epic-、Block-、Duplicate-或Relate-链接)手动连接问题。基于15个JIRA存储库的大型数据集,我们研究了最先进的机器学习模型如何自动检测常见的链接类型。我们发现,在链接问题的标题和描述上训练的纯BERT模型明显优于其他优化的深度学习模型,在检测所有存储库中的9种流行链接类型时,平均宏观F1得分为0.64(加权F1得分为0.73)。对于特定的Subtask和Epic链接,该模型分别获得了0.89和0.97的最高F1分数。我们的模型不仅仅是学习问题的文本相似性。一般来说,较短的问题文本似乎可以提高预测精度,具有-0.70的强负相关性。我们发现,Relate-links经常与其他链接混淆,这表明它们可能在不清楚的情况下被用作默认链接。我们还观察到不同的存储库之间存在着显著的差异,这取决于它们是如何使用的,以及由谁使用的。
英文摘要:
Stakeholders in software projects use issue trackers like JIRA to capture and manage issues, including requirements and bugs. To ease issue navigation and structure project knowledge, stakeholders manually connect issues via links of certain types that reflect different dependencies, such as Epic-, Block-, Duplicate-, or Relate- links. Based on a large dataset of 15 JIRA repositories, we study how well state-of-the-art machine learning models can automatically detect common link types. We found that a pure BERT model trained on titles and descriptions of linked issues significantly outperforms other optimized deep learning models, achieving an encouraging average macro F1-score of 0.64 for detecting 9 popular link types across all repositories (weighted F1-score of 0.73). For the specific Subtask- and Epic- links, the model achieved top F1-scores of 0.89 and 0.97, respectively. Our model does not simply learn the textual similarity of the issues. In general, shorter issue text seems to improve the prediction accuracy with a strong negative correlation of -0.70. We found that Relate-links often get confused with the other links, which suggests that they are likely used as default links in unclear cases. We also observed significant differences across the repositories, depending on how they are used and by whom.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。