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

Better Code, Better Sharing: On the Need of Analyzing Jupyter Notebooks
复制标题

更好的代码,更好的共享:关于分析 Jupyter Notebook 的需要

DOI:
10.1145/3377816.3381724
复制
发表时间:
2019
期刊:
2020 IEEE/ACM 42nd International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER)
影响因子:
--
通讯作者:
A. Zeller
A. Zeller
中科院分区:
--
文献类型:
--
作者:
Jiawei Wang;Li Li;A. Zeller

文献摘要

被引文献

相似文献

通过将代码、文本和示例结合在一起,XYYTER笔记本已经成为以富有成效和可重复的方式产生科学结果的最受欢迎的手段之一。由于许多笔记本作者都是他们科学领域的专家,但在软件工程方面是外行,因此人们可能会对笔记本及其代码的质量提出疑问。在一项初步研究中,我们通过实验证明,2000字节的笔记本充斥着质量差的代码,例如,不尊重推荐的编码实践,或包含未使用的变量和弃用的函数。考虑到J2EE笔记本的教育性质,这些糟糕的编码实践以及缺乏质量控制可能会传播到下一代开发人员中。因此,我们认为,有一个强烈的需要,以编程方式分析的XNUMX YTER笔记本电脑,呼吁我们的社区更加关注XNUMX YTER笔记本电脑的可靠性。CCS概念·软件及其工程→软件验证和确认。
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. CCS CONCEPTS • Software and its engineering → Software verification and validation.