只有时间才能证明:用时变超图对代码评审中的信息扩散建模
Only Time Will Tell: Modelling Information Diffusion in Code Review with Time-Varying Hypergraphs
摘要:
背景资料:现代代码审查有望促进知识共享:所有相关信息、集体专业知识和围绕代码变更及其上下文的元信息在相应的代码审查讨论中变得明显、透明和明确。讨论参与者可以在下面的代码评审中利用这些信息;这些信息通过代码评审中出现的通信网络传播。传统的时间聚合图在渲染信息扩散方面存在不足,因为这些模型忽略了信息交换的时间顺序:信息只能在首先可用的情况下才能传递。目的:本文提出了一种基于时变超图的信息扩散渲染模型,克服了传统的基于时间聚合图的模型的固有局限性。方法:在计算机模拟实验中,我们模拟了微软内部代码审查中的信息扩散,并显示了时间对信息扩散的一个关键特征的经验影响:可达参与者的数量。结果如下:时间聚合显著地高估了通信网络中可用的信息扩散的路径,因此,对于建模和测量从代码审查中出现的通信网络内的信息的传播来说,既不精确也不准确。结论:我们的模型克服了传统的,静态的或时间聚合的,基于图的通信模型的固有局限性,并通过代码审查揭示了信息扩散的第一个光。我们相信,我们的模型可以作为理解,测量,管理和提高知识共享的代码审查,特别是信息扩散一般软件工程的基础。
英文摘要:
Background: Modern code review is expected to facilitate knowledge sharing: All relevant information, the collective expertise, and meta-information around the code change and its context become evident, transparent, and explicit in the corresponding code review discussion. The discussion participants can leverage this information in the following code reviews; the information diffuses through the communication network that emerges from code review. Traditional time-aggregated graphs fall short in rendering information diffusion as those models ignore the temporal order of the information exchange: Information can only be passed on if it is available in the first place. Aim: This manuscript presents a novel model based on time-varying hypergraphs for rendering information diffusion that overcomes the inherent limitations of traditional, time-aggregated graph-based models. Method: In an in-silico experiment, we simulate an information diffusion within the internal code review at Microsoft and show the empirical impact of time on a key characteristic of information diffusion: the number of reachable participants. Results: Time-aggregation significantly overestimates the paths of information diffusion available in communication networks and, thus, is neither precise nor accurate for modelling and measuring the spread of information within communication networks that emerge from code review. Conclusion: Our model overcomes the inherent limitations of traditional, static or time-aggregated, graph-based communication models and sheds the first light on information diffusion through code review. We believe that our model can serve as a foundation for understanding, measuring, managing, and improving knowledge sharing in code review in particular and information diffusion in software engineering in general.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。