code wiki / (root) / nx_fin_metrics_gate.nx

nx_fin_metrics_gate.nx

buildroot/runtime/nx_fin_metrics_gate.nx

2235 B44 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic fin
docsdependenciesstructsconstsfunctions

about

nx_fin_metrics_gate.nx -- GATE for the risk-adjusted metrics on a hand-computed returns series (bps): [100, -50, 200, -100, 150] -> mean=60, stddev=115, Sharpe(x1000)=521, downside_dev(mar=0)=50, Sortino(x1000)=1200. Plus isqrt spot-checks. Exits 0 iff all pass. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_gate.nx nx_fin_metrics.nx nx_fin_metrics_gate.nx

imports: nx_gate.nxnx_fin_metrics.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 me_isqrt me_mean me_sum me_stddev me_mean ↻ me_isqrt ↻ me_sharpe_milli me_stddev ↻ me_mean ↻ me_downside_dev me_isqrt ↻ me_sortino_milli me_downside_dev ↻ me_mean ↻ gw ↻ gn ↻

structs

none

consts

none

functions

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