code wiki / _hdl_build / nx_sclass_scorecard.nx

nx_sclass_scorecard.nx

buildroot/runtime/_hdl_build/nx_sclass_scorecard.nx

6640 B137 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic sclass
docsdependenciesstructsconstsfunctions

about

nx_sclass_scorecard.nx -- the unified S-CLASS EXCEED scorecard. Operator: "really really get s class exceed FUNCTIONALITY and FEATURES and SPEED and all that matched." S-class exceed is NOT one number -- it is matched-or-beaten on ALL THREE pillars, each MEASURED (no-overclaim): 1. FUNCTIONALITY = do we have the capability vs competitors (comp_matrix Nishi column) 2. COMPLETENESS = how much of the full published surface (comprehensiveness: charted/published) 3. SPEED = measured performance rank (perf_panel.log perf_rank_permil) Overall S-class is GATED by the WEAKEST pillar -- you are only S-class when ALL THREE clear the bar. Honest: reads the REAL measured logs; reports the binding gap. Emits -> knowledge/status/sclass_scorecard.log module: nishi-core.analyst.sclass_scorecard depends: nishi-core.sys.syscalls capability: SCLASS_EXCEED_THREE_PILLAR_SCORECARD license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_sclass_scorecard.nx

imports: nx_syscalls.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap sc_read sys_openat_rd sys_read sys_close sc_last_int sc_len sc_nishi_func sys_openat_wr sc_w sys_write sc_wn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap sys_close ↻ sys_exit

structs

none

consts

16const SC_MAGIC_262144: i64 = 262144
17const SC_MAGIC_65536: i64 = 65536
19const SC_PERF: *u8 = "knowledge/status/perf_panel.log"
20const SC_MATRIX: *u8 = "knowledge/registry/comp_matrix.tsv"
21const SC_SCALE: *u8 = "knowledge/registry/incumbent_scale.tsv"
22const SC_OUT: *u8 = "knowledge/status/sclass_scorecard.log"
23const SC_BAR: i64 = 900 // S-class bar: a pillar clears at >= 900 permil

functions

25func sc_w(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 1: main calls 1: sys_write
30func sc_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 }
called by 1: main calls 1: nxi_fd
31func sc_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: sc_last_int
33func sc_read(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
44func sc_last_int(buf: *u8, n: i64, marker: *u8) -> i64
called by 1: main calls 1: sc_len
65func sc_nishi_func(buf: *u8, n: i64) -> i64
called by 1: main
95func main() -> i64