code wiki / _hdl_build / nx_cms_census.nx
nx_cms_census.nx
buildroot/runtime/_hdl_build/nx_cms_census.nx
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
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
structs
| none |
consts
| 13 | const CC_MAGIC_400000: i64 = 400000 |
| 14 | const CC_MAGIC_80000: i64 = 80000 |
| 15 | const CC_MAGIC_300000: i64 = 300000 |
| 17 | const CC_SELF: *u8 = "knowledge/status/cms_gate.log" |
| 18 | const CC_REF: *u8 = "knowledge/registry/cms_incumbent_ref.tsv" |
| 19 | const CC_OUT: *u8 = "knowledge/registry/cms_census.tsv" |
| 20 | const CC_MAXF: i64 = 256 |
functions
| 22 | func 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 } |
| 27 | func cc_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 29 | func cc_read_file(path: *u8, buf: *u8, cap: i64) -> i64 |
| 43 | func cc_scan_to(buf: *u8, n: i64, start: i64, delim: i64) -> i64 called by 1: main |
| 50 | func 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 |
| 52 | func cc_vstr(v: i64) -> *u8 called by 1: main |
| 60 | func main() -> i64 |