nx_swcompare_sota.nx
buildroot/runtime/nx_swcompare_sota.nx
about
nx_swcompare_sota.nx -- STATE-OF-THE-ART software comparison generator (operator 2026-07-09: "we census too few
competitors ... look at how systems are compared at a SOTA level -- speed, functionality, features, APIs").
Beyond the toy nx_swcompare_matrix (4 competitors, Yes/No symbol-presence): reads knowledge/compare/<domain>.sota
@title / @sub / @cols <c1>|..|<cM> (M competitors, Nishi is column 0, variable M)
@cat <category> (groups the axes that follow -- Speed, Quantization, API, ...)
<axis>|<kind>|<v0>|<v1>|..|<v(M-1)>|<note> (M cell values, one per column; kind=num|g)
kind=num -> the cell value is shown verbatim (a measured number / range / unit -- quantitative)
kind=g -> the value is a grade token: B=Best n=No Y=Yes ~=Partial (badged)
Honest by construction: cells are researcher-sourced / measured (note carries the source); Nishi (col 0) shows its
REAL number (e.g. 1.5 tok/s), NOT a presence tick. Modes: no-arg = console + liar-kill gate; html; json.
NOTE: no '#'/'!' in string literals (nx_cc trap) -> rgb() + wc(fd,33). license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_swcompare_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
| 13 | const K_MAGIC_5381: i64 = 5381 |
| 14 | const K_MAGIC_262144: i64 = 262144 |
| 117 | const RP_HDR: *u8 = "<h2 class='ghead' id='refs'>References</h2>\n<div class='meth'><b>Beyond a link list.</b> Every reference below resolves twice — the publisher's copy and, where banked, the estate's own <b>non-rottable library mirror</b> with a <b>content pin</b> — and carries its <b>evidence class</b> plus the exact claim on this page it grounds. Keyed marks like <span class='cite'>[key]</span> in the axis notes jump here. A dash means honestly absent, never assumed.</div>\n<ol class='refs'>\n" as *u8 |
| 139 | const BD_DRIFT_NONE: i64 = 0 |
| 140 | const BD_DRIFT_CONSISTENT: i64 = 1 |
| 141 | const BD_DRIFT_STALE_UNDER: i64 = 2 |
| 142 | const BD_DRIFT_UNBACKED: i64 = 3 |
| 143 | const BD_DRIFT_UNRESOLVED: i64 = 4 |
| 144 | const BD_DRIFT_UNREADABLE: i64 = 5 |
| 145 | const BD_MEAS_UNRESOLVED: i64 = 0 - 2 |
functions
| 24 | func swc_src_hash(b: *u8, n: i64) -> i64 called by 1: main |
| 32 | func swc_has(h: *u8, needle: *u8) -> i64 called by 1: swc_note_has_evidence |
| 61 | func swc_lc(c: i64) -> i64 { if c >= 65 { if c <= 90 { return c + 32 } } return c } called by 1: swc_has_ci |
| 62 | func swc_has_ci(hay: *u8, needle_lc: *u8) -> i64 |
| 82 | func swc_note_has_evidence(note: *u8) -> i64 |
| 146 | func bd_drift_name(d: i64) -> *u8 called by 1: main |
| 154 | func bd_drift_class(d: i64) -> *u8 called by 1: main |
| 160 | func bd_meas_name(m: i64) -> *u8 called by 1: main |
| 167 | func g_badge(fd: i64, v: *u8, nc: i64) -> i64 calls 1: w |
| 176 | func main(argc: i64, argv: *i64) -> i64 |