Skip to main navigation Skip to search Skip to main content

Restoring execution environments of Jupyter notebooks

  • Jiawei Wang
  • , Li Li
  • , Andreas Zeller

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

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.

Original languageEnglish
Title of host publicationProceedings - 2021 IEEE/ACM 43rd International Conference on Software Engineering, ICSE 2021
EditorsArie van Deursen, Tao Xie
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages1622-1633
Number of pages12
ISBN (Electronic)9780738113197
ISBN (Print)9781665402965
DOIs
Publication statusPublished - 2021
EventInternational Conference on Software Engineering 2021 - Online, Madrid, Spain
Duration: 25 May 202128 May 2021
Conference number: 43rd
https://conf.researchr.org/committee/icse-2021/icse-2021-organizing-committe
https://conf.researchr.org/home/icse-2021
https://ieeexplore.ieee.org/xpl/conhome/9401807/proceeding (Proceedings)

Publication series

NameProceedings - International Conference on Software Engineering
PublisherThe Institute of Electrical and Electronics Engineers, Inc.
ISSN (Print)0270-5257
ISSN (Electronic)1558-1225

Conference

ConferenceInternational Conference on Software Engineering 2021
Abbreviated titleICSE 2021
Country/TerritorySpain
CityMadrid
Period25/05/2128/05/21
Internet address

Keywords

  • API
  • Environment
  • Jupyter Notebook
  • Python

Cite this