scientific-computing-system 2.2.21 → 2.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -42,6 +42,14 @@ what the history supports; it does not claim that a tag exists.
42
42
  - Centroids are rounded to 9 decimals and inertia to 6 before hashing, so compiler-level float noise cannot fail the cross-OS gate while a change in cluster assignments or split decisions still does.
43
43
  - The workload fails when the clustering leaves a cluster empty or the forest predicts a single label, which keeps the sampled payload meaningful.
44
44
 
45
+ ## [v2.2.22] - 2026-11-07
46
+
47
+ ### Adaptive Simpson returns its error estimate
48
+
49
+ - `cds.numerical_integration.adaptive_simpson` reported `error_estimate=nan` for every integrand, because the recursive routine propagated only the integral value. The accepted subintervals' 1/15-scaled Lyness estimates are now accumulated and returned, so `QuadratureResult.error_estimate` carries a finite truncation-error estimate that shrinks with `tol` instead of NaN. The integral values themselves are unchanged: for `sin` over `[0, pi]` it is 3.4908e-07 at `tol=1e-6` and 2.9602e-13 at `tol=1e-12`, and 0.0 where Simpson is exact on the accepted leaves (`x**2` over `[0, 1]`, `|x-0.5|` once the kink is isolated).
50
+ - The `Raises` section claimed a `RuntimeError` when `max_depth` is exhausted. The code never raised it: exhaustion stops the refinement and returns the current approximation. The docstring now says so, and names NaN production as the actual `RuntimeError` condition — a divergent or otherwise undefined integrand.
51
+ - Synchronized package metadata to 2.2.22 as required by the version-discipline gate for a `src/cds/` change (`pyproject.toml`, `src/cds/_version.py`, `CITATION.cff`, `package.json`, `codemeta.json`, `SKILL.md`).
52
+
45
53
  ## [v2.2.21] - 2026-10-29
46
54
 
47
55
  ### Python 3.10 support removed
@@ -196,16 +204,16 @@ what the history supports; it does not claim that a tag exists.
196
204
  paths, and pinned every doc claim to a test so it cannot silently
197
205
  drift again. Regression tests fail without the corresponding fix.
198
206
 
199
- ## [Unreleased]
207
+ ## Post-release notes on v2.2.2 - 2026-10-05
200
208
 
201
209
  ### Distribution status of 2.2.2 — read this before assuming npm has it
202
210
 
203
- The two registries are **not** in the same state for 2.2.2.
211
+ The two registries were **not** in the same state for 2.2.2.
204
212
 
205
213
  | Registry | `2.2.2` | Build attestation |
206
214
  |---|---|---|
207
215
  | **PyPI** `scientific-computing-system` | **published** | **PEP 740 provenance present** |
208
- | **npm** `scientific-computing-system` | **NOT published** | none — the version does not exist on npm |
216
+ | **npm** `scientific-computing-system` | published later, without an attestation | none — the attestations endpoint returns 404 for `2.2.2` |
209
217
 
210
218
  PyPI 2.2.2 is live and carries a PEP 740 attestation. Verified against the live
211
219
  registries on 2026-10-05: the PEP 740 per-file provenance endpoint returns
@@ -218,18 +226,21 @@ curl -sS -o /dev/null -w '%{http_code}\n' \
218
226
  https://pypi.org/integrity/scientific-computing-system/2.2.2/scientific_computing_system-2.2.2.tar.gz/provenance # 200
