Better Code, Better Sharing:On the Need of Analyzing Jupyter Notebooks

06/12/2019
by   Jiawei Wang, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/19/2020

Software Engineering Practices for Scientific Software Development: A Systematic Mapping Study

Background: The development of scientific software applications is far f...
research
01/06/2021

Awareness of Secure Coding Guidelines in the Industry – A first data analysis

Software needs to be secure, in particular, when deployed to critical in...
research
01/24/2023

MLinter: Learning Coding Practices from Examples-Dream or Reality?

Coding practices are increasingly used by software companies. Their use ...
research
08/05/2023

LLM is Like a Box of Chocolates: the Non-determinism of ChatGPT in Code Generation

There has been a recent explosion of research on Large Language Models (...
research
06/30/2023

A multi-level analysis of data quality for formal software citation

Software is a central part of modern science, and knowledge of its use i...
research
01/28/2021

Best Practices in Scientific Computing

The world is becoming increasingly complex, both in terms of the rich so...
research
09/06/2021

Towards Multi-Criteria Prioritization of Best Practices in Research Artifact Sharing

Research artifact sharing is known to strengthen the transparency of sci...

Please sign up or login with your details

Forgot password? Click here to reset