arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.13852cs.SE
收藏

预测长期贡献者:基于编程语言知识单元的经验研究

Predicting long time contributors with knowledge units of programming languages: an empirical study

Md Ahasanuzzaman, Gustavo A. Oliva, Ahmed E. Hassan

AI总结:

本研究提出基于Java编程语言知识单元(KUs)的KULTC模型,用于早期预测长期贡献者,结合BAOLTC特征后AUC提升16.5%,显著优于现有方法。

摘要:

早期预测潜在的长期贡献者(LTCs)能够使项目维护者有效分配资源和指导,以增强其发展和留存。将编程语言专业知识映射到开发者,并根据项目如何使用编程语言来刻画项目特征,有助于识别更可能成为长期贡献者的开发者。然而,先前关于预测长期贡献者的研究并未考虑编程语言技能。本文报告了一项关于使用Java编程语言知识单元(KUs)预测长期贡献者的经验研究。知识单元是由给定编程语言的一个或多个构建块提供的、一组内聚的关键能力。我们构建了一个名为KULTC的预测模型,该模型利用基于知识单元的特征,涵盖五个不同维度。我们从所研究的75个Java项目(353K次提交和168K个拉取请求)以及所研究开发者先前工作过的4,219个其他Java项目(1.7M次提交)中检测并分析了知识单元。我们将KULTC的性能与最先进的模型(我们称之为BAOLTC)进行比较。尽管KULTC仅专注于编程语言视角,但其AUC中位数至少达到0.75,并显著优于BAOLTC。将KULTC的特征与BAOLTC的特征相结合,得到一个增强模型(KULTC+BAOLTC),其归一化AUC提升16.5%,显著优于BAOLTC。我们使用SHAP进行的特征重要性分析揭示,在所研究项目中的开发者专业知识是预测长期贡献者最具影响力的特征维度。最后,我们开发了一个成本效益高的模型(KULTC_DEV_EXP+BAOLTC),其显著优于BAOLTC。这些令人鼓舞的结果可能有助于研究人员进一步研究开发者对FLOSS项目的参与/留存,或构建预测长期贡献者的模型。

英文摘要:

Predicting potential long-time contributors (LTCs) early allows project maintainers to effectively allocate resources and mentoring to enhance their development and retention. Mapping programming language expertise to developers and characterizing projects in terms of how they use programming languages can help identify developers who are more likely to become LTCs. However, prior studies on predicting LTCs do not consider programming language skills. This paper reports an empirical study on the usage of knowledge units (KUs) of the Java programming language to predict LTCs. A KU is a cohesive set of key capabilities that are offered by one or more building blocks of a given programming language. We build a prediction model called KULTC, which leverages KU-based features along five different dimensions. We detect and analyze KUs from the studied 75 Java projects (353K commits and 168K pull requests) as well as 4,219 other Java projects in which the studied developers previously worked (1.7M commits). We compare the performance of KULTC with the state-of-the-art model, which we call BAOLTC. Even though KULTC focuses exclusively on the programming language perspective, KULTC achieves a median AUC of at least 0.75 and significantly outperforms BAOLTC. Combining the features of KULTC with the features of BAOLTC results in an enhanced model (KULTC+BAOLTC) that significantly outperforms BAOLTC with a normalized AUC improvement of 16.5%. Our feature importance analysis with SHAP reveals that developer expertise in the studied project is the most influential feature dimension for predicting LTCs. Finally, we develop a cost-effective model (KULTC_DEV_EXP+BAOLTC) that significantly outperforms BAOLTC. These encouraging results can be helpful to researchers who wish to further study the developers' engagement/retention to FLOSS projects or build models for predicting LTCs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