paperbot · PL 论文追踪

全部论文 待读 收藏

P2 ModuleGuard: Understanding and Detecting Module Conflicts in Python Ecosystem

ModuleGuard:理解与检测 Python 生态中的模块冲突
ICSE Proceedings of the IEEE/ACM 46th International Conference on Software Engineering2024匹配度 2/10 · 论文属于Python生态中的程序分析与缺陷检测,虽与静态分析相关,但未涉及用户画像核心的PL与AI/Agent、浮点程序分析或贝叶斯程序分析。引用 1 inbox
Ruofan Zhu, Xingyu Wang, Chengwei Liu, Zhengzi Xu, Wenbo Shen, Rui Chang, Yang Liu
crossref: 2026-09-12

AI 速览

一句话:提出 InstSimulator 与 ModuleGuard,系统研究并检测 Python 生态中同命名空间导致的模块冲突。

Python 生态中不同包可能包含同命名空间的模块,从而引发模块冲突,但现有工作既未全面研究该问题,也缺乏检测工具。本文系统调查模块冲突及其对 Python 生态的影响,提出 InstSimulator 技术,结合语义分析与安装模拟,实现准确且高效的模块提取。基于该技术实现工具 ModuleGuard,用于检测 Python 生态中的模块冲突。摘要未给出具体数据集与量化结果。

问题
Python 包可能因共享相同命名空间模块而产生模块冲突,现有工作尚未全面调查该问题,也未提供检测工具。
方法
提出 InstSimulator,结合语义与安装模拟进行准确高效的模块提取,并据此实现 ModuleGuard 检测模块冲突。
评估
对 Python 生态中的模块冲突问题及其影响进行系统性调查,并实现 ModuleGuard 工具;摘要未报告具体实验数据或量化指标。
原文摘要(Abstract)

Python has become one of the most popular programming languages for software development due to its simplicity, readability, and versatility. As the Python ecosystem grows, developers face increasing challenges in avoiding module conflicts, which occur when different packages have the same namespace modules. Unfortunately, existing work has neither investigated the module conflict comprehensively nor provided tools to detect the conflict. Therefore, this paper systematically investigates the module conflict problem and its impact on the Python ecosystem. We propose a novel technique called InstSimulator, which leverages semantics and installation simulation to achieve accurate and efficient module extraction. Based on this, we implement a tool called ModuleGuard to detect module conflicts for the Python ecosystem.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot11256,
  title = {ModuleGuard: Understanding and Detecting Module Conflicts in Python Ecosystem},
  author = {Ruofan Zhu and Xingyu Wang and Chengwei Liu and Zhengzi Xu and Wenbo Shen and Rui Chang and Yang Liu},
  booktitle = {ICSE},
  year = {2024},
  doi = {10.1145/3597503.3639221}
}