219
227
  ```
220
228
 
221
- npm 2.2.2 does not exist. The published npm versions remain `1.0.0`, `2.2.0` and
222
- `2.2.1`. Nothing about the npm launcher is broken — the publish is blocked on a
223
- one-time npmjs.com registration, described next.
229
+ At the time of this note npm `2.2.2` did not exist; it was published afterwards,
230
+ without an attestation, because npm attestations begin at `2.2.3`. The npm line
231
+ today runs `2.2.0` through `2.2.6`, `2.2.12` through `2.2.15` and `2.2.17`
232
+ through `2.2.21`; `1.0.0` through `2.2.2` carry no attestation and cannot be
233
+ backfilled.
224
234
 
225
- ### Pending: register the npm trusted publisher (one-time, maintainer, in a browser)
235
+ ### Resolved: npm trusted publisher registration
226
236
 
227
- npmjs.com has **no trusted publisher** configured for the package
228
- `scientific-computing-system`. Until one exists, the OIDC path cannot complete a
229
- publish, and npm publishes no provenance for this package.
237
+ npmjs.com had **no trusted publisher** configured for the package
238
+ `scientific-computing-system`, so the OIDC path could not complete a publish and
239
+ npm served no provenance for this package. The publisher was registered before
240
+ `2.2.3`, and every npm release from `2.2.3` onward carries an attestation.
230
241
 
231
- The coordinates to enter on npmjs.com → package `scientific-computing-system` →
232
- **Settings → Trusted Publisher → GitHub Actions**:
242
+ The registration that was applied — on npmjs.com → package
243
+ `scientific-computing-system` → **Settings → Trusted Publisher → GitHub Actions**:
233
244
 
234
245
  | Field | Value |
235
246
  |---|---|
@@ -237,15 +248,14 @@ The coordinates to enter on npmjs.com → package `scientific-computing-system`
237
248
  | Package | `scientific-computing-system` |
238
249
  | Workflow filename | `npm-publish.yml` |
239
250
  | Environment name | `npm` |
240
- | Allowed actions | **`npm publish`** — must be enabled, see the warning below |
251
+ | Allowed actions | **`npm publish`** — must be enabled, see the note below |
241
252
 
242
- **The allowed-actions field is not optional in practice.** npm's current UI grants
243
- `npm stage publish` by default on newly created configurations and makes direct
253
+ **The allowed-actions field was not optional in practice.** npm's UI granted
254
+ `npm stage publish` by default on newly created configurations and made direct
244
255
  `npm publish` **opt-in**. This repository's workflow calls `npm publish` directly,
245
- so registering the publisher *without* also allowing `npm publish` will leave the
246
- publish failing — with a permission error this time rather than a 404.
256
+ so the registration enables `npm publish` explicitly.
247
257
 
248
- The same registration from the CLI, using the maintainer's own npm login and 2FA:
258
+ The same registration, applied from the CLI:
249
259
 
250
260
  ```
251
261
  npm trust github --file npm-publish.yml \
@@ -260,9 +270,9 @@ has **no Actions variables at all** (none at repository or organization scope),
260
270
  `npm_publish_mode` appears nowhere in the tree. Nothing needs to be switched back:
261
271
  OIDC is already the default, and token mode remains an explicit per-run opt-in.
262
272
 
263
- `NPM_TOKEN` does still exist as a repository secret. It is what token mode would
264
- use, and it should be deleted once the trusted publisher is registered and the
265
- first OIDC publish has succeeded.
273
+ `NPM_TOKEN` still exists as a repository secret. It is only read by a run that
274
+ explicitly opts into token mode, so it is an unused fallback now that OIDC
275
+ publishes succeed, and it can be deleted whenever convenient.
266
276
 
267
277
  ### Fixed: a 404 from npm no longer reads as "already published"
268
278
 
package/README.md CHANGED
@@ -49,22 +49,23 @@ The import name is **`cds`** (the distribution is `scientific-computing-system`)
49
49
  | **PyPI** (the library) | `pip install scientific-computing-system` | The actual Python package. Zero runtime dependencies. This is what you want. |
50
50
  | **npm** (a launcher shim) | `npm i -g scientific-computing-system` | A thin Node wrapper that runs `python -m cds`. It ships no Python and needs the Python distribution installed so that `python -m cds` resolves. |
51
51
 
52
- At the time of writing (2026-10-25), both registries' latest versions are 2.2.17,
53
- but they are not published in lockstep and are **not** equally verifiable:
52
+ At the time of writing (2026-10-30), both registries' latest version is 2.2.21,
53
+ but their 2.2.x histories differ and the two channels are **not** equally
54
+ verifiable:
54
55
 
55
56
  - **PyPI** — carries a **PEP 740 provenance attestation** (Sigstore-signed,
56
57
  binding the file digest to the publishing workflow). Verified on 2.2.3,
57
58
  2.2.4, 2.2.5, 2.2.6, 2.2.8, 2.2.11, 2.2.12, 2.2.13, 2.2.14, 2.2.15 and
58
- 2.2.17. The 2.2.7 wheel and sdist return 404 from the per-file provenance
59
- endpoint, so "every release since attestations were enabled" would be false;
60
- 2.2.16 was never published.
59
+ 2.2.17 through 2.2.21. The 2.2.7 wheel and sdist return 404 from the
60
+ per-file provenance endpoint, so "every release since attestations were
61
+ enabled" would be false; 2.2.16 was never published.
61
62
  - **npm** — carries a **Sigstore attestation as of 2.2.3**, minted by npm's
62
63
  OIDC trusted publisher (the registry serves both an npm publish attestation
63
64
  and a SLSA provenance v1 bundle for that tarball). 1.0.0 through 2.2.2
64
65
  predate the publisher registration and have none, so pin 2.2.3 or newer. npm
65
66
  has no 2.2.7, 2.2.8, 2.2.11 or 2.2.16 at all: its 2.2.x line is 2.2.0
