{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T20:30:16Z","timestamp":1792787416250,"version":"4.5.0"},"reference-count":36,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2023,4,26]],"date-time":"2023-04-26T00:00:00Z","timestamp":1682467200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"National Science Foundation","award":["CCF-1719155"],"award-info":[{"award-number":["CCF-1719155"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2023,7,31]]},"abstract":"<jats:p>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.<\/jats:p>\n                  <jats:p>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.<\/jats:p>","DOI":"10.1145\/3576036","type":"journal-article","created":{"date-parts":[[2022,12,13]],"date-time":"2022-12-13T07:23:13Z","timestamp":1670916193000},"page":"1-24","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":9,"title":["Refactoring in Computational Notebooks"],"prefix":"10.1145","volume":"32","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3264-9782","authenticated-orcid":false,"given":"Eric S.","family":"Liu","sequence":"first","affiliation":[{"name":"UC San Diego, La Jolla, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9368-9369","authenticated-orcid":false,"given":"Dylan A.","family":"Lukes","sequence":"additional","affiliation":[{"name":"UC San Diego, La Jolla, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0663-6977","authenticated-orcid":false,"given":"William G.","family":"Griswold","sequence":"additional","affiliation":[{"name":"UC San Diego, La Jolla, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,4,26]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSM.2012.6405299"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1147\/sj.153.0225"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.1111\/j.2517-6161.1995.tb02031.x"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.5555\/540031"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/1882362.1882373"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/3313831.3376729"},{"key":"e_1_3_2_8_2","volume-title":"Mathematical Methods of Statistics (PMS-9)","author":"Cram\u00e9r Harald","year":"1999","unstructured":"Harald Cram\u00e9r. 1999. Mathematical Methods of Statistics (PMS-9). Princeton University Press, Princeton, NJ. Retrieved from http:\/\/www.jstor.org\/stable\/j.ctt1bpm9r4."},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/157709.157715"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1080\/00401706.1964.10490181"},{"key":"e_1_3_2_11_2","unstructured":"Martin Fowler. 2020. Refactoring Catalog. Retrieved from https:\/\/refactoring.com\/catalog\/."},{"key":"e_1_3_2_12_2","volume-title":"Refactoring: Improving the Design of Existing Code","author":"Fowler Martin","year":"1999","unstructured":"Martin Fowler, Kent Beck, John Brant, William Opdyke, and Don Roberts. 1999. Refactoring: Improving the Design of Existing Code. Addison-Wesley, Boston, MA."},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.iheduc.2005.11.001"},{"key":"e_1_3_2_14_2","unstructured":"GitHub Search. 2020. Search via GitHub API. Retrieved from http:\/\/api.github.com\/search\/code?q=python+language:jupyter-notebook."},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1145\/152388.152389"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3290605.3300500"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3025453.3025626"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1109\/VLHCC.2018.8506576"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/3173574.3173748"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/27.2.97"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1109\/VL\/HCC50065.2020.9127202"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1080\/01621459.1952.10483441"},{"key":"e_1_3_2_23_2","unstructured":"LSP 2021. LSP integration for Jupyter[lab]. Retrieved from https:\/\/jupyterlab-lsp.readthedocs.io\/en\/latest\/index.html."},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.14778\/3447689.3447712"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1186\/s13059-015-0850-7"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1109\/MS.2008.123"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2009.5070529"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1080\/14786440009463897"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1038\/538127a"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1038\/d41586-018-07196-1"},{"key":"e_1_3_2_31_2","unstructured":"Laurent Peuch. 2020. Welcome to RedBaron\u2019s documentation! Retrieved from https:\/\/redbaron.readthedocs.io\/en\/latest\/."},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3173574.3173606"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/1985793.1985805"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1109\/MCSE.2006.122"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.12688\/f1000research.3-62.v2"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.2307\/2983604"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0378-3758(99)00041-5"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3576036","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3576036","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T13:49:39Z","timestamp":1750168179000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3576036"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,4,26]]},"references-count":36,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2023,7,31]]}},"alternative-id":["10.1145\/3576036"],"URL":"https:\/\/doi.org\/10.1145\/3576036","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,4,26]]},"assertion":[{"value":"2021-08-26","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-11-08","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-04-26","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}