paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Planning for untangling

为合并冲突排解而规划
ICSE Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering2020匹配度 2/10 · 论文将机器学习用于预测 Java 合并冲突解决难度,属于软件工程/开发者工具方向,与用户关注的静态分析、LLM/Agent 改进程序分析、浮点程序分析或贝叶斯程序分析均无直接关联。其方法也不是面向 Agentic 程序或 ML 系统的静态分析,因此匹配度较低。引用 19 inbox
Caius Brindescu, Iftekhar Ahmed, Rafael Leano, Anita Sarma
crossref: 2026-09-12

AI 速览

一句话:通过分析 Java 项目合并冲突,用机器学习预测冲突解决难度,帮助开发者规划冲突排解。

协作开发中合并冲突不可避免且常打断工作。开发者需要理解冲突并规划解决方案,但并非所有冲突难度相同,现有工具很少支持难度预判。本文分析 128 个 Java 项目中的 6,380 个合并冲突,考察困难冲突的特征,并训练机器学习分类器(如 bagging)来自动分类冲突难度。结果表明,合并冲突难度可以被较准确预测,AUC 达到 0.76。作者还识别了导致冲突困难的因素,以帮助工具构建者优先检测和警告高难度冲突,从而改善开发者的冲突排解规划。

问题
现有工具缺乏对合并冲突解决规划的支持,尤其无法预判哪些冲突更难解决。
方法
分析 128 个 Java 项目中的 6,380 个合并冲突,提取特征并用机器学习算法(如 bagging)自动分类冲突难度。
评估
在 6,380 个冲突数据集上评估预测效果,AUC 为 0.76,并分析困难冲突的 underlying factors。
原文摘要(Abstract)

Merge conflicts are inevitable in collaborative software development and are disruptive. When they occur, developers have to stop their current work, understand the conflict and the surrounding code, and plan an appropriate resolution. However, not all conflicts are equally problematic---some can be easily fixed, while others might be complicated enough to need multiple people. Currently, there is not much support to help developers plan their conflict resolution. In this work, we aim to predict the difficulty of a merge conflict so as to help developers plan their conflict resolution. The ability to predict the difficulty of a merge conflict and to identify the underlying factors for its difficulty can help tool builders improve their conflict detection tools to prioritize and warn developers of difficult conflicts. In this work, we investigate the characteristics of difficult merge conflicts, and automatically classify them. We analyzed 6,380 conflicts across 128 java projects and found that merge conflict difficulty can be accurately predicted (AUC of 0.76) through machine learning algorithms, such as bagging.

链接与引用

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

BibTeX
@inproceedings{paperbot5565,
  title = {Planning for untangling},
  author = {Caius Brindescu and Iftekhar Ahmed and Rafael Leano and Anita Sarma},
  booktitle = {ICSE},
  year = {2020},
  doi = {10.1145/3377811.3380344}
}