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

DRS-OSS:用于持续集成工作流的差异风险评分工具

DRS-OSS: A Diff-Risk Scoring Tool for Continuous Integration Workflows

Concordia University(康科迪亚大学);University of Tennessee, Knoxville(田纳西大学诺克斯维尔分校)

Ali Sayedsalehi, Peter C. Rigby, Audris Mockus

AI总结:

提出开源差异风险评分工具DRS-OSS,通过可部署管道结合提交信息、差异和变更指标预测风险,在ApacheJIT上达到0.895 ROC-AUC,优于基线。

摘要:

软件团队需要变更风险评分来指导持续集成决策,例如在合并或发布有风险的变更之前进行审查优先级排序、测试调度和下游验证。然而,开源团队通常缺乏在日常CI工作流中呈现这些风险信号的可部署工具。我们提出了DRS-OSS,一个用于持续集成工作流的开源差异风险评分工具。DRS-OSS被设计为一个可部署且可定制的管道,而不是一个独立的预测模型。它结合了REST API网关、容器化模型服务、开发者仪表板、GitHub集成以及一个复制包,允许用户重新训练或用其他Transformer模型替换后端。捆绑的工作流将提交消息、提交差异和变更指标整合到一个风险预测管道中。默认打包的后端使用Llama 3.1 8B序列分类器,配置为处理长差异。其训练方案使用参数高效微调、量化、CPU卸载和定制辅助脚本,以便在适中的硬件上进行适配。我们将DRS-OSS与类似工具进行比较,并在ApacheJIT上评估捆绑的分类器,其ROC-AUC达到0.895,优于先前的基线。从用户反馈的角度来看,DRS-OSS已引起Uber、Duolingo和Microsoft的兴趣,他们正在将该工作流适配到自己的持续集成环境中。完整工具已发布,包含源代码、定制脚本、部署工件、公共仓库、此http URL的实时演示以及此http URL的演示视频。

英文摘要:

Software teams need change-risk scores that can guide continuous integration decisions such as review prioritization, test scheduling, and downstream validation before risky changes are merged or released. However, open-source teams often lack deployable tools for surfacing these risk signals in everyday CI workflows. We present DRS-OSS, an open-source diff-risk scoring tool for continuous integration workflows. DRS-OSS is designed as a deployable and customizable pipeline rather than as a standalone prediction model. It combines a REST API gateway, containerized model services, a developer dashboard, GitHub integration, and a replication package that lets users retrain or replace the backend with other transformer models. The bundled workflow combines commit messages, commit diffs, and change metrics in a single risk-prediction pipeline. The default packaged backend uses a Llama 3.1 8B sequence classifier configured for long diffs. Its training recipe uses parameter-efficient tuning, quantization, CPU offloading, and customization helper scripts so that it can be adapted on modest hardware. We compare DRS-OSS with similar tools and evaluate the bundled classifier on ApacheJIT, where it reaches an ROC-AUC of 0.895 and outperforms prior baselines. From a user-feedback perspective, DRS-OSS has received interest from Uber, Duolingo, and Microsoft in adapting the workflow to their own continuous integration settings. The full tool is released with source code, customization scripts, deployment artifacts, a public repository, a live demo at worldofcode.org/drs, and a demonstration video at youtube.com/watch?v=2FzeRRdNaco.

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

↑