Multiverse Notebook: Shifting Data Scientists to Time Travelers
Open Access
- 29 April 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 8 (OOPSLA1) , 754-783
Abstract
Computational notebook environments are popular and de facto standard tools for programming in data science, whereas computational notebooks are notorious in software engineering. The criticism there stems from the characteristic of facilitating unrestricted dynamic patching of running programs, which makes exploratory coding quick but the resultant code messy and inconsistent. In this work, we first reveal that dynamic patching is a natural demand rather than a mere bad practice in data science programming on Kaggle. We then develop Multiverse Notebook, a computational notebook engine for time-traveling exploration. It enables users to time-travel to any past state and restart with new code from there under state isolation. We present an approach to efficiently implementing time-traveling exploration. We empirically evaluate Multiverse Notebook on ten real-world tasks from Kaggle. Our experiments show that time-traveling exploration on Multiverse Notebook is reasonably efficient.Keywords
Funding Information
- ACT-X, Japan Science and Technology Agency (JPMJAX210F)
This publication has 37 references indexed in Scilit:
- Runtime software patching: Taxonomy, survey and future directionsJournal of Systems and Software, 2023
- ReSplit: Improving the Structure of Jupyter Notebooks by Re-Splitting Their Cells2022
- Understanding and improving the quality and reproducibility of Jupyter notebooksEmpirical Software Engineering, 2021
- KGTorrent: A Dataset of Python Jupyter Notebooks from Kaggle2021
- A Comparative Study of Consistent Snapshot Algorithms for Main-Memory Database SystemsIEEE Transactions on Knowledge and Data Engineering, 2019
- A Large-Scale Study About Quality and Reproducibility of Jupyter Notebooks2019
- Why Jupyter is data scientists’ computational notebook of choiceNature, 2018
- Exploring exploratory programming2017
- HyPer: A hybrid OLTP&OLAP main memory database system based on virtual memory snapshots2011
- Worlds: Controlling the Scope of Side Effects2011