[Paper Review] Reproducible Research is more than Publishing Research Artefacts: A Systematic Analysis of Jupyter Notebooks from Research Articles
This study evaluates the reproducibility of Jupyter notebooks published alongside research articles, finding that despite their potential for transparency, most notebooks fail to ensure full reproducibility due to missing or incomplete environment documentation, versioned dependencies, and unavailable data. Only 3 of 22 notebooks were fully re-executable with identical outputs, highlighting critical gaps in research artifact sharing beyond mere publication.
With the advent of Open Science, researchers have started to publish their research artefacts (i. e., data, software, and other products of the investigations) in order to allow others to reproduce their investigations. While this publication is beneficial for science in general, it often lacks a comprehensive documentation and completeness with respect to the artefacts. This, in turn, prevents the successful reproduction of the analyses. Typical examples are missing scripts, incomplete datasets or specification of used software. Moreover, issues about licences often create legal concerns. This is true for the use of commercial software but also for the publication of research artefacts without proper sharing licence. As a result, the sole publication of research artefacts does not automatically result in reproducible research. To empirically confirm this, we have been systematically analysing research publications that also published their investigations as Jupyter notebooks. In this paper, we present preliminary results of this analysis for five publications. The results show, that the quality of the published research artefacts must be improved in order to assure reproducibility.
Motivation & Objective
- To assess the reproducibility of Jupyter notebooks published with research articles.
- To identify gaps in documentation, environment specification, and artifact availability that hinder reproducibility.
- To evaluate whether published notebooks can be successfully reconstructed and re-executed with identical outputs.
Proposed method
- Searched PubMed Central (PMC) for articles from 2018 that included Jupyter notebooks (.ipynb files) as research artefacts.
- Selected 36 relevant publications after excluding those with missing or unrelated notebooks.
- For five randomly selected publications, reconstructed computing environments using Docker and conda based on notebook documentation.
- Executed all notebook cells using the reconstructed environments and compared outputs with original results via nbdime.
- Assessed reproducibility across six criteria: notebook count, documentation location, requirement documentation, environment availability, data availability, and output reproducibility.
Experimental results
Research questions
- RQ1How many Jupyter notebooks are mentioned versus actually published in research articles?
- RQ2Where are source code artefacts and their documentation hosted, and is versioning specified?
- RQ3Can the software environment required to run the notebooks be reconstructed from published documentation?
- RQ4Is the complete raw data of the study available for re-execution?
- RQ5To what extent can the notebooks be fully re-executed to reproduce the original outputs?
Key findings
- Only 3 out of 22 Jupyter notebooks across five publications were fully reproducible, with identical outputs after re-execution.
- Reconstruction of the computing environment succeeded for 9 out of 22 notebooks, primarily due to incomplete or missing dependency specifications.
- Most repositories lacked versioned links to source code, with 67% of source code artefacts not providing a license, restricting reuse.
- Only one project used containerization (Docker) to ensure environment consistency, while others required manual reconstruction.
- Three notebooks failed due to missing data, and others failed due to unassigned constants or missing imports despite successful environment reconstruction.
- Documentation of software requirements was often absent from notebooks and scattered across repositories, with only two projects using dedicated documentation tools like Read the Docs or mkdocs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.