code wiki / _hdl_build / nx_parity_judge_gate.nx

nx_parity_judge_gate.nx

buildroot/runtime/_hdl_build/nx_parity_judge_gate.nx

4715 B64 linesdepth 10pulls 14 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_parity_judge_gate.nx -- PROOF the ORGAN EYE classifies like the human did (the operator's bar: "the workflow isnt complete until you [the Nishi team] see the exact same issues i see without your or my involvement"). The truth set = REAL top-20 suite captures a human eyeballed on 2026-07-16: google -> BLANK-NISHI (1) blank render that fooled the parity metric at 97.3% bing -> NO-ORACLE-CONTENT(5) headless Chrome itself served blank wikipedia -> CONTENT-OK (0) the best real render github -> CANVAS-OFF (3) white vs attribute-selector dark theme linkedin -> SPARSE-NISHI (4) full text, missing decoration/columns netflix -> STRIP-COLLAPSE (2) near-black + a hairline strip (the HUMAN said STRIP on 2026-07-16; the pin was held at BLANK only while the render carried <2pm ink. RE-PINNED 2026-08-19 to the human's own word: the 2026-08-18 capture reads 4pm ink and the organ now returns STRIP-COLLAPSE, i.e. it sees what the human saw) ⚠2026-08-19 MEASURED on the laptop's 2026-08-18 capture set (bench/top20 is laptop-resident; this NAS copy abstains): 4 of 6 reproduce the truth set; google's Nishi render is NO LONGER BLANK (search box, buttons, footer render; organ says CONTENT-OK, ink 9pm spread80 368pm) -- the BROWSER improved, so the google pin is a fossil awaiting the operator's eyeball. A seat's read nominates; it does not re-pin. Fixture volatility: paths point at bench/top20 (regenerated by every suite run); if a site's live page changes class legitimately, re-pin WITH an eyeball. MIGRATED onto nx_gate_verdict 2026-08-11 (D001): the old g_case returned 1 for FIXTURE MISSING exactly like a misclassification, so an absent bench/ read as a classifier regression. Missing fixtures are now gv_need preconditions -> verdict=SKIP exit 3 (evidence=none), never RED; the six classification checks are unchanged and their FAIL direction still exits 1 via gv_verdict. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_parity_judge.nx nx_gate_verdict.nx nx_parity_judge_gate.nx

imports: nx_parity_judge.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_head gv_puts sys_write gv_ctr sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ g_row g_case vd_load sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close nx_png_decode sys_mmap ↻ _png_check_signature _png_read_u32_be nx_crc32 nx_crc32_update _png_n_channels _png_bytes_per_pixel _png_n_channels ↻

structs

none

consts

none

functions

27func g_w(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: g_case
28func g_n(v: i64) -> i64 { let t: *u8=sys_mmap(24); var m: i64=v; if m<0{sys_write(1,"-" as *u8,1);m=0-m} var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} let b: *u8=sys_mmap(24); var j: i64=0; while j<k{b[j]=t[k-1-j];j=j+1} sys_write(1,b,k); return 0 }
called by 1: g_case
31func g_case(oracle: *u8, nishi: *u8, want: i64, label: *u8) -> i64
called by 1: g_row calls 4: vd_loadrj_classifyg_wg_n
43func g_row(oracle: *u8, nishi: *u8, want: i64, label: *u8, ctr: *i64) -> i64
called by 1: main calls 3: g_casegv_needgv_check
52func main() -> i64