code wiki / _hdl_build / nx_s21_census.nx
nx_s21_census.nx
buildroot/runtime/_hdl_build/nx_s21_census.nx
about
nx_s21_census.nx -- production caller of nx_capability_census for the S21 EXPERIENTIAL UX/CX surface,
AND the generator of the LIVE /experiential page (knowledge/experiential_index.html) -- the page is
EMITTED BY THE CENSUS RUN so it can never drift from disk truth again (operator 2026-07-16: "are you
building all of this? and keeping it syncd" -- the old page was hand-authored and went stale the same
day the organs landed). Grades from DISK FACTS (our implementing organ opens on disk) x SOVEREIGN-FETCHED
competitor evidence (knowledge/census/*.raw: Playwright/Puppeteer/Cypress/Selenium/axe-core/Lighthouse/
BackstopJS/browser-use READMEs). NEVER self-scored:
RESEARCHER = the fetched .raw corpus CENSUS = cc_comp_attest x cc_our_grade (disk fact)
ADVERSARY = 3 discipline teeth CRITIC = GAP tally + keystone
HONESTY: no h2h beat-gate exists yet -> our grade caps at PRESENT -> verdict caps at PARITY, never AHEAD.
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_capability_census.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
| 15 | const NRAW: i64 = 8 |
| 16 | const CAP: i64 = 262144 |
| 17 | const HCAP: i64 = 262144 |
functions
| 22 | func hw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 23 | func pn(v: i64) -> i64 { let t: *u8=sys_mmap(24); var m: i64=v; if m<0{sys_write(1,"-" as *u8,1);m=0-m} var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} let b: *u8=sys_mmap(24); var j: i64=0; while j<k{b[j]=t[k-1-j];j=j+1} sys_write(1,b,k); return 0 } |
| 24 | func pad(s: *u8, w: i64) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); while n<w { sys_write(1," " as *u8,1); n=n+1 } return 0 } |
| 26 | func hcat(s: *u8) -> i64 |
| 34 | func hnum(v: i64) -> i64 |
| 48 | func axis(paths: *i64, buf: *u8, label: *u8, term: *u8, organ: *u8, disp: *u8, exceed: *u8, tally: *i64) -> i64 |
| 65 | func s21_write_page(tally: *i64) -> i64 |
| 124 | func main() -> i64 |