arrow
返回

Refactoring in Computational Notebooks

delete2023-04-26
delete0
delete
OA
AI
E
Eric S. Liu *
D
Dylan A. Lukes
W
William G. Griswold
DOI:10.1145/3576036delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Due to the exploratory nature of computational notebook development, a notebook can be extensively evolved even though it is small, potentially incurring substantial technical debt. Indeed, in interview studies notebook authors have attested to performing ongoing tidying and big cleanups. However, many notebook authors are not trained as software developers, and environments like JupyterLab possess few features to aid notebook maintenance. As software refactoring is traditionally a critical tool for reducing technical debt, we sought to better understand the unique and growing ecology of computational notebooks by investigating the refactoring of public Jupyter notebooks. We randomly selected 15,000 Jupyter notebooks hosted on GitHub and studied 200 with meaningful commit histories. We found that notebook authors do refactor, favoring a few basic classic refactorings as well as those involving the notebook cell construct. Those with a computing background refactored differently than others, but not more so. Exploration-focused notebooks had a unique refactoring profile compared to more exposition-focused notebooks. Authors more often refactored their code as they went along, rather than deferring maintenance to big cleanups. These findings point to refactoring being intrinsic to notebook development.
Keyword:
Computational notebooks
end-user programming
refactoring

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

University of California System 封面图
University of California System
学者数:
37.7W
论文数: 33.8W
被引数: 6.6K
引用论文

引用论文

DEMOCRATIC DATABASES: SCIENCE ON GITHUB
errNATURE
IF48.5
err2016-10-03
err56
errOAAI
errPerkel, Jeffrey
err分享
err收藏
Physical volcanology of Tseax Volcano, British Columbia, Canada
err2020-05-12
err0
errOAAI
errYannick Le Moigne; Glyn Williams-Jones; Kelly Russell; Steve Quane
err分享
err收藏
Non destructive detection of brown heart in ‘Braeburn’ apples by time-resolved reflectance spectroscopy
err2011-01-01
err0
errOAAI
errMaristella Vanoli; Anna Rizzolo; Maurizio Grassi; Andrea Farina; Antonio Pifferi; Lorenzo Spinelli; Bert E. Verlinden; Alessandro Torricelli
err分享
err收藏
Hemofiltration in ex vivo lung perfusion—a study in experimentally induced pulmonary edema
err2016-02-01
err0
errOAAI
errTobias Nilsson; Christoffer Hansson; Andreas Wallinder; Carl-Johan Malm; Martin Silverborn; Sven-Erik Ricksten; Göran Dellgren
err分享
err收藏
err分享
err收藏
Spontaneous symmetry breaking in spinor Bose-Einstein condensates
err2013-11-19
err0
errOAAI
errM. Scherer; B. Lücke; J. Peise; O. Topic; G. Gebreyesus; F. Deuretzbacher; W. Ertmer; L. Santos; C. Klempt; J. J. Arlt
err分享
err收藏
Five selfish reasons to work reproducibly
err2015-12-08
err59
errOAAI
errMarkowetz, Florian
err分享
err收藏
BY JUPYTER, IT ALL MAKES SENSE
errNATURE
IF48.5
err2018-10-30
err220
PREAI
errPerkel, Jeffrey M.
err分享
err收藏
学者 查看更多内容