Deterministic decision logic

TODO introduction.