kirancodes.me
To Proof Maintenance & Beyond!

Restoring Execution Environments of Jupyter Notebooks

Jiawei Wang, Li Li, Andreas Zeller

Abstract

More than ninety percent of published Jupyternotebooks do not state dependencies on external packages. This makes them non-executable and thus hinders reproducibility of scientific results. We present SnifferDog, an approach that1) 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 thatSnifferDogprecisely restores execution environments for the largest majority of notebooks, making them immediately executable for end users.

BibTeX
@inproceedings{Wang-al:ICSE21,
  author    = {Jiawei Wang and
               Li Li and
               Andreas Zeller},
  title     = {Restoring Execution Environments of Jupyter Notebooks},
  booktitle = {ICSE},
  pages     = {1622--1633},
  publisher = {{IEEE}},
  year      = {2021},
}

Related papers