code wiki / _hdl_build / nx_kkslider_stats_gate.nx
nx_kkslider_stats_gate.nx
buildroot/runtime/_hdl_build/nx_kkslider_stats_gate.nx
about
nx_kkslider_stats_gate.nx -- prove the slider-semantics ruler on fixtures with KNOWN answers
(2026-08-19). Assembles a pairs-dir at runtime under /tmp/kksliderstats_gate/ (fixture law: a
source-scanning detector must never find its trap in prose; idempotent: rebuilt from scratch every
run): two synthetic KK cards whose shapeValueBody arrays are EXACT msgpack float32 (0.25 vs 0.75 at
idx0, both 0.5 at idx1) with metas tagging only the first card "tall" -- so mean_tag/mean_rest/delta
have hand-computable values -- plus an AIS-marker card that MUST be counted skipped_dialect, and a
meta whose tags include the uploader-decoy shape ("username" must never read as a tag).
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_tool_run.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
| 13 | const KG_OUT: i64 = 262144 |
| 14 | const KG_BUF: i64 = 4096 |
| 15 | const KG_NBODY: i64 = 44 |
functions
| 17 | func kg2_s(b: *u8, at: i64, s: *u8) -> i64 { var i: i64 = 0; var p: i64 = at; while s[i] != (0 as u8) { b[p] = s[i]; p = p + 1; i = i + 1 } return p } called by 1: kg2_card |
| 18 | func kg2_w(path: *u8, b: *u8, n: i64) -> i64 |
| 27 | func kg2_ws(path: *u8, s: *u8) -> i64 |
| 34 | func kg2_card(b: *u8, marker: *u8, v0hi: i64, v0lo: i64) -> i64 |
| 64 | func main(argc: i64, argv: *i64) -> i64 |