nx_survey_gate.nx
buildroot/runtime/nx_survey_gate.nx
about
nx_survey_gate.nx -- R0 GATE: proves the survey engine captures a response as a content-addressed record,
round-trips numeric + flag answers, and derives a data-driven TRIAGE score + band that distinguishes a
CRISIS profile from a STABLE one (so the system routes the person to the right help). Hermetic /tmp
prefix. Exits 0 iff ALL pass. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_survey.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
| none |
functions
| 8 | 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 } |
| 9 | func g_putn(v: i64) -> i64 |
| 18 | func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64 |
| 23 | func seti(a: *i64, i: i64, v: i64) -> i64 { a[i] = v; return 0 } called by 1: main |
| 25 | func main() -> i64 |