code wiki / (root) / nx_fin_advstats_gate.nx

nx_fin_advstats_gate.nx

buildroot/runtime/nx_fin_advstats_gate.nx

2344 B42 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic fin
docsdependenciesstructsconstsfunctions

about

nx_fin_advstats_gate.nx -- GATE for the deflated-Sharpe / multiple-testing suite, hand-computed. The headline: a Sharpe that looks significant alone (t=5) can FAIL once deflated for having tried 4 strategies -- exactly our tournament's trap. Exits 0 iff all pass. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_gate.nx nx_fin_metrics.nx nx_fin_advstats.nx nx_fin_advstats_gate.nx

imports: nx_gate.nxnx_fin_metrics.nxnx_fin_advstats.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main chk gw sys_write gn sys_write ↻ sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ as_sharpe_tstat_milli me_isqrt vm_isqrt as_max_z_milli as_deflated_sr_milli as_max_z_milli ↻ as_deflated_significant as_deflated_sr_milli ↻ as_sharpe_tstat_milli ↻ gw ↻ gn ↻

structs

none

consts

none

functions

8func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: gwgn
14func main() -> i64