code wiki / (root) / nx_print_runtime_monitor_test.nx

nx_print_runtime_monitor_test.nx

buildroot/runtime/nx_print_runtime_monitor_test.nx

4955 B97 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic print
docsdependenciesstructsconstsfunctions

about

nx_print_runtime_monitor_test.nx -- exercise the runtime spaghetti monitor against synthetic telemetry sequences. Closed-form invariants: (a) Null/bad constructor inputs -> null monitor (b) First event primes state; no issue (c) Normal layer progression (Z advancing every ~expected_time): NO issues raised (d) STUCK_LAYER: same Z for > expected × multiple ms -> fires (e) FLOW_ANOMALY: extruder advances but XY doesn't, Z static -> fires (f) EXTRUDER_RUNAWAY: e advances WAY more than xy -> fires (g) After issue fires, n_issues_total increments expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_print_runtime_monitor.nx nx_print_runtime_monitor_test.

imports: nx_syscalls.nxnx_print_runtime_monitor.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_runtime_monitor_new sys_mmap nx_runtime_monitor_step nx_runtime_monitor_last_is

structs

none

consts

20const Q14: i64 = 16384

functions

22func main() -> i64