Better code, better sharing: on the need of analyzing jupyter notebooks

Jiawei Wang, Li Li, Andreas Zeller

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

5 Citations (Scopus)

Abstract

By bringing together code, text, and examples, Jupyter notebooks have become one of the most popular means to produce scientific results in a productive and reproducible way. As many of the notebook authors are experts in their scientific fields, but laymen with respect to software engineering, one may ask questions on the quality of notebooks and their code. In a preliminary study, we experimentally demonstrate that Jupyter notebooks are inundated with poor quality code, e.g., not respecting recommended coding practices, or containing unused variables and deprecated functions. Considering the education nature of Jupyter notebooks, these poor coding practices, as well as the lacks of quality control, might be propagated into the next generation of developers. Hence, we argue that there is a strong need to programmatically analyze Jupyter notebooks, calling on our community to pay more attention to the reliability of Jupyter notebooks.

Original languageEnglish
Title of host publicationProceedings - 2020 ACM/IEEE 42nd International Conference on Software Engineering
Subtitle of host publicationNew Ideas and Emerging Results, ICSE-NIER 2020
EditorsWillem Visser, Shin Yoo
Place of PublicationNew York NY USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages53-56
Number of pages4
ISBN (Electronic)9781450371261
DOIs
Publication statusPublished - 2020
EventInternational Conference on Software Engineering 2020 - Virtual, Online, Korea, Republic of (South)
Duration: 27 Jun 202019 Jul 2020
Conference number: 42nd
https://dl.acm.org/doi/proceedings/10.1145/3377811 (Proceedings)
https://conf.researchr.org/home/icse-2020 (Website)

Publication series

NameProceedings - International Conference on Software Engineering
PublisherThe Association for Computing Machinery
ISSN (Print)0270-5257

Conference

ConferenceInternational Conference on Software Engineering 2020
Abbreviated titleICSE 2020
CountryKorea, Republic of (South)
CityVirtual, Online
Period27/06/2019/07/20
Internet address

Keywords

  • API Deprecation
  • Jupyter Notebooks
  • Python
  • Quality Assurance

Cite this