nx_vessel_faults_test.nx
buildroot/runtime/nx_vessel_faults_test.nx
about
nx_vessel_faults_test.nx -- smoke for nx_vessel_faults (H2, fault injection).
Proves the device fails SAFE under every injected hardware fault:
- NOMINAL regulates to the setpoint band (harness is valid) (1-2)
- HEATER-STUCK-ON without the fuse RUNS AWAY past 60 C (fault is real) (3)
- HEATER-STUCK-ON with the independent fuse is CONTAINED (4)
- SENSOR-STUCK-LOW (controller blind) is still CONTAINED by the fuse (5)
- POWER-LOSS never reaches temperature -> batch detectably failed (6)
Exit code = failed assertion number; 0 = all pass.
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_ferment_safety.nxnx_ferment_thermal.nxnx_vessel_thermal.nxnx_vessel_io.nxnx_vessel_faults.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
| 18 | func main() -> i64 |