paperbot · PL 论文追踪

全部论文 待读 收藏

P1 ArtifactSync: Automated Repository Synchronization through Hierarchical Change Impact Analysis

ArtifactSync:通过层次化变更影响分析实现仓库自动同步
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 5/10 · 论文处于 LLM+软件工程/变更影响分析的交叉点,与 LLM 辅助程序分析有间接关联;但其核心是跨工件一致性维护与文档/测试同步,而非静态分析或形式化验证,也不涉及 ML/Agentic 程序静态分析、浮点或贝叶斯程序分析。引用 0 inbox
Ebube Alor, João Pedro de Souza Olivo Tardivo, SayedHassan Khatoonabadi, Emad Shihab
crossref: 2026-09-12

AI 速览

一句话:ArtifactSync 用 LLM 做层次化变更影响分析,自动识别并修复代码变更后过时的文档与测试等工件。

当开发者修改源代码时,文档、测试等相关工件往往随之过时,形成难以手工修复的跨工件不一致。ArtifactSync 利用大语言模型来维护跨工件一致性:LLM 能理解代码、文档与测试等异构工件之间的语义关联,这是传统静态分析难以捕捉的。该方法采用层次化变更影响分析,从扫描文件名开始,逐步对不确定的文件“放大”,仅在必要时请求更详细的上下文,从而使大型仓库上的评估既可行又具成本效益。工具同时实现为命令行程序与交互式 VS Code 扩展,在编辑器中为每处不一致给出清晰解释和可直接应用的可操作修复。作者在两个开源仓库上的初步评估显示,ArtifactSync 在识别受影响工件与生成相应修复两方面准确率最高可达 100%。

问题
源码变更后文档与测试等相关工件容易过时,造成难以人工修复的跨工件不一致。
方法
借助 LLM 理解跨异构工件的语义关系,并采用层次化变更影响分析(从文件名扫描逐步细化、按需请求更详细上下文)定位受影响工件并生成修复。
评估
在两个开源仓库上进行初步评估,报告受影响工件识别与修复生成的准确率最高达 100%;工具以命令行工具与 VS Code 扩展两种形式提供。
原文摘要(Abstract)

When developers change source code, related artifacts like documentation and tests often become outdated, creating inconsistencies that are difficult to fix manually. We introduce ArtifactSync, a tool that leverages Large Language Models (LLMs) for automated cross-artifact consistency maintenance. LLMs are uniquely suited for this task because they can understand semantic relationships across diverse artifact types, such as code, documentation, and tests that traditional static analysis cannot capture. ArtifactSync performs change impact analysis using a hierarchical approach that starts by scanning file names and progressively “zooms in” on uncertain files, requesting more detailed context only when necessary. This targeted change impact analysis makes the evaluation of large repositories both feasible and cost-effective. ArtifactSync is implemented as both a command-line tool and an interactive VS Code extension. Within the editor, it presents each detected inconsistency with a clear explanation and an actionable fix that developers can apply directly. Our preliminary evaluation across two open-source repositories shows that ArtifactSync achieved up to 100% accuracy in both identifying impacted artifacts and generating corresponding fixes. A demonstration is available at https://youtu.be/AfLe_I_OnA0 and the tool at https://github.com/Alor-e/artifact-sync.

链接与引用

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

BibTeX
@inproceedings{paperbot11943,
  title = {ArtifactSync: Automated Repository Synchronization through Hierarchical Change Impact Analysis},
  author = {Ebube Alor and João Pedro de Souza Olivo Tardivo and SayedHassan Khatoonabadi and Emad Shihab},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3774748.3787617}
}