physics_in_parallel 4.2.0-alpha

High-performance infrastructure for numerical simulations in physics
Documentation
# 4.2.0-alpha upgrade validation

Recorded 2026-11-28. These checks qualified the 4.2.0-alpha release sources on
top of baseline 983babf. Before implementation and after qualification, the
baseline HEAD and origin/main were aligned. The release procedure commits and
pushes the source and matching tag before registry publication.

## Results

| Check | Result |
| --- | --- |
| Rust 1.97.0 release tests, all targets | 114 passed; one opt-in timing test ignored |
| Rust 1.97.0 release doctests | 3 passed, including both new pairing/count examples |
| Numerical reference suite | 31 passed with one Rayon worker and 31 with four |
| SIMD correctness, normal release | 5 passed; timing test ignored |
| SIMD correctness with LLVM loop/SLP vectorization disabled | 5 passed; timing test ignored |
| Strict Clippy, all targets, Rust 1.98.1 | Passed with -D warnings |
| NumPy helper | 10 passed against NumPy 2.5.5 in an isolated Python environment |
| Rustdoc | Generated successfully on Rust 1.97.0 |
| Formatting and whitespace | Passed |
| Cargo publication dry run on Rust 1.97.0 | Passed; no upload |
| Final dependency update dry run | Zero remaining compatible package updates |
| Git remote comparison | Baseline HEAD and origin/main aligned before release commit |

SIMD execution covered the available scalar, AVX2, and automatic backends.
AVX-512 was unavailable on this host and remains runtime guarded. Timing,
stress/endurance, cross-platform bitwise equality, and scientific validation of
a downstream DSES model are not claimed.

## Behavioral evidence

Nine feedback regression tests exercise nonzero radial displacements in ranks
1, 2, 3, 5, and 8; sign/permutation symmetry; rounding-error bounds; rank-one
4.1.1 arithmetic and random-coordinate replay; boundary-resolved buffered and
on-demand agreement; parallel iteration; nested mixture choice coordinates;
malformed configuration and output rows; log-uniform and extreme-scale radial
sampling; geometry defaults; and exact-count placement/apportionment.

The new allocation regression verifies zero allocations during repeated pair_at,
pair_into, and exact-count shuffle calls on caller-owned storage. Existing
allocation tests still verify reusable buffered refresh.

The reflective-boundary regression constructs geometry with isize::MAX sites
without a site-sized allocation, checks isize::MIN and extreme signed coordinates
against an i128 reference, and verifies reflected on-demand nearest-neighbor
targets. Ordinary boundary references pass after the unsigned-period fix.

The independent numerical pairing oracle now applies the documented rounding
and retry law for higher ranks and retains the old rank-one truncation.
Existing scalar shuffle/multiplication references and the opt-in timing guard
retain their explicit forms through narrowly scoped, documented Clippy allowances.

## Reproduction

Run from the PiP repository root:

```sh
cargo fmt --all -- --check
cargo +1.97.0 test --release --all-targets --locked
cargo +1.97.0 test --release --doc --locked
RUSTUP_TOOLCHAIN=1.97.0 bash tests/run_correctness.sh
RUSTUP_TOOLCHAIN=1.97.0 bash tests/run_simd.sh --no-autovectorize
cargo clippy --all-targets --locked -- -D warnings
cargo +1.97.0 doc --no-deps --locked
python -m unittest python/test_numpy_support.py
cargo +1.97.0 publish --dry-run --allow-dirty --locked
cargo update --dry-run --locked
```

Use an environment with NumPy 2.5.5 for the recorded Python qualification.
Compiler caches and detailed command logs are local validation artifacts, not
published benchmark evidence. The full-target benchmark entry point exited
without running timing workloads, as intended.

See [pairing contracts](PAIRING.md), [migration notes](RELEASES.md), and the
[dependency inventory](DEPENDENCIES.md). Downstream dependency updates follow
verification of the published upstream package, using registry dependencies.