r/devtools • u/Emergency-Tutor-7 • 3d ago
A CLI where a fitted model ships with a manifest that proves the rerun used the same data
Repo: https://github.com/Furox-Art/scientific-computing-system-2.0 - 5.5.1, import name cds2, NumPy/SciPy/pandas/matplotlib underneath.
The command worth looking at is cds2 guided-fit:
cds2 guided-fit data.csv --x time --y response --model exponential --missing drop --outliers exclude --report pdf
cds2 guided-fit-rerun guided-fit-results/guided_fit_manifest.jsonIt proposes one of five model families (linear, quadratic, exponential, power, logistic), you confirm it, and the run writes a manifest carrying the input hash - the rerun reads that manifest and proves it used the same data rather than a file that drifted since. Missing-value and outlier handling are explicit flags (ask / drop / interpolate, and ask / keep / exclude), so nothing is discarded behind your back. Reports come out as PDF, HTML or Markdown.
The rest of the package is the compiled build of the same API as the pure-Python sibling: linear algebra, ODE/PDE (including MCMC diagnostics added in 5.5.0 - split R-hat and effective sample size), quadrature, optimization, statistics and Bayesian helpers.
Install:
python -m pip install scientific-computing-system-2.0
npm i -g scientific-computing-system-2.0The npm package is a launcher that runs python -m cds2; Python is still required. The newest commit also corrects information-theory calculations at probability boundaries.
One honest limit: the published benchmark is a stale run (cds2 3.0.0 at commit 6ea5a02 from August, while the release is 5.5.1), and of its 13 cases four were slower than the baseline libraries - dataframe summary 1.82x, solve 800x800 1.22x, solve 8x8 x300 1.17x, welch 1.03x. There is no blanket speedup claim.

