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

D-Diff:基于可编辑三路差异的提交边界调整交互式环境

D-Diff: An Interactive Environment for Adjusting Commit Boundaries Based on an Editable 3-way Diff

Daiki Muto, Takayoshi Ueno, Shinpei Hayashi

arXiv 2608.22207首次发表:更新:

AI 中文总结

D-Diff是针对含相同单一文件的连续提交的交互式差异调整环境,整合两路差异为紧凑视图,用户研究显示其效率显著优于基准工具,获更高可用性反馈且准确性无显著差异。

AI 中文摘要

在版本控制中,建议每次提交仅包含与单一任务相关的变更。为遵循该建议,开发者可能需要调整提交边界,即比较并修改两个连续提交之间的差异(diff)。现有工具要么仅一次显示单一差异,迫使开发者依赖记忆进行差异比较;要么同时显示三个文件,却不展示两个连续差异,迫使开发者自行推断,两者均会增加认知负担并阻碍调整。为支持该过程,我们提出D-Diff,这是一种针对两个包含相同单一文件的连续提交的交互式差异调整环境。基于三路差异(3-way diff)显示,D-Diff将两个差异整合为单一紧凑视图,同时提供修改差异的方式。我们开展了包含8名参与者的被试内用户研究,结果显示,在效率方面,D-Diff显著优于基准工具,将中位数调整时间从530秒缩短至230秒(约57%);在所有可用性问卷项中,D-Diff获得了更高比例的积极反馈,而在准确性方面未发现统计学意义上的显著差异。

英文摘要

In version control, it is recommended that each commit include only changes related to one task. To follow this recommendation, developers may need to adjust commit boundaries, that is, to compare and modify the diffs between two consecutive commits. Existing tools either display only a single diff at a time, forcing developers to rely on their memory when comparing diffs, or display three files simultaneously without showing the two consecutive diffs, forcing developers to infer them; both increase their cognitive load and hamper the adjustment. As a first step toward supporting this process, we propose D-Diff, an interactive diff adjustment environment for two consecutive commits that each involve the same single file. Based on a 3-way diff display, D-Diff integrates the two diffs into a single compact view, which also provides a way to modify them. A within-subjects user study with 8 participants showed that D-Diff significantly outperforms a baseline tool in terms of efficiency, reducing the median adjustment time from 530 seconds to 230 seconds (approximately 57%). D-Diff also received a higher percentage of positive responses across all usability questionnaire items, while no statistically significant difference was found in accuracy.

Comments11 pages, 8 figures. Accepted at the 14th IEEE Working Conference on Software Visualization (VISSOFT 2026)

论文原文

arXiv 摘要页 · PDF 原文 · HTML 原文

↑