code wiki / _hdl_build / nx_galx_census.nx

nx_galx_census.nx

buildroot/runtime/_hdl_build/nx_galx_census.nx

7317 B159 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind tooltopic galx
docsdependenciesstructsconstsfunctions

about

nx_galx_census.nx -- no-wave MEASURED BASELINE for the GALX "S-class gallery exceed" rung; the gallery-domain twin of nx_cms_census / nx_competitive_census. Per-feature reach vs the best image gallery/management tools (Hydrus, Eagle, ComfyUI-gallery, Diffusionbee, Elder svc-review): - reads the S-class gallery feature surface from knowledge/registry/gallery_incumbent_ref.tsv (the QUESTIONS), - COMPUTES each STATUS via re_has against the REAL gated gallery evidence (galx_serve.log + eval_lanes.log + eval_kat_genrec.log, concatenated into one read buffer) -- NEVER tutor-asserted; a feature is PRESENT only if a real gate ARM wrote its probe substring, - writes knowledge/registry/gallery_census.tsv + emits a CENSUSGATE line (the no-wave measured reach permil). Self-validating: pos control "browse_real_cids" MUST be PRESENT in the evidence, 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_galx_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 gc_read_into sys_openat_rd sys_read sys_close gc_msg sys_write gc_read_file sys_openat_rd ↻ sys_read ↻ sys_close ↻ gc_scan_to gc_app re_has re_find re_strlen sys_openat_wr sys_write ↻ sys_close ↻ bm_is_valid bm_completeness bm_verdict gc_putn nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap gc_vstr

structs

none

consts

15const GC_MAGIC_800000: i64 = 800000
16const GC_MAGIC_80000: i64 = 80000
17const GC_MAGIC_300000: i64 = 300000
19const GC_SELF: *u8 = "knowledge/status/galx_serve.log"
20const GC_EVAL: *u8 = "knowledge/status/eval_lanes.log"
21const GC_GREC: *u8 = "knowledge/status/eval_kat_genrec.log"
22const GC_REF: *u8 = "knowledge/registry/gallery_incumbent_ref.tsv"
23const GC_OUT: *u8 = "knowledge/registry/gallery_census.tsv"
24const GC_MAXF: i64 = 256

functions

26func gc_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
31func gc_putn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 2: maingc_run calls 1: nxi_out
34func gc_read_into(path: *u8, buf: *u8, off: i64, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
48func gc_read_file(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
62func gc_scan_to(buf: *u8, n: i64, start: i64, delim: i64) -> i64
called by 1: main
69func gc_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
71func gc_vstr(v: i64) -> *u8
called by 1: main
79func main() -> i64