code wiki / _hdl_build / nx_cms_census.nx

nx_cms_census.nx

buildroot/runtime/_hdl_build/nx_cms_census.nx

5953 B132 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind tooltopic cms
docsdependenciesstructsconstsfunctions

about

nx_cms_census.nx -- honest CMS "exceed WordPress" re-grade (W-RE-002/003), the CMS-domain twin of nx_competitive_census. Replaces the RETRACTED binary EXCEED-WP=1000 with a MEASURED per-feature reach: - reads the WP+plugins feature surface from knowledge/registry/cms_incumbent_ref.tsv (the QUESTIONS), - COMPUTES each STATUS via re_has against the GATED evidence knowledge/status/cms_gate.log (the real PASS records) -- NEVER tutor-asserted; a feature is PRESENT only if a gate proves it, - writes knowledge/registry/cms_census.tsv + emits a CENSUSGATE line (the no-wave measured reach). Self-validating: pos control "CMSGATE" MUST be PRESENT in the gate log, neg control MUST be ABSENT. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_research_extract.nx nx_benchmark.nx nx_cms_census.nx

imports: nx_syscalls.nxnx_itoa_lib.nxnx_research_extract.nxnx_benchmark.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap cc_read_file sys_openat_rd sys_read sys_close cc_msg sys_write cc_scan_to cc_app re_has re_find re_strlen sys_openat_wr sys_write ↻ sys_close ↻ bm_is_valid bm_completeness bm_verdict cc_putn nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap cc_vstr

structs

none

consts

13const CC_MAGIC_400000: i64 = 400000
14const CC_MAGIC_80000: i64 = 80000
15const CC_MAGIC_300000: i64 = 300000
17const CC_SELF: *u8 = "knowledge/status/cms_gate.log"
18const CC_REF: *u8 = "knowledge/registry/cms_incumbent_ref.tsv"
19const CC_OUT: *u8 = "knowledge/registry/cms_census.tsv"
20const CC_MAXF: i64 = 256

functions

22func cc_msg(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
27func cc_putn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
29func cc_read_file(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
43func cc_scan_to(buf: *u8, n: i64, start: i64, delim: i64) -> i64
called by 1: main
50func cc_app(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { dst[off+i] = s[i]; i = i + 1 } return off + i }
called by 1: main
52func cc_vstr(v: i64) -> *u8
called by 1: main
60func main() -> i64