本研究利用World of Code构建了包含550万个许可证blob的OSS许可证数据集,通过winnowing近似匹配实现高精度识别,准确率达92.08%,支持合规检测与许可趋势研究。
摘要:
开源软件(OSS)的激增以及不同类型的复用方式,使得在软件供应链中执行一项至关重要的法律与合规任务——准确识别许可证——变得极其困难。本研究利用World of Code(WoC)基础设施,构建了一个可复用且全面的OSS许可证数据集。通过扫描文件路径中包含“license”的所有文件,并应用winnowing算法进行近似匹配,以从SPDX列表中识别最相似的许可证,我们在OSS项目中找到并识别出550万个不同的许可证blob。该数据集包含一个带有提交时间戳的详细项目到许可证(P2L)映射,从而能够对许可证的采用和随时间的变化进行动态分析。为验证数据集的准确性,我们采用分层抽样和人工审查,最终准确率达到92.08%,精确率为87.14%,召回率为95.45%,F1分数为91.11%。该数据集旨在支持一系列研究和实践任务,包括检测许可证不合规、调查许可证变更、研究许可趋势以及开发合规工具。该数据集是开放的,为OSS社区中的开发者、研究人员和法律专业人士提供了宝贵的资源。
英文摘要:
The proliferation of open source software (OSS) and different types of reuse has made it incredibly difficult to perform an essential legal and compliance task of accurate license identification within the software supply chain. This study presents a reusable and comprehensive dataset of OSS licenses, created using the World of Code (WoC) infrastructure. By scanning all files containing "license" in their file paths, and applying the approximate matching via winnowing algorithm to identify the most similar license from the SPDX list, we found and identified 5.5 million distinct license blobs in OSS projects. The dataset includes a detailed project-to-license (P2L) map with commit timestamps, enabling dynamic analysis of license adoption and changes over time. To verify the accuracy of the dataset we use stratified sampling and manual review, achieving a final accuracy of 92.08%, with precision of 87.14%, recall of 95.45%, and an F1 score of 91.11%. This dataset is intended to support a range of research and practical tasks, including the detection of license noncompliance, the investigations of license changes, study of licensing trends, and the development of compliance tools. The dataset is open, providing a valuable resource for developers, researchers, and legal professionals in the OSS community.
Can I use this publicly available dataset to build commercial AI software? -- A Case Study on Publicly Available Image Datasets
Centre for Software Excellence, Huawei Canada(华为加拿大卓越软件中心);Lassonde School of Engineering, York University(约克大学拉松德工程学院);Huawei China(华为中国);University of Victoria(维多利亚大学)
A Study of FOSS'2013 Survey Data Using Clustering Techniques
University of Calcutta(加尔各答大学);Netaji Subhash Engineering College(内塔吉·苏巴斯工程学院)
FOSS是Free and Open Source Software的缩写。FOSS 2013年调查主要针对FOSS贡献者,相关匿名数据集在CC by SA许可下公开提供。在这项研究中,使用统计和聚类技术(特别是多重对应分析)从批判的角度分析数据集,重点关注女性贡献者,以发现隐藏的趋势和事实。重要的推论是关于自由软件和OSS世界的开发实践和其他方面。