code wiki / (root) / nx_census_completeness.nx

nx_census_completeness.nx

buildroot/runtime/nx_census_completeness.nx

5777 B88 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic census
docsdependenciesstructsconstsfunctions

about

nx_census_completeness.nx -- THE COMPLETENESS ADVERSARY (operator 2026-07-14: "you missed readability on a mobile device in sunlight ... should have been caught in our research system but it was a miss ... the critic and adversary need work"). ROOT DEFECT: a census that only grades the axes you REMEMBERED is always green -- nothing checks the axis SPACE for blind spots. This adversary reads a RESEARCHED axis TAXONOMY (the full dimension space for a domain, grounded in the banked literature) and diffs it against the published census matrix's AXIS LABELS: every taxonomy dimension whose keyword appears in NO census axis label is flagged as a MISS. So misses are caught by the SYSTEM, not the operator. Usage: nx_census_completeness <domain> (reads knowledge/compare/<domain>.taxonomy + .matrix). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_census_completeness.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main cp sys_write sys_mmap cread sys_openat_rd sys_read sys_close sys_exit build_labels chas clc cn sys_mmap ↻ sys_write ↻

structs

none

consts

10const K_MAGIC_262144: i64 = 262144

functions

12func cp(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 1: main calls 1: sys_write
13func cn(v: i64) -> i64 { let t: *u8 = sys_mmap(28); var m: i64 = v; 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(28); var i: i64 = 0; while i < k { b[i] = t[k - 1 - i]; i = i + 1 } sys_write(1, b, k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
14func cread(path: *u8, buf: *u8, cap: i64) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 - 1 } var tot: i64 = 0; while tot < cap { let r: i64 = sys_read(fd, (buf as i64 + tot) as *u8, cap - tot); if r <= 0 { break } tot = tot + r } sys_close(fd); return tot }
called by 1: main calls 3: sys_openat_rdsys_readsys_close
15func clc(c: i64) -> i64 { if c >= 65 { if c <= 90 { return c + 32 } } return c }
called by 1: chas
17func chas(hay: *u8, hl: i64, needle: *u8) -> i64
called by 1: main calls 1: clc
30func build_labels(mat: *u8, mn: i64, lab: *u8) -> i64
called by 1: main
45func main(argc: i64, argv: *i64) -> i64