nx_arousal_fit_gate.nx
buildroot/runtime/nx_arousal_fit_gate.nx
about
nx_arousal_fit_gate.nx -- liar-killed GATE for the tau fitter.
The load-bearing tooth is NON-VACUITY: the fitter must recover DIFFERENT tau from DIFFERENT data.
A fitter that returns a constant would still show residual=0 on its own training point, so
"residual=0" alone proves nothing -- T4 is the tooth that actually convicts.
Synthetic truth generated by the engine itself (nx_arousal residual <tau> ... 0 0 prints m1/m2):
tau= 90000 -> obs 670/987 tau=185000 -> obs 416/883
tau=210000 -> obs 378/850 tau=300000 -> obs 282/734
usage: nx_arousal_fit_gate [elf] Exit 0 on 12/12.
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
| 13 | const G_OUTCAP: i64 = 16384 |
| 16 | const G_MIN_TEETH: i64 = 30 |
functions
| 18 | func g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 19 | func g_putn(v: i64) -> i64 |
| 30 | func g_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 32 | func g_bool(name: *u8, got: i64, want: i64, passp: *i64) -> i64 |
| 38 | func g_has(hay: *u8, hn: i64, needle: *u8) -> i64 |
| 47 | func g_write(path: *u8, s: *u8) -> i64 { let fd: i64 = sys_openat_wr(path, 420); if fd < 0 { return 0 - 1 } sys_write(fd, s, g_slen(s)); sys_close(fd); return 0 } |
| 48 | func g_run(elf: *u8, a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8, a6: *u8, a7: *u8, a8: *u8, out: *u8, cap: i64) -> i64 |
| 83 | func main(argc: i64, argv: *i64) -> i64 |