Skip to content

EstimateBounds ​

Phase 4: cv_bounds planes, Monte Carlo coverage, and what the old estimator overstated

5/5 passed in 430ms

TestWhat it doesResult
test_detector_costs_keyAgainst the detector-free variance, Bob's measured variance widens the interval and lowers the probe rate (IAB true, χ bounded) from 0.0662 to 0.0536 bit/symbol at n=107 (24%), 6.3% at 108, 6.9x at 106.✅ pass
test_finite_uses_boundscv_finite's (t_min, xi_max) is cv_bounds fed Bob's measured variance with χdet referred back out, rebuilt here to match.✅ pass
test_interval_coversOver 800 Monte Carlo rounds the worst-case pair covers the truth at 0.979 for ϵ=0.05 and 0.883 for ϵ=0.2, each above 1−ϵ.✅ pass
test_no_key_at_small_blockAt n=104 to 106 the reported rate is zero and the oracle rate positive.✅ pass
test_plane_is_bobssigma2 at Bob's ADC times 2/η is 1+χdet+T^ξ^, the channel-output plane cv_bounds takes.✅ pass