FrankenNumPy

Docs/Guarantees and recipes

Versioning and Compatibility Promises

Surface What we promise
Workspace version 0.5.0 (v0.5.0 tagged 2026-10-14; v0.4.0 2026-10-07; v0.3.0 2026-09-11), no semver promises yet. The library crates (all but fnp-conformance) are published to crates.io with each tagged release. A release is tagged and published only after scripts/release_gate.sh <sha> <version> passes for that exact commit: G1–G9 all green, from a scripts/run_release_gates.sh receipt for that commit (Actions are off) or a completed CI run, a matching Cargo.toml version and CHANGELOG.md section, and numpy's own test suite passing through an fnp_python built from that commit (drop-in harness: no A/A failure, no unowned divergence, no missing module).
numpy.__all__ parity Tracked against the live numpy on the build host, whatever that version is. The structural lock-in test (fnp_python_covers_full_numpy_all) catches any new name that numpy adds to __all__. New names fail CI until explicitly added to the re-export block.
RNG bit-exactness Promised vs PCG64DXSM specifically, the algorithm NumPy 1.20+ ships as its high-quality default. Other bit generators (PCG64, MT19937, Philox, SFC64) match their upstream NumPy counterparts at the wire-stream level.
.npy / .npz round-trip NPY format versions 1.0, 2.0 and 3.0 (NumPy writes 3.0 for non-ASCII field names) are read and written; output is byte-identical to numpy.save for the dtype variants the I/O conformance shard tests (see the I/O section).
Rust toolchain Pinned to nightly-2026-08-31 in both rust-toolchain.toml and .github/workflows/ci.yml (env.RUST_TOOLCHAIN). Bumps are scheduled, coordinated, and CI-verified before merge.
Edition Rust 2024.
MSRV vs MSRRust The minimum is also the maximum. We pin a specific nightly rather than supporting a range, because some used features (let-chains, certain const fn capabilities) graduated through nightly during the project's lifetime.
Public Rust API Will likely receive a major reshape before 1.0. Treat 0.x as exploratory; do not load-bear on UFuncError variant names or on undocumented method signatures yet.
Python fnp_python API Every name in the live numpy.__all__ is present. Behaviour is meant to match numpy; known gaps are listed under Parity Status. All 106 NumPy ufunc names (103 fnp objects, 3 NumPy's own) pass isinstance(x, numpy.ufunc) and carry .reduce, .accumulate, .outer, .reduceat and .at (live probe, numpy 2.4.3).

This section in the README on GitHub