code wiki / (root) / nx_exceed_scoreboard_gate.nx

nx_exceed_scoreboard_gate.nx

buildroot/runtime/nx_exceed_scoreboard_gate.nx

7882 B128 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic exceed
docsdependenciesstructsconstsfunctions

about

nx_exceed_scoreboard_gate.nx -- the STANDING, self-measuring s-class-exceed scoreboard for the sovereign LLM compute path vs the float incumbents (Unsloth / vLLM / FlashAttention / CUDA). Per feedback-benchmarks-must-exist-separate, this organ + its printed table IS the durable benchmark, kept SEPARATE from any prose claim. It MEASURES the determinism axis LIVE (composes nx_fabric_collective's ring_allreduce + an integer-reduction order-invariance check -> 0 mismatches), reports every row tied to a REAL on-disk gate (no asserted numbers), and SELF-CHECKS that the scoreboard is HONEST: it cannot read all-EXCEED -- at least one axis must be BEHIND or the gate goes RED (no-wave guard). criteria: 1 LIVE: ring all-reduce(N=8) == independent reference sum, BYTE-EXACT (0 mismatches) 2 LIVE: integer reduction forward-order == reverse-order, BYTE-EXACT (the determinism SOURCE; float can't) 3 scoreboard EXCEED count >= 4 (the measured wins) 4 scoreboard BEHIND count >= 1 (HONEST -- no false all-green sweep) expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_fabric_collective.nx nx_gate_verdict.nx nx_exceed_scoreboard_gate.nx

imports: nx_fabric_collective.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main dp ring_allreduce sys_mmap col_mod dn row dp ↻ vname chk dp ↻ gv_ctr sys_mmap ↻ gv_verdict gv_puts sys_write gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻

structs

none

consts

17const V_EXCEED: i64 = 2
18const V_PARITY: i64 = 1
19const V_BEHIND: i64 = 0

functions

21func dp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: chkrowmain
22func dn(v: i64) -> i64
called by 1: main
32func chk(name: *u8, ok: i64) -> i64
called by 1: main calls 1: dp
36func vname(code: i64) -> *u8
called by 1: row
42func row(name: *u8, code: i64, gate: *u8) -> i64
called by 1: main calls 2: dpvname
47func main() -> i64