gds_software.statemachine.checks¶
State machine verification checks (SM-001..SM-006).
SM-001: Exactly one initial state exists.
Source code in packages/gds-software/gds_software/statemachine/checks.py
SM-002: All states are reachable from the initial state.
Source code in packages/gds-software/gds_software/statemachine/checks.py
SM-003: No two transitions from the same state on the same event (without guards).
Source code in packages/gds-software/gds_software/statemachine/checks.py
SM-004: Transitions with guards from same state/event should be exhaustive.
Source code in packages/gds-software/gds_software/statemachine/checks.py
SM-005: Region states must partition the state set (no overlaps, no gaps).
Source code in packages/gds-software/gds_software/statemachine/checks.py
SM-006: Transition source/target are declared states, events are declared.