SimulateCrash#
- class SimulateCrash[source]#
Bases:
HookBaseHard-exit the process after a fixed number of steps to simulate a crash.
Fires only when
PIMM_SIMULATE_CRASH_STEPis set, so a run can die deterministically after writing a checkpoint while a later resume of the same config runs to completion. Used to test crash recovery.