code wiki / _hdl_build / nx_tpl_ingest_gate.nx
nx_tpl_ingest_gate.nx
buildroot/runtime/_hdl_build/nx_tpl_ingest_gate.nx
about
nx_tpl_ingest_gate.nx -- referee for R4 (nx_tpl_ingest). Proves the pattern-corpus extractor consumes
template STRUCTURE (not files) into a content-addressed, deduped corpus, classifies archetypes, extracts
the ordered section-sequence, and is BUDGET-GUARDED (fail-fast) + resumable. Positive tests + negative
controls (structural dedup collapse, budget-trap fires, junk skipped). GREEN iff 7/7.
Fixtures: web_assets/_tpl_seed/{landing,landing2(near-dup),shop(ecom),resume,junk}.html
The build wrapper cleans + creates /tmp/tplcorpus_gate and /tmp/tplcorpus_gate2 before the run.
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_gate.nxnx_tpl_ingest.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
| none |
functions
| 11 | func gg_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: gg_find |
| 12 | func gg_find(hay: *u8, needle: *u8) -> i64 |
| 19 | func gg_row(name: *u8, ok: i64) -> i64 { gw(" " as *u8); gw(name); if ok==1 { gw(" PASS\n" as *u8) } else { gw(" FAIL\n" as *u8) } return 0 } |
| 21 | func main() -> i64 |