Track 02: Quantitative Research

From Research Scripts to Open-Source Scientific Software

Study Time: 25 minutes License: Original OER (CC BY-NC 4.0)

Learning Objectives

  • Refactor exploratory notebooks into modular, typed packages with CLI build entrypoints.
  • Write numerical invariant and synthetic ground-truth recovery unit tests.
  • Select appropriate OSI/Creative Commons licenses and mint archival DOIs via CITATION.cff.

1. Testing Physical & Statistical Invariants

Scientific unit tests verify conservation laws (probability simplex sums to 1.0, nodal energy balance holds within solver tolerance), synthetic parameter recovery as sample size grows, and absence of silent NaN propagation.

2. Open Licensing & Archival DOIs

Public Git repositories without a LICENSE file retain default all-rights-reserved copyright. Pair permissive code licenses (MIT, Apache-2.0, or BSD-3-Clause) with CITATION.cff metadata and Zenodo/Figshare archival DOIs.

Analytical Review Questions

Why mint an archival DOI in addition to linking a GitHub URL?
Repositories can be renamed, rewritten, or deleted; an archival DOI snapshots the exact release commit used to produce published figures.

Public-Domain & Open-Access References

  • Wilson, G. et al. (2017). Good Enough Practices in Scientific Computing. PLOS Computational Biology (CC BY Open Access).
Copyright & Provenance Attestation: Originally authored by AhnLim Foundation using public-domain and open-access scholarly sources under CC BY-NC 4.0.