code wiki / _hdl_build / nx_galx_census.nx
nx_galx_census.nx
buildroot/runtime/_hdl_build/nx_galx_census.nx
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
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
| 15 | const GC_MAGIC_800000: i64 = 800000 |
| 16 | const GC_MAGIC_80000: i64 = 80000 |
| 17 | const GC_MAGIC_300000: i64 = 300000 |
| 19 | const GC_SELF: *u8 = "knowledge/status/galx_serve.log" |
| 20 | const GC_EVAL: *u8 = "knowledge/status/eval_lanes.log" |
| 21 | const GC_GREC: *u8 = "knowledge/status/eval_kat_genrec.log" |
| 22 | const GC_REF: *u8 = "knowledge/registry/gallery_incumbent_ref.tsv" |
| 23 | const GC_OUT: *u8 = "knowledge/registry/gallery_census.tsv" |
| 24 | const GC_MAXF: i64 = 256 |
functions
| 26 | func 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 } |
| 31 | func gc_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 34 | func gc_read_into(path: *u8, buf: *u8, off: i64, cap: i64) -> i64 |
| 48 | func gc_read_file(path: *u8, buf: *u8, cap: i64) -> i64 |
| 62 | func gc_scan_to(buf: *u8, n: i64, start: i64, delim: i64) -> i64 called by 1: main |
| 69 | func 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 |
| 71 | func gc_vstr(v: i64) -> *u8 called by 1: main |
| 79 | func main() -> i64 |