nx_print_runtime_monitor_test.nx
buildroot/runtime/nx_print_runtime_monitor_test.nx
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
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
structs
| none |
consts
| 20 | const Q14: i64 = 16384 |
functions
| 22 | func main() -> i64 |