66
- through 2.2.6, 2.2.12 through 2.2.15, and 2.2.17, which is how the latest
67
- versions can match while the histories do not. npm also exposes
67
+ through 2.2.6, 2.2.12 through 2.2.15, and 2.2.17 through 2.2.21, so the
68
+ latest versions match while the histories do not. npm also exposes
68
69
  `dist.integrity` (sha512), which is a content pin, not proof of origin, and
69
70
  `dist.signatures`, which is npm's registry transport signature, not build
70
71
  provenance.
@@ -183,7 +184,7 @@ The package installs a `cds` command with 13 subcommands:
183
184
 
184
185
  ```console
185
186
  $ cds --version
186
- System version 2.2.21
187
+ System version 2.2.22
187
188
  $ cds constants # physical constants table
188
189
  ```
189
190
 
@@ -225,6 +226,21 @@ HDF5/NetCDF, plotting and scientific backends together.
225
226
  Issues and PRs welcome; see [CONTRIBUTING.md](CONTRIBUTING.md) and
226
227
  [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
227
228
 
229
+ ## Related projects
230
+
231
+ Part of the Furox scientific-computing portfolio: independently versioned projects that pair agent-facing interfaces (MCP servers and Agent Skills) with deterministic, fail-closed verification.
232
+
233
+ - [scientific-computing-system-2.0](https://github.com/Furox-Art/scientific-computing-system-2.0) — NumPy/SciPy/pandas build with replayable fit records.
234
+ - [scientific-toolkit](https://github.com/Furox-Art/scientific-toolkit) — MCP gateway over nine research tools.
235
+ - [axiomize](https://github.com/Furox-Art/axiomize) — unit-checked modeling engine with SBML, CellML and Modelica export.
236
+ - [axiomize-quantum-skills-2.0](https://github.com/Furox-Art/axiomize-quantum-skills-2.0) — modeling engine plus quantum-inspired reasoning bundle.
237
+ - [quantum-reasoning-skill](https://github.com/Furox-Art/quantum-reasoning-skill) — agent skill that keeps competing hypotheses alive.
238
+ - [plan-auditor](https://github.com/Furox-Art/plan-auditor) — evidence-based completion gate for coding agents.
239
+ - [nomosguard](https://github.com/Furox-Art/nomosguard) — deterministic security decision layer with a hash-chained ledger.
240
+ - [eq-layer](https://github.com/Furox-Art/eq-layer) — interaction-policy layer that decides how an agent speaks.
241
+ - [literature-evidence-mcp](https://github.com/Furox-Art/literature-evidence-mcp) — literature MCP server with a hash-chained evidence ledger.
242
+ - [repocraft](https://github.com/Furox-Art/repocraft) — byte-deterministic project scaffolding.
243
+
228
244
  ## License
229
245
 
230
246
  MIT — see [LICENSE](LICENSE).
package/SECURITY.md CHANGED
@@ -129,8 +129,9 @@ repository's publish workflows mints an attestation on each channel:
129
129
  `scientific-computing-system`, workflow `release.yml`, environment `pypi`.
130
130
  Exercised since 2.2.1. The per-file provenance endpoint returned 200 for the
131
131
  published files of 2.2.1–2.2.6, 2.2.8, 2.2.11, 2.2.12 and 2.2.13 on 2026-10-22;
132
- 2.2.7 returns 404 for both its wheel and sdist. Re-checked on 2026-10-25:
133
- 2.2.14, 2.2.15 and 2.2.17 also return 200, and 2.2.16 was never published.
132
+ 2.2.7 returns 404 for both its wheel and sdist. Re-checked on 2026-10-30:
133
+ 2.2.14, 2.2.15 and 2.2.17 through 2.2.21 all return 200 for both files, and
134
+ 2.2.16 was never published.
134
135
  - **npm** — Trusted Publisher: owner `Furox-Art`, repository
135
136
  `scientific-computing-system`, workflow `npm-publish.yml`, environment `npm`.
136
137
  Registered before 2.2.3, which is the first npm release published through it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scientific-computing-system",
3
- "version": "2.2.21",
3
+ "version": "2.2.22",
4
4
  "description": "Scientific Computing System launcher - a thin Node wrapper that forwards to the pure-Python `cds` CLI. This npm package ships NO Python code: it requires the Python distribution to be installed (`pip install scientific-computing-system`), otherwise `scs` exits non-zero with an actionable message.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -22,10 +22,17 @@
22
22
  },
23
23
  "keywords": [
24
24
  "scientific-computing",
25
- "quantum",
26
- "machine-learning",
25
+ "python",
26
+ "numerics",
27
+ "linear-algebra",
27
28
  "statistics",
29
+ "machine-learning",
30
+ "quantum",
28
31
  "ode-solvers",
32
+ "pde",
33
+ "optimization",
34
+ "uncertainty-quantification",
35
+ "reproducibility",
29
36
  "cli",
30
37
  "launcher"
31
38
  ],