Published July 18, 2025 | Version v1

Socially-Informed Jupyter Notebook Quality: A Role- and Lifecycle-Aware Metrics Framework

  • 1. ROR icon University of Amsterdam
  • 2. EDMO icon University of Amsterdam, Institute of information technology

Description

Jupyter Notebooks are widely used in data science, education, and research for their ability to combine executable code with narrative and visualization. However, their interactive and exploratory nature often leads to quality concerns—such as inconsistent execution order, hidden dependencies, and low modularity—that negatively affect key software quality characteristics like maintainability, reliability, and analyzability. Existing quality models, including those based on ISO/IEC 25010, are not well-suited to the specific structure and workflows of notebooks. In this paper, we propose a role- and lifecycle-aware quality assessment framework tailored to Jupyter Notebooks. Drawing from ISO/IEC 25010 and the EOSC TF–SQ3 catalogue, we identify 25 measurable quality metrics relevant to common notebook practices. We organize these metrics using Kruchten’s 4+1 View Model and map them across the stages of the data science lifecycle. Drawing on practitioner insights and developer social-network patterns, we combined expert interviews with Rank-Biased Precision (RBP) and statistical methods (PCA and clustering) to prioritize our 25 metrics. The resulting framework organizes them into universal, viewpoint-specific, and context-dependent categories—offering Tier 1 and Tier 2 users a lightweight roadmap to boost notebook quality. Expert feedback confirms its clarity, relevance, and practical utility, paving the way for tool integration and future refinements.

Files

SoftwareQuality_QRS_2025 (1).pdf

Files (1.8 MB)

Name Size Download all
md5:aadd71de28b588244ea1869d4e281581
1.8 MB Preview Download

Additional details

Funding

European Commission
EVERSE - European Virtual Institute for Research Software Excellence 101129744
European Commission
ENVRI-Hub NEXT - ENVironmental Research Infrastructures delivering an open access Hub and NEXT-level interdisciplinary research framework providing services for advancing science and society 101131141
European Commission
OSCARS - O.S.C.A.R.S. - Open Science Clusters' Action for Research and Society 101129751
European Commission
Blue-Cloud 2026 - A federated European FAIR and Open Research Ecosystem for oceans, seas, coastal and inland waters 101094227
Dutch Research Council
LTER-LIFE: a research infrastructure to develop Digital Twins of ecosystems in a changing world 184.036.014