Commit 8b2111c
chore(rust): bump rand 0.8 -> 0.10, rand_xoshiro 0.6 -> 0.8
These two crates are coupled through rand_core and must move together;
rand_xoshiro 0.8 requires the rand_core that ships with rand 0.9+.
API churn handled in bootstrap.rs (rand 0.9 renamed the gen* family):
- rng.gen::<bool>() -> rng.random::<bool>()
- rng.gen::<f64>() -> rng.random::<f64>()
- rng.gen_range(0..6) -> rng.random_range(0..6)
Bit-identity preserved: Xoshiro256PlusPlus::seed_from_u64(seed) produces
the same byte stream in 0.6 and 0.8, so existing bootstrap baselines
remain valid. Verified locally on macOS Accelerate:
- tests/test_rust_backend.py: 95 passed (includes Rust<->Python parity
tests on bootstrap weights and bootstrap-derived SE/CI quantiles)
- Bootstrap-focused sweep across the broader test suite: 372 passed
- 467 total passing across the directly affected surfaces
Supersedes igerber#382 (rand) and igerber#384 (rand_xoshiro). blas-src 0.10 -> 0.14
(igerber#386) deferred pending an ndarray compatibility check; out of scope.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dbe4080 commit 8b2111c
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments