code wiki / _hdl_build / nx_vsbench_gate.nx
nx_vsbench_gate.nx
buildroot/runtime/_hdl_build/nx_vsbench_gate.nx
about
nx_vsbench_gate.nx -- certifies the head-to-head VS-board (F1148, eats seq1004's second half:
the live board NAMED this gate for weeks while it existed nowhere -- a gate that is prose is not a gate).
TEETH (each one earned by a defect this lane actually hit):
T1 ANTI-FABRICATION: every Tier-3 EXT cell's OURS and THEIRS artifacts exist on disk with REAL
bytes (>= a floor; the nx_bunny decoy law -- existence alone is foolable by a blank).
T2 HONESTY-CANNOT-ROT: the board source still carries the contract strings (EXT-only headline,
UNGROUNDED-on-zero, HYPOTHESIS-NOT-CLAIM) -- the strings that keep declarations from scoring.
T3 DERIVED-NOT-FROZEN: the per-title emit must NOT contain the hardcoded "cells_ext":0 literal --
the exact regression that shipped: headline said ext=2 while Breeders' row said NOT-RUN.
T4 TIER DISCIPLINE: every cell declaration carries an explicit ctier assignment on its line.
T5 NEG-CONTROL: a fabricated evidence path must be ABSENT (T1 is a check, not a rubber stamp).
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_syscalls.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 VG_MAGIC_2026: i64 = 2026 |
| 17 | const VG_ART_FLOOR: i64 = 500000 // NXFH1 400x240 is 576254B; half-uploaded evidence must fail |
functions
| 19 | func pw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 20 | func pn(v: i64) -> i64 { |
| 29 | func line_g(nm: *u8) -> i64 { pw(" " as *u8); pw(nm as *u8); pw(" GREEN\n" as *u8); return 0 } |
| 30 | func line_r(nm: *u8) -> i64 { pw(" " as *u8); pw(nm as *u8); pw(" RED\n" as *u8); return 0 } |
| 32 | func fsize(p: *u8) -> i64 { |
| 41 | func has(hay: *u8, n: i64, needle: *u8) -> i64 {
called by 1: main |
| 56 | func cnt(hay: *u8, n: i64, needle: *u8) -> i64 {
called by 1: main |
| 71 | func main() -> i64 { |