Table of Contents
Fetching ...

Multi-Artifact Analysis of Self-Admitted Technical Debt in Scientific Software

Eric L. Melin, Nasir U. Eisty, Gregory Watson, Addi Malviya-Thakur

TL;DR

This work introduces Scientific Debt as a domain-specific subcategory of self-admitted technical debt (SATD) in scientific software, arguing that traditional SATD taxonomies miss critical domain-specific issues. It builds the first multi-artifact SATD dataset for SSW by combining existing datasets with new manual annotations across code comments, commit messages, issues, and pull requests, and augments it with a dedicated scientific debt label. A multi-task transformer classifier trained on this corpus achieves strong overall performance ($\text{accuracy}=0.916$, $\text{macro-F1}=0.826$) and reveals that traditional SATD types underreport SciDebt, which is most visible in PRs and issue trackers. Practitioner validation confirms that scientific debt labels are recognizable and practically useful, underscoring the need for domain-aware SATD detection and management in scientific software to safeguard validity and reproducibility of results.

Abstract

Context: Self-admitted technical debt (SATD) occurs when developers acknowledge shortcuts in code. In scientific software (SSW), such debt poses unique risks to the validity and reproducibility of results. Objective: This study aims to identify, categorize, and evaluate scientific debt, a specialized form of SATD in SSW, and assess the extent to which traditional SATD categories capture these domain-specific issues. Method: We conduct a multi-artifact analysis across code comments, commit messages, pull requests, and issue trackers from 23 open-source SSW projects. We construct and validate a curated dataset of scientific debt, develop a multi-source SATD classifier, and conduct a practitioner validation to assess the practical relevance of scientific debt. Results: Our classifier performs strongly across 900,358 artifacts from 23 SSW projects. SATD is most prevalent in pull requests and issue trackers, underscoring the value of multi-artifact analysis. Models trained on traditional SATD often miss scientific debt, emphasizing the need for its explicit detection in SSW. Practitioner validation confirmed that scientific debt is both recognizable and useful in practice. Conclusions: Scientific debt represents a unique form of SATD in SSW that that is not adequately captured by traditional categories and requires specialized identification and management. Our dataset, classification analysis, and practitioner validation results provide the first formal multi-artifact perspective on scientific debt, highlighting the need for tailored SATD detection approaches in SSW.

Multi-Artifact Analysis of Self-Admitted Technical Debt in Scientific Software

TL;DR

This work introduces Scientific Debt as a domain-specific subcategory of self-admitted technical debt (SATD) in scientific software, arguing that traditional SATD taxonomies miss critical domain-specific issues. It builds the first multi-artifact SATD dataset for SSW by combining existing datasets with new manual annotations across code comments, commit messages, issues, and pull requests, and augments it with a dedicated scientific debt label. A multi-task transformer classifier trained on this corpus achieves strong overall performance (, ) and reveals that traditional SATD types underreport SciDebt, which is most visible in PRs and issue trackers. Practitioner validation confirms that scientific debt labels are recognizable and practically useful, underscoring the need for domain-aware SATD detection and management in scientific software to safeguard validity and reproducibility of results.

Abstract

Context: Self-admitted technical debt (SATD) occurs when developers acknowledge shortcuts in code. In scientific software (SSW), such debt poses unique risks to the validity and reproducibility of results. Objective: This study aims to identify, categorize, and evaluate scientific debt, a specialized form of SATD in SSW, and assess the extent to which traditional SATD categories capture these domain-specific issues. Method: We conduct a multi-artifact analysis across code comments, commit messages, pull requests, and issue trackers from 23 open-source SSW projects. We construct and validate a curated dataset of scientific debt, develop a multi-source SATD classifier, and conduct a practitioner validation to assess the practical relevance of scientific debt. Results: Our classifier performs strongly across 900,358 artifacts from 23 SSW projects. SATD is most prevalent in pull requests and issue trackers, underscoring the value of multi-artifact analysis. Models trained on traditional SATD often miss scientific debt, emphasizing the need for its explicit detection in SSW. Practitioner validation confirmed that scientific debt is both recognizable and useful in practice. Conclusions: Scientific debt represents a unique form of SATD in SSW that that is not adequately captured by traditional categories and requires specialized identification and management. Our dataset, classification analysis, and practitioner validation results provide the first formal multi-artifact perspective on scientific debt, highlighting the need for tailored SATD detection approaches in SSW.
Paper Structure (33 sections, 1 equation, 1 figure, 5 tables)