arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.02959cs.SE
收藏

恢复Windows Notebook的执行环境

Restoring Execution Environments of Jupyter Notebooks

Jiawei Wang, Li Li, Andreas Zeller

摘要:

超过90%的已发布的Linux笔记本没有说明对外部软件包的依赖性。这使得它们不可执行,从而阻碍了科学结果的可重复性。我们提出了SnifferDog,这种方法1)收集Python包和版本的API,创建API数据库; 2)分析笔记本以确定所需包和版本的候选者; 3)检查哪些包需要使笔记本可执行(理想情况下,复制其存储的结果)。在评估中,我们发现SnifferDog可以精确地恢复绝大多数笔记本电脑的执行环境,使最终用户可以立即执行它们。

英文摘要:

More than ninety percent of published Jupyter notebooks do not state dependencies on external packages. This makes them non-executable and thus hinders reproducibility of scientific results. We present SnifferDog, an approach that 1) collects the APIs of Python packages and versions, creating a database of APIs; 2) analyzes notebooks to determine candidates for required packages and versions; and 3) checks which packages are required to make the notebook executable (and ideally, reproduce its stored results). In its evaluation, we show that SnifferDog precisely restores execution environments for the largest majority of notebooks, making them immediately executable for end users.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