code wiki / _hdl_build / nx_dr_fuse_gate.nx

nx_dr_fuse_gate.nx

buildroot/runtime/_hdl_build/nx_dr_fuse_gate.nx

4462 B99 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic dr
docsdependenciesstructsconstsfunctions

about

nx_dr_fuse_gate.nx -- KAT + neg-controls for the learned signal combiner (DR-12). Synthetic set where the right answer is KNOWN: the "semantic" feature separates insights from distractors, the "lexical" feature is deliberately ANTI-correlated (a lexical-only weighting scores 0), and the third feature is constant noise. A fitter that works must discover the informative feature and ignore the misleading one. Proves in particular: (1) weights fitted on a TRAINING task range generalise to a DISJOINT held-out task, and (2) the NEG-CONTROL -- on a task whose insights and distractors are IDENTICAL, recall at matched precision is 0, so the metric cannot be gamed by any weighting.

dependencies 2 imports · 0 importers

nx_dr_fuse.nx nx_gate_verdict.nx nx_dr_fuse_gate.nx

imports: nx_dr_fuse.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_ctr sys_mmap gv_head gv_puts sys_write fg_put fu_score gv_check gv_puts ↻ fu_pairacc fu_task fu_label fu_score ↻ fu_fit sys_mmap ↻ fu_pairacc ↻ fu_recall fu_task ↻ fu_label ↻ fu_score ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻

structs

none

consts

none

functions

13func fg_put(r: *i64, i: i64, t: i64, lab: i64, sem: i64) -> i64
called by 1: main
23func main() -> i64