arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.09547cs.SEcs.LG
收藏

机器学习项目如何使用持续集成实践?一项关于GitHub Actions的实证研究

How do Machine Learning Projects use Continuous Integration Practices? An Empirical Study on GitHub Actions

Federal University of Rio Grande do Norte(北里奥格兰德州联邦大学);University of Otago(奥塔哥大学);Federal Institute of Rio Grande do Norte(北里奥格兰德州联邦学院)

João Helis Bernardo, Daniel Alencar da Costa, Sérgio Queiroz de Medeiros, Uirá Kulesza

AI总结:

本研究通过分析185个GitHub项目,发现机器学习项目在持续集成中构建时间更长、测试覆盖率较低,并面临独特挑战,为优化CI实践提供了实证依据。

摘要:

持续集成(CI)是传统软件开发中一项成熟的做法,但在机器学习(ML)项目领域,其细微差别仍然相对未被探索。鉴于ML开发的独特性,理解CI实践在此背景下的采用方式对于制定有效方法至关重要。在本研究中,我们对GitHub上的185个开源项目(93个ML项目和92个非ML项目)进行了全面分析。我们的调查涵盖定量和定性两个维度,旨在揭示ML与非ML项目在CI采用上的差异。我们的研究结果表明,ML项目通常需要更长的构建时间,且中型ML项目的测试覆盖率低于非ML项目。此外,与对应的非ML项目相比,小型和中型ML项目在构建时间增长趋势上表现出更高的普遍性。另外,我们的定性分析阐明了ML和非ML项目中围绕CI的讨论,涵盖CI构建执行与状态、CI测试以及CI基础设施等主题。这些见解揭示了ML项目在有效采用CI实践方面所面临的独特挑战。

英文摘要:

Continuous Integration (CI) is a well-established practice in traditional software development, but its nuances in the domain of Machine Learning (ML) projects remain relatively unexplored. Given the distinctive nature of ML development, understanding how CI practices are adopted in this context is crucial for tailoring effective approaches. In this study, we conduct a comprehensive analysis of 185 open-source projects on GitHub (93 ML and 92 non-ML projects). Our investigation comprises both quantitative and qualitative dimensions, aiming to uncover differences in CI adoption between ML and non-ML projects. Our findings indicate that ML projects often require longer build durations, and medium-sized ML projects exhibit lower test coverage compared to non-ML projects. Moreover, small and medium-sized ML projects show a higher prevalence of increasing build duration trends compared to their non-ML counterparts. Additionally, our qualitative analysis illuminates the discussions around CI in both ML and non-ML projects, encompassing themes like CI Build Execution and Status, CI Testing, and CI Infrastructure. These insights shed light on the unique challenges faced by ML projects in adopting CI practices effectively.

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

↑