Accurate assessment of the domain expertise of developers is important for assigning the proper candidate to contribute to a project or to attend a job role. Since the potential candidate can come from a large pool, the automated assessment of this domain expertise is a desirable goal. While previous methods have had some success within a single software project, the assessment of a developer's domain expertise from contributions across multiple projects is more challenging. In this paper, we employ doc2vec to represent the domain expertise of developers as embedding vectors. These vectors are derived from different sources that contain evidence of developers' expertise, such as the description of repositories that they contributed, their issue resolving history, and API calls in their commits. We name it dev2vec and demonstrate its effectiveness in representing the technical specialization of developers. Our results indicate that encoding the expertise of developers in an embedding vector outperforms state-of-the-art methods and improves the F1-score up to 21%. Moreover, our findings suggest that ``issue resolving history'' of developers is the most informative source of information to represent the domain expertise of developers in embedding spaces.
Representation of Developer Expertise in Open Source Software
The University of Tennessee(田纳西大学)
背景:开发人员专业知识的准确表示一直是一个重要的研究问题。虽然一些研究提出了在单个项目中代表专业知识的新方法,但这些方法很难在生态系统层面上应用。然而,随着软件开发的重点从单一转向模块,在整个开放源码软件开发的背景下,例如,当一个项目试图寻找新的维护人员和具有相关技能的开发人员时,就有必要采用一种方法来代表开发人员的专门知识。目的:我们的目标是通过提出和构建技能空间来解决这个知识缺口,每个API,开发人员和项目都代表了这个空间,并假设这个空间的拓扑结构应该如何反映开发人员的知识(和项目需要)。方法:我们使用World of Code基础设施来提取开源开发人员更改的文件中的完整API集,并基于这些数据,使用Doc 2 Vec嵌入来表示API,开发人员和项目的矢量。然后,我们通过预测开发人员使用/加入的新API/项目以及他们的拉取请求是否被接受来评估这些嵌入是否反映了技能空间的假设拓扑。我们还检查开发人员在技能空间中的表示如何与他们自我报告的API专业知识保持一致。测试结果:我们的研究结果表明,在技能空间中提出的嵌入似乎满足假设的拓扑结构,我们希望这样的表示可以帮助构建信号,提高整个开源生态系统的信任(和效率),并有助于调查与开发人员熟练程度和学习相关的其他现象。
Expertise-Based Developer Assignment for Long-Term Software Components in Open-Source Projects
Zayed University(扎耶德大学);University of Adelaide(阿德莱德大学);National University of Computer and Emerging Sciences(国家计算机与新兴科学大学);Heriot-Watt University(赫瑞-瓦特大学)