code wiki / _hdl_build / nx_s21_census.nx

nx_s21_census.nx

buildroot/runtime/_hdl_build/nx_s21_census.nx

18299 B213 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_capability_census.nx nx_s21_census.nx

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

main hw sys_write sys_mmap axis cc_comp_attest cc_read_file sys_openat_rd sys_read sys_close re_has re_find re_strlen cc_our_grade cc_file_exists sys_openat_rd ↻ sys_close ↻ cc_verdict pad sys_write ↻ hw ↻ pn sys_mmap ↻ sys_write ↻ cc_grade_str cc_verdict_str hcat sys_mmap ↻ hnum sys_mmap ↻ pn ↻ cc_verdict ↻ cc_comp_attest ↻ cc_our_grade ↻ s21_write_page sys_mmap ↻ sys_openat_wr hw ↻ sys_write ↻ sys_close ↻

structs

none

consts

15const NRAW: i64 = 8
16const CAP: i64 = 262144
17const HCAP: i64 = 262144

functions

22func hw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 3: axiss21_write_pagemain calls 1: sys_write
23func 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 }
24func 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 }
called by 1: axis calls 1: sys_write
26func hcat(s: *u8) -> i64
called by 1: axis calls 1: sys_mmap
34func hnum(v: i64) -> i64
called by 1: axis calls 1: sys_mmap
48func axis(paths: *i64, buf: *u8, label: *u8, term: *u8, organ: *u8, disp: *u8, exceed: *u8, tally: *i64) -> i64
65func s21_write_page(tally: *i64) -> i64
124func main() -> i64