Rule Models
Exceptions
An exception can be modeled as its own expected-absence prong. Honesty note: US classroom stated-rule model; the pinned first step states the as-of date; not legal advice; code encodes an interpretation of a stated rule, not the law itself.
Rules as code honesty note
Honesty note: US classroom stated-rule model; as of 2026-06-24; not legal advice; code encodes an interpretation of a stated rule, not the law itself.
Exceptions are separate rows
A stated rule with an exception should not hide the exception inside prose. The exception becomes its own row where absence is required.
Example exception data
The base prong is present in the toy data, and the exception fact is also present. That creates a separate exception row in the trace.
The row changes the trace
In this classroom model, the exception prong expects absence. When the exception fact is present, 1 row is not satisfied.
Diagram note
The diagram shows base and exception rows separately. It does not decide any real-world defense or exception.
Jurisdiction: US; as of 2026-06-24; not legal advice; Code encodes the stated-rule interpretation.
Narrow summary
Exception logic is safer when the exception row is visible and reviewable.