paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Fork Entropy: Assessing the Diversity of Open Source Software Projects' Forks

Fork 熵:评估开源软件项目 Fork 的多样性
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 1/10 · 该论文研究开源项目 fork 群体的多样性度量,属于软件工程/OSS 实证研究,与用户关注的 PL 与 AI 交叉、LLM/Agent、浮点程序分析、贝叶斯程序分析等核心方向均无直接关联。虽然标签涉及开发者工具,但方法为熵指标与 GitHub 数据相关性分析,不涉及静态分析、形式化验证或 LLM。引用 9 inbox
Liang Wang, Zhiwen Zheng, Xiangchen Wu, Baihui Sang, Jierui Zhang, Xianping Tao
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出fork熵指标,基于Rao二次熵从文件修改度量开源项目fork群体多样性,并在GitHub数据上验证其与外部贡献等指标相关。

在GitHub等平台上,fork与接受pull request是项目获取外部贡献的重要方式,但除fork数量外,尚缺乏简单且有信息量的指标刻画fork群体多样性。受生物多样性与团队多样性研究启发,本文提出基于Rao二次熵的fork熵指标,依据各fork对项目文件的修改度量多样性,并证明其具有对称性、连续性与单调性。作者在GitHub 50个项目数据上实证,发现fork熵与外部生产力(外部贡献者提交数)、外部贡献者pull request接受率及报告缺陷数等显著相关,并与fork数量等因素存在显著交互。结果表明,fork熵能丰富对开源项目fork的理解,并支持后续研究与应用。

问题
除fork数量外,缺乏简单且有信息量的指标来刻画开源项目fork群体多样性,以理解fork与项目产出的关系。
方法
受生物多样性与团队多样性研究启发,提出基于Rao二次熵的fork熵指标,利用各fork对项目文件的修改度量其多样性,并分析对称性、连续性与单调性等性质。
评估
在GitHub上50个项目的真实数据中开展实证研究,检验fork熵与外部贡献者提交数、pull request接受率、缺陷数等结果变量的相关性及其与fork数量等因素的交互。
原文摘要(Abstract)

On open source software (OSS) platforms such as GitHub, forking and accepting pull-requests is an important approach for OSS projects to receive contributions, especially from external contributors who cannot directly commit into the source repositories. Having a large number of forks is often considered as an indicator of a project being popular. While extensive studies have been conducted to understand the reasons of forking, communications between forks, features and impacts of forks, there are few quantitative measures that can provide a simple yet informative way to gain insights about an OSS project's forks besides their count. Inspired by studies on biodiversity and OSS team diversity, in this paper, we propose an approach to measure the diversity of an OSS project's forks (i.e., its fork population). We devise a novel fork entropy metric based on Rao's quadratic entropy to measure such diversity according to the forks' modifications to project files. With properties including symmetry, continuity, and monotonicity, the proposed fork entropy metric is effective in quantifying the diversity of a project's fork population. To further examine the usefulness of the proposed metric, we conduct empirical studies with data retrieved from fifty projects on GitHub. We observe significant correlations between a project's fork entropy and different outcome variables including the project's external productivity measured by the number of external contributors' commits, acceptance rate of external contributors' pull-requests, and the number of reported bugs. We also observe significant interactions between fork entropy and other factors such as the number of forks. The results suggest that fork entropy effectively enriches our understanding of OSS projects' forks beyond the simple number of forks, and can potentially support further research and applications.

链接与引用

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

BibTeX
@inproceedings{WangZWSZT23,
  title = {Fork Entropy: Assessing the Diversity of Open Source Software Projects' Forks},
  author = {Liang Wang and Zhiwen Zheng and Xiangchen Wu and Baihui Sang and Jierui Zhang and Xianping Tao},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00168}
}