The Story in the Notebook

Mary Beth Kery, Marissa Radensky, Mahima Arya, Bonnie E. John and Brad A. Myers

Abstract

Literate programming tools are used by millions of programmers today, and are intended to facilitate presenting data analyses in the form of a narrative. We interviewed 21 data scientists to study coding behaviors in a literate programming environment and how data scientists kept track of variants they explored. For participants who tried to keep a detailed history of their experimentation, both informal and formal versioning attempts led to problems, such as reduced notebook readability. During iteration, participants actively curated their notebooks into narratives, although primarily through cell structure rather than markdown explanations. Next, we surveyed 45 data scientists and asked them to envision how they might use their past history in an future version control system. Based on these results, we give design guidance for future literate programming tools, such as providing history search based on how programmers recall their explorations, through contextual details including images and parameters.

Venue
CHI 2018
Volume
Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3173574.3173748
PDF
https://dl.acm.org/doi/pdf/10.1145/3173574.3173748
Anthology ID
2018.chi.174

Cite

@inproceedings{kery-etal-2018-story,
    title = {{The Story in the Notebook}},
    author = {Mary Beth Kery and Marissa Radensky and Mahima Arya and Bonnie E. John and Brad A. Myers},
    booktitle = {Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450356206},
    year = {2018},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3173574.3173748},
    url = {https://doi.org/10.1145/3173574.3173748},
    abstract = {Literate programming tools are used by millions of programmers today, and are intended to facilitate presenting data analyses in the form of a narrative. We interviewed 21 data scientists to study coding behaviors in a literate programming environment and how data scientists kept track of variants they explored. For participants who tried to keep a detailed history of their experimentation, both informal and formal versioning attempts led to problems, such as reduced notebook readability. During iteration, participants actively curated their notebooks into narratives, although primarily through cell structure rather than markdown explanations. Next, we surveyed 45 data scientists and asked them to envision how they might use their past history in an future version control system. Based on these results, we give design guidance for future literate programming tools, such as providing history search based on how programmers recall their explorations, through contextual details including images and parameters.}
}