paperbot · PL 论文追踪

全部论文 待读 收藏

P2 py2src: Towards the Automatic (and Reliable) Identification of Sources for PyPI Package

py2src:面向 PyPI 包来源的自动(且可靠)识别
ASE 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)2021匹配度 2/10 · 该论文关注 PyPI 包到 GitHub 源码仓库的自动识别与可靠性,属于软件供应链与开发者工具方向,不涉及静态分析、LLM/Agent 改进分析、浮点程序分析或贝叶斯程序分析。虽然包源码定位可能间接服务于依赖分析,但与研究画像的核心问题基本无直接交集。引用 10 inbox
Duc-Ly Vu
crossref: 2026-09-12

AI 速览

一句话:提出 py2src,自动识别 PyPI 包对应的 GitHub 源码仓库,并为识别结果提供可靠性指标。

在软件开发中,选择采用哪些库(业界称为依赖或包)是关键任务,而对应源代码的质量(如安全性和时效性)是选择的重要依据。然而,找到 PyPI 包的“实际”源码并不容易,且该信息是否可靠也值得质疑。针对此问题,作者提出 py2src 方法,能够自动识别 PyPI 包对应的 GitHub 源代码仓库,并自动给出关于该识别信息可靠性的指标。论文还报告了在热门 PyPI 包上的初步实证评估。摘要未披露具体的识别准确率或可靠性指标数值。

问题
在依赖选择中,如何自动且可靠地确定 PyPI 包对应的实际源代码仓库,并判断该来源信息的可信度。
方法
提出 py2src,自动为 PyPI 包识别对应 GitHub 源码仓库,并生成识别结果的可靠性指标。
评估
在 top PyPI 包上进行初步实证评估;摘要未报告具体量化结果。
原文摘要(Abstract)

Selecting which libraries (‘dependencies’ or ‘packages’ in the industry’s jargon) to adopt in a project is an essential task in software development. The quality of the corresponding source code is a key factor behind this selection (from security to timeliness). Yet, how easy is it to find the ‘actual’ source? How reliable is this information? To address this problem, we developed an approach called py2src to automatically identify GitHub source code repositories corresponding to packages in PyPI and automatically provide an indicator of the reliability of such information. We also report a preliminary empirical evaluation of the approach on the top PyPI packages.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6513,
  title = {py2src: Towards the Automatic (and Reliable) Identification of Sources for PyPI Package},
  author = {Duc-Ly Vu},
  booktitle = {ASE},
  year = {2021},
  doi = {10.1109/ase51524.2021.9678526}
}