r/ScientificComputing • u/Emergency-Tutor-7 • 10h ago
A rerun that reports the environment moved instead of pretending it didn't
Repo: https://github.com/Furox-Art/scientific-computing-system-2.0 - MIT, release 5.5.1. The 2.0 in the name is the NumPy generation of the project, not the version number; this is the NumPy/SciPy build of the same library.
The behaviour I would point at first is about reruns. guided-fit writes a manifest with the random seed, the input hashes and the exact Python, NumPy, SciPy, pandas and Matplotlib versions it ran under. guided-fit-rerun then compares the saved analysis against the new one and says what moved, in values rather than in adjectives: which dependency version changed, and for confidence intervals the relative change, the largest bound shift, and both intervals.
There is a real archived replay in the repo rather than a hypothetical: a fit saved under Python 3.12.14 / NumPy 1.26.4 / SciPy 1.11.4 was replayed under the same interpreter with NumPy 2.3.5 and SciPy 1.18.1. Both version-change warnings fired. The largest 95% CI bound shift was 1.1747583669e-4, relative CI drift 0.003364917%, and the reliability label stayed reliable because it did not cross the 5% material-drift threshold. That is the useful shape: the environment changed, the output was checked anyway, and the report says which of the two happened.
Sizes, since they are easy to check and hard to fake: 53 importable names, 508 public exports, 2,066 tests, 100% branch coverage. The counts are measured from the tree by scripts/make_promo.py and CI re-measures them and rejects drift.
Install:
pip install scientific-computing-system-2.0
npm install -g scientific-computing-system-2.0Python 3.11+. There is an optional [gpu] extra that pulls cupy-cuda12x for the cds2.gpu backend.
The limit: the version warning fires even when the numbers agree, so a stack bump always costs you a warning, and the 5% material-drift threshold is a policy choice the tool applies, not a statistical guarantee - a drift under that line still reports the result as reliable.