code wiki / (root) / nx_swcompare_evidence_sota_t138.nx

nx_swcompare_evidence_sota_t138.nx

buildroot/runtime/nx_swcompare_evidence_sota_t138.nx

50997 B640 linesdepth 9pulls 32 transitivereach 0 importersview sourcekind tooltopic swcompare
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_swcompare_evidence_lib_t138.nx nx_swcompare_evidence_sota_t13

imports: nx_syscalls.nxnx_swcompare_evidence_lib_t138.nx

imported by: nobody (leaf or entry point)

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

main w sys_write sys_exit sys_mmap nxa_die sys_write ↻ sys_exit ↻ nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ scopy c_read sys_openat_rd sys_read sys_close swc_src_hash starts splitpipe sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read ↻ sys_munmap sys_close ↻ ml_find_matrix_organ sys_mmap ↻ ml_field ml_span_starts ml_slen ml_span_same

structs

none

consts

13const K_MAGIC_5381: i64 = 5381
14const K_MAGIC_262144: i64 = 262144
117const 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 &mdash; the publisher's copy and, where banked, the estate's own <b>non-rottable library mirror</b> with a <b>content pin</b> &mdash; 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
139const BD_DRIFT_NONE: i64 = 0
140const BD_DRIFT_CONSISTENT: i64 = 1
141const BD_DRIFT_STALE_UNDER: i64 = 2
142const BD_DRIFT_UNBACKED: i64 = 3
143const BD_DRIFT_UNRESOLVED: i64 = 4
144const BD_DRIFT_UNREADABLE: i64 = 5
145const BD_MEAS_UNRESOLVED: i64 = 0 - 2

functions

24func swc_src_hash(b: *u8, n: i64) -> i64
called by 1: main
32func swc_has(h: *u8, needle: *u8) -> i64
61func swc_lc(c: i64) -> i64 { if c >= 65 { if c <= 90 { return c + 32 } } return c }
called by 1: swc_has_ci
62func swc_has_ci(hay: *u8, needle_lc: *u8) -> i64
called by 1: swc_note_has_evidence calls 1: swc_lc
82func swc_note_has_evidence(note: *u8) -> i64
called by 1: main calls 2: swc_has_ciswc_has
146func bd_drift_name(d: i64) -> *u8
called by 1: main
154func bd_drift_class(d: i64) -> *u8
called by 1: main
160func bd_meas_name(m: i64) -> *u8
called by 1: main
167func g_badge(fd: i64, v: *u8, nc: i64) -> i64
calls 1: w
176func main(argc: i64, argv: *i64) -> i64