Expand description
Deterministic bootstrap confidence intervals for gate statistics.
The gate protocol pins percentile bootstrap CIs at 95% over 1000 resamples
(crate::protocol::GATE_BOOTSTRAP_RESAMPLES, crate::protocol::GATE_CI_LEVEL).
Resampling is seeded and deterministic — a gate report must be reproducible from its
recorded seed, so this module carries its own small generator instead of depending on
an RNG crate. SplitMix64 is a fast counter-based generator, adequate for index
resampling; it is not cryptographic and is never used for secrets.
Structs§
- Confidence
Interval - A percentile bootstrap confidence interval.
- Split
Mix64 - SplitMix64 pseudo-random generator (deterministic, non-cryptographic).
Functions§
- bootstrap_
ci - Percentile bootstrap CI for
statisticovervalues.