nx_abstat_gate.nx
buildroot/runtime/nx_abstat_gate.nx
about
nx_abstat_gate.nx -- THE REFEREE FOR THE A/B CONTRAST CORE (nx_abstat_lib).
A statistics organ is the one kind of organ whose output nobody can eyeball, so every claim it makes has
to be bitten here. The teeth below are ordered by what they would cost if they were wrong: a detector that
fires on noise is worse than no detector, so the false-positive control comes before the sensitivity one.
Every tooth prints the numbers it tested (gv_check_eq / gv_kv), because a PASS-only gate is unfalsifiable
from the outside and makes an independent second method structurally impossible.
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_abstat_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 14 | const ABG_N: i64 = 40 // comfortably over NX_MC_MIN_N so the sample floor is not what is under test |
| 15 | const ABG_TIGHT: i64 = 100 // a run of 100 samples for the below-MDE tooth |
functions
| 18 | func abg_saw(i: i64, centre: i64, spread: i64) -> i64 |
| 27 | func abg_fill(r: *i64, axis: i64, arm: i64, n: i64, centre: i64, spread: i64) -> i64 |
| 33 | func abg_region() -> *i64 |
| 39 | func main() -> i64 |