标记该 issue:在问题跟踪系统中应用 API 领域标签
Tag that issue: Applying API-domain labels in issue tracking systems
AI总结:
本文提出利用受 issue 影响代码中的 API 推断 API 领域标签,并结合 issue 描述与项目历史构建预测模型,用户研究和跨项目实验表明该标签有助于开发者按技能选择任务。
摘要:
用完成 issue 所需的技能来标记 issue,可以帮助贡献者在开源软件项目中选择任务。然而,手动标记 issue 既耗时又容易出错,而且当前的自动化方法大多局限于将 issue 分类为 bug/非 bug。我们研究了用我们所称的“API 领域”(即 API 的高层类别)自动标记 issue 的可行性和相关性。因此,我们假设,受某个 issue 影响的源代码中所使用的 API,可以作为处理该 issue 所需技能类型(例如 DB、security、UI)的代理指标。我们开展了一项用户研究(n=74),以评估 API 领域标签与潜在贡献者的相关性;利用 issue 描述和项目历史构建预测模型;并与项目贡献者(n=20)一起验证了这些预测。我们的结果表明:(i)项目新人认为 API 领域标签有助于选择任务;(ii)这些标签可以被预测,平均精确率为 84%,召回率为 78.6%;(iii)在一个项目上训练并在另一个项目上测试(迁移学习)时,预测结果的精确率最高达到 71.3%,召回率最高达到 52.5%;(iv)项目贡献者认为大多数预测有助于识别所需技能。这些发现表明,我们的方法可以在实践中用于自动标记 issue,帮助开发者找到更符合其技能的任务。
英文摘要:
Labeling issues with the skills required to complete them can help contributors to choose tasks in Open Source Software projects. However, manually labeling issues is time-consuming and error-prone, and current automated approaches are mostly limited to classifying issues as bugs/non-bugs. We investigate the feasibility and relevance of automatically labeling issues with what we call "API-domains," which are high-level categories of APIs. Therefore, we posit that the APIs used in the source code affected by an issue can be a proxy for the type of skills (e.g., DB, security, UI) needed to work on the issue. We ran a user study (n=74) to assess API-domain labels' relevancy to potential contributors, leveraged the issues' descriptions and the project history to build prediction models, and validated the predictions with contributors (n=20) of the projects. Our results show that (i) newcomers to the project consider API-domain labels useful in choosing tasks, (ii) labels can be predicted with a precision of 84% and a recall of 78.6% on average, (iii) the results of the predictions reached up to 71.3% in precision and 52.5% in recall when training with a project and testing in another (transfer learning), and (iv) project contributors consider most of the predictions helpful in identifying needed skills. These findings suggest our approach can be applied in practice to automatically label issues, assisting developers in finding tasks that better match their skills.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。