paperbot · PL 论文追踪

全部论文 待读 收藏

P2 BackportCheck: An Open-Source Tool to Support Backport Decisions in Large Software Ecosystems

BackportCheck:一个支持大型软件生态系统中后向移植决策的开源工具
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 2/10 · 该工作属于机器学习用于软件维护/代码评审决策支持的工程工具(XGBoost+LLM 预测 backport 安全性),与用户核心关注的静态分析、形式化验证、浮点程序分析、贝叶斯程序分析及其与 LLM 的交叉均无直接交集;仅在 LLM 作为工具和工业落地(OpenStack/Gerrit)方面有微弱关联。引用 0 inbox
Salma Sghaier, Mohamed Anas Daoud, Marouene Chaieb, Moataz Chouchen, Mohammad Hamdaqa, Mohamed Wiem Mkaouer
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 Chrome 扩展 BackportCheck,用 XGBoost 加 LLM 预测 Gerrit 变更可否安全 backport 并给出理由。

在 OpenStack 等大型生态中,向稳定分支后向移植(backport)变更是关键但高风险的维护任务,许多仓库要求显式的 backport 投票才能合并或发布,然而判断哪些变更可安全 backport 仍主要靠人工,导致决策延迟与不一致。本文提出 BackportCheck,一个集成在 Gerrit 代码评审界面中的 Chrome 扩展决策支持工具。其核心是一个基于历史流程数据训练的梯度提升模型(XGBoost),用于预测 backport 决策,并辅以大型语言模型(LLM)生成简洁、可读的理由解释。作者在 3,422 个 OpenStack 变更上评估工具的实用性与可用性,准确率达 81.31%,端到端平均响应时间为 1.39 秒,优于基于 CodeBERT 的分类器和单独使用的 LLM。工具已在 GitHub 开源并提供演示视频。

问题
大型软件生态(如 OpenStack)中,判断哪些变更可以安全后向移植到稳定分支仍依赖人工,造成显著的决策延迟与不一致。
方法
实现 Gerrit 评审界面的 Chrome 扩展,使用在历史流程数据上训练的 XGBoost 梯度提升模型进行 backport 决策预测,并借助 LLM 生成人类可读的决策理由。
评估
在 3,422 个 OpenStack 变更上评估实用性与可用性,取得 81.31% 的准确率和 1.39 秒的平均端到端响应时间,并与 CodeBERT 分类器及单独使用的 LLM 进行对比。
原文摘要(Abstract)

Backporting changes to stable releases is a critical yet high-stakes maintenance task. In practice, large-scale ecosystems like Open-Stack rely on explicit governance rules for stable branches, where many repositories enforce that changes cannot be merged or released without an explicit backport-related vote (e.g., Backport-Candidate). However, identifying changes that are safe to back-port remains largely manual, leading to significant decision latency and inconsistency. To alleviate this challenge, we present BackportCheck, a decision-support tool implemented as a Chrome extension for the Gerrit code review interface. BackportCheck is based on a Gradient Boosting model (XGBoost), trained on historical process data, combined with a Large Language Model (LLM) that generates concise, human-readable justifications for predicted backport decisions. We evaluate BackportCheck for both usefulness and usability across 3,422 OpenStack changes, achieving 81.31% accuracy while maintaining a mean end-to-end response time of 1.39 seconds, outperforming CodeBERT-based classifiers and standalone LLMs. BackportCheck is available via GitHub1. A video demonstrating the tool usage is available on YouTube2.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{SghaierDCCHM26,
  title = {BackportCheck: An Open-Source Tool to Support Backport Decisions in Large Software Ecosystems},
  author = {Salma Sghaier and Mohamed Anas Daoud and Marouene Chaieb and Moataz Chouchen and Mohammad Hamdaqa and Mohamed Wiem Mkaouer},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3806423}
}