arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.18182cs.SE
收藏

这个流水线发生了什么?使用 CiDiff 对构建日志进行差异分析

What Happened in This Pipeline? Diffing Build Logs with CiDiff

Nicolas Hubner, Jean-Rémy Falleri, Raluca Uricaru, Thomas Degueule, Thomas Durieux

AI总结:

本文提出 CiDiff 算法,通过文本差异分析辅助 CI 回归调试,在中位数情况下减少约 60% 的检查行数,并在 70% 的回归案例中获得用户偏好。

摘要:

持续集成(CI)被开发者广泛用于确保其软件项目的质量和可靠性。然而,诊断 CI 回归是一个繁琐的过程,涉及对冗长构建日志的手动分析。在本文中,我们探讨了文本差异分析如何支持 CI 回归的调试。由于现成的差异算法产生次优结果,在这项工作中,我们引入了一种专门针对构建日志定制的新差异算法,称为 CiDiff。我们在一个包含 17,906 个 CI 回归的新数据集上,将 CiDiff 与多个基线进行了评估,进行了准确性研究、定量研究和用户研究。值得注意的是,我们的算法在中位数情况下将需要检查的行数减少了约 60%,与当前实践的 LCS-diff 相比,开销合理。最后,在 70% 的回归案例中,我们的算法被大多数参与者所偏好,而 LCS-diff 仅在 5% 的案例中被偏好。

英文摘要:

Continuous integration (CI) is widely used by developers to ensure the quality and reliability of their software projects. However, diagnosing a CI regression is a tedious process that involves the manual analysis of lengthy build logs. In this paper, we explore how textual differencing can support the debugging of CI regressions. As off-the-shelf diff algorithms produce suboptimal results, in this work we introduce a new diff algorithm specifically tailored to build logs called CiDiff. We evaluate CiDiff against several baselines on a novel dataset of 17 906 CI regressions, performing an accuracy study, a quantitative study and a user-study. Notably, our algorithm reduces the number of lines to inspect by about 60 % in the median case, with reasonable overhead compared to the state-of-practice LCS-diff. Finally, our algorithm is preferred by the majority of participants in 70 % of the regression cases, whereas LCS-diff is preferred in only 5 % of the cases.

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

↑