code wiki / _hdl_build / nx_sclass_scorecard.nx
nx_sclass_scorecard.nx
buildroot/runtime/_hdl_build/nx_sclass_scorecard.nx
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
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
structs
| none |
consts
| 16 | const SC_MAGIC_262144: i64 = 262144 |
| 17 | const SC_MAGIC_65536: i64 = 65536 |
| 19 | const SC_PERF: *u8 = "knowledge/status/perf_panel.log" |
| 20 | const SC_MATRIX: *u8 = "knowledge/registry/comp_matrix.tsv" |
| 21 | const SC_SCALE: *u8 = "knowledge/registry/incumbent_scale.tsv" |
| 22 | const SC_OUT: *u8 = "knowledge/status/sclass_scorecard.log" |
| 23 | const SC_BAR: i64 = 900 // S-class bar: a pillar clears at >= 900 permil |
functions
| 25 | func 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 } |
| 30 | func sc_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 } |
| 31 | func 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 |
| 33 | func sc_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 44 | func sc_last_int(buf: *u8, n: i64, marker: *u8) -> i64 |
| 65 | func sc_nishi_func(buf: *u8, n: i64) -> i64 called by 1: main |
| 95 | func main() -> i64 |