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 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 ↻ 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_note_bare_rate gv_bare_rate gv_at gv_obj_has_n

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