Back to search

University of Alberta

Studying Software Engineering Processes within Computational Notebooks

Abstract

dc:description.abstract

The popularity of computational notebooks is rapidly increasing due to their interactive code-output visualization and flexible, non-sequential execution. These features make notebooks particularly attractive to machine learning developers and data scientists. As Jupyter Notebooks gain wider adoption, the software engineering research community has shown growing interest in improving software engineering practices for notebooks. Consequently, research efforts have explored various aspects of their usage, effectiveness, and impact within the software engineering domain. In this thesis, we first conducted a comprehensive literature review to examine the influence of software engineering research on computational notebooks. Building on these findings, we performed an empirical analysis comparing machine-learning and non-machine-learning notebooks to explore the differences in code style and quality. In the first study, we analyzed trends, gaps, and methodologies in software engineering research on Jupyter Notebooks. We systematically reviewed 103 primary studies from the DBLP Computer Science Bibliography, categorizing them based on software engineering topics and assessing their reproducibility. We found that most research on notebooks is published in human-computer interaction venues rather than traditional software engineering conferences and journals. Notably, only 46 out of 103 studies were fully reproducible based on provided URLs, with many replication packages lacking long-term hosting and adherence to open science principles. Additionally, research on notebook-specific solutions for software engineering issues, such as testing, refactoring, and documentation, remains limited, highlighting opportunities for future work in areas like automatic testing frameworks and structured documentation generation. In the second study, we examined the relationship between code style issues and notebook code quality, particularly in machine learning contexts. We conducted a large-scale empirical analysis of 246,599 open-source notebooks, evaluating code style issues across Error, Convention, Warning, and Refactoring categories. Our findings reveal that machine learning notebooks have lower adherence to PEP-8 coding standards compared to non-machine-learning notebooks, with notable differences in code quality distribution. Package and import-related issues were more prevalent in machine learning notebooks, suggesting that code quality and style challenges vary significantly between machine learning and non-machine learning notebooks. This thesis provides critical insights into the intersection of software engineering practices and computational notebooks, shedding light on key challenges in code quality, reproducibility, and research gaps. Our findings pave the way for future innovations in tooling, methodologies, and best practices tailored to computational notebooks. Addressing these challenges can enhance notebooks’ reliability, usability, and long-term sustainability in research and industry settings.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Master's
Discipline thesis:degree_discipline
Software Engineering and Intelligent Systems
Grantor
University of Alberta
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Siddik, Md Saeed
Advisor dc:contributor.advisor
  • Bezemer, Cor-Paul (Department of Electrical and Computer Engineering)

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/83498

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Siddik, Md Saeed. Studying Software Engineering Processes within Computational Notebooks. Master's thesis, University of Alberta, 2025. https://doi.org/10.7939/83498