arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.00639cs.SE
收藏

关于创建软件仓库代表性样本

On the Creation of Representative Samples of Software Repositories

June Gorostidi, Adem Ait, Jordi Cabot, Javier Luis Cánovas Izquierdo

AI总结:

针对软件仓库抽样常依赖随机选择或无关变量的问题,提出一种兼顾仓库总体特征与实证研究需求的代表性样本创建方法,并以 Hugging Face 仓库用例验证。

摘要:

软件仓库是实证软件工程中的数据来源之一,主要体现在挖掘软件仓库领域,旨在从软件项目的动态和实践中提取知识。随着 GitHub 等社交编码平台的出现,研究人员如今可以访问数百万个软件仓库,将其用作研究的源数据。面对如此海量的数据,需要采用抽样技术来创建更易于管理的数据集。这些数据集的创建是关键步骤,研究人员必须谨慎选择仓库,以便根据一组感兴趣的变量创建具有代表性的样本。然而,当前的抽样方法通常基于随机选择,或依赖可能与研究无关的变量(例如流行度或活跃度)。在本文中,我们提出了一种创建软件仓库代表性样本的方法,其中这种代表性与仓库总体的特征以及实证研究的需求都适当地保持一致。我们通过基于 Hugging Face 仓库的用例来说明我们的方法。

英文摘要:

Software repositories is one of the sources of data in Empirical Software Engineering, primarily in the Mining Software Repositories field, aimed at extracting knowledge from the dynamics and practice of software projects. With the emergence of social coding platforms such as GitHub, researchers have now access to millions of software repositories to use as source data for their studies. With this massive amount of data, sampling techniques are needed to create more manageable datasets. The creation of these datasets is a crucial step, and researchers have to carefully select the repositories to create representative samples according to a set of variables of interest. However, current sampling methods are often based on random selection or rely on variables which may not be related to the research study (e.g., popularity or activity). In this paper, we present a methodology for creating representative samples of software repositories, where such representativeness is properly aligned with both the characteristics of the population of repositories and the requirements of the empirical study. We illustrate our approach with use cases based on Hugging Face repositories.

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

↑