Restoring Execution Environments of Jupyter Notebooks

Jiawei Wang, Li Li, Andreas Zeller
3/4/2021
cs.SE

Official code: SMAT-Lab/SnifferDog (22 stars, Python, last commit 2023-05-29).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Restoring Execution Environments of Jupyter Notebooks

227PythonFeb 9, 20213 years agoNOASSERTION

Similar Papers

Cite this paper

@article{wang2021restoring,
  title  = {Restoring Execution Environments of Jupyter Notebooks},
  author = {Jiawei Wang and Li Li and Andreas Zeller},
  year   = {2021},
  eprint = {2103.02959},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.02959}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.02959.svg)](https://codeofpaper.com/paper/2103.02959)

Discussion