Define the question, data and units
A fictional team wants to route payment exceptions to hold, review or automatic processing. The first question is not which tool to use: it is which decision the team is authorized to make and with which data. In the lab amount_cents is an integer from 0 to 200000, minutes_to_cutoff is the integer number of minutes remaining until close, from 0 to 120, and reconciliation distinguishes confirmed from unconfirmed.
These limits are teaching choices, not institutional limits. Unknown is not equivalent to zero, and “unconfirmed” does not mean “missing field.” Before modeling, establish the unit, observation time, data origin and interpretation owner.
If one interface supplies euros while another expects cents, a perfectly consistent table can route transactions incorrectly.
Build a small, inspectable policy
The baseline contains four original rules. R1 holds every unconfirmed transaction. R2 sends confirmed transactions of at least 100000 cents for review.
R3 sends confirmed transactions below that amount for review when at most 15 minutes remain. R4 automates confirmed transactions below that amount when at least 16 minutes remain. All intervals are inclusive and minutes are integers.
Minute 15 therefore belongs to R3 and minute 16 to R4. Conditions within a row must hold together. A high amount does not activate R2 when reconciliation is unconfirmed, because that condition is also part of the rule.
The table helps the analyst expose questions hidden in phrases such as “near close” or “material amount.” Business authority must confirm the boundaries.
Find witnesses of gaps and overlaps
In the exercise, changing only the start of R4 to 17 leaves a confirmed low-value transaction with 16 minutes remaining without an applicable rule. The report returns that combination as a gap witness. Changing the start to 15 creates the opposite problem: at that minute R3 and R4 both apply and propose different outputs.
Do not change the resolution policy merely to obtain a green result. Bring the counterexample to the owner: what should happen exactly at this boundary? The answer may correct a condition or establish intentional precedence with a rationale.
Testing only 10 and 30 minutes would not expose these faults. Retain the example that found the problem as a regression test and link it to the corrected rule version.
Choose resolution semantics deliberately
DMN documentation distinguishes ways to handle multiple applicable rules. In the lab U requires a single match; A permits multiple matches only when outputs agree; F uses the first applicable row; P uses explicit output priority. These are supporting modeling concepts, not a claim that the CBAP exam requires DMN programming.
In the overlapping minute-15 case, reversing rows changes F from REVIEW to AUTO. P retains REVIEW if the HOLD, REVIEW, AUTO priority order remains. Changing that list changes policy even without changing conditions.
Two rows with the same output still violate U; they may be acceptable under A. A different explanatory annotation is not a different output. The teaching code implements only this subset, without FEEL or a conformance certification.
Distinguish model coverage from real-work coverage
The baseline divides the two numeric axes into regions where condition results do not change. With two reconciliation states, eight representative combinations cover the table’s condition vectors. The script also compares every integer value on each axis with its region representative.
This reduction is valid for the implemented independent intervals; a condition such as “amount greater than minutes times a factor” would need different analysis. Neither the eight cases nor integer enumeration discovers an omitted business need, a stale source or a channel excluded from the contract.
Document the covered domain and collect real-work examples to challenge model suitability.
Justify reduction to representatives
Using one representative per region reduces work only when there is a reason to extend its result to other points. A region must preserve conditions relevant to the property being checked. Comparing a specification with a candidate also requires considering candidate behavior; constancy of the specification alone does not guarantee a constant implementation.
Example: x and y are integers from zero to two, and the rule accepts when x<y. An old partition separates zero from nonzero on each axis, using (0,0), (0,1), (1,0) and (1,1). A candidate accepts only when x=0 and y>0. All four representatives agree, but (1,2) should be accepted by the rule and is rejected by the candidate. The relational predicate cuts the region where both inputs are nonzero.
There are nine domain pairs, few enough for exhaustive checking. The rule accepts (0,1), (0,2) and (1,2); the candidate accepts only the first two. Covering accept/reject outputs or adding (2,2) does not repair the proof. That new extreme is rejected by both and leaves the counterexample invisible.
For a large domain, seek a partition making the necessary conditions invariant and justify the reduction. Relational boundaries may require regions that are not independent per-field intervals. Also consider unknown states, rounding or input restrictions when they belong to the contract. Do not invent those behaviors for the exercise; identify them when present in the actual specification.
Workshop: enumerate all nine pairs, compare outcomes and draw the x=y boundary. Then explain why testing one occurrence of each output is insufficient. Worked guidance: observing output types differs from covering every point where conditions change. Summary: a failing test refutes the corresponding universal claim; passing tests establish it only when coverage or reduction is justified. Relate this check to version and domain traceability.
Retain evidence scope when the domain changes
A verification report should identify the rule version and input set it covers. Changing the domain may change coverage even when no table row is edited. Preserve earlier evidence within its scope; do not call it false because a new need emerged or automatically extend it to a new promise.
Example: a process uses a day offset initially limited to integers 0, 1 and 2. R1 treats offset=0 as ON TIME and R2 treats offset≥1 as LATE. The table covers all three values without overlap. A new proposal also admits −2 and −1, representing early arrival. The old rules do not handle those two values. The previous check rejecting them does not establish compliance with a proposal now requiring their admission.
One possible revision extends R1 to offset≤0. This structurally covers all five values, but whether classifying early arrival as ON TIME preserves intended meaning still needs validation. Another option adds an EARLY output. Verification identifies the gap and compares coherence; it does not independently choose business meaning. The change may affect consumers aggregating states and existing acceptance criteria.
Not every expansion creates a gap. If R1 already used offset≤0, its predicate would cover the new range. Even so, a report limited to 0, 1 and 2 is not by itself a review of the new use. Identify which conclusions follow from the rules and what remains to confirm about meaning, data and effects. Complete within a domain and suitable for a need are related but different conclusions.
Workshop: compare R1=0 and R1≤0 tables in the old and new domains. Record coverage, overlap and the validation question still open. Worked guidance: both are structurally identical in the old domain; only the second covers negatives, and that does not automatically settle the state-label choice. Summary: treat domain, version, criteria and results as one evidence unit. Scope change merits analysis even when the rule file has not changed.
python3 content/labs/cbap-decision-rules/run.py --output /tmp/cbap-rules.json
# Inspect gapWitness, conflictWitness and changedExamples.Amount 99999, confirmed reconciliation and 16 minutes: AUTO in the baseline; a gap if R4 starts at 17.
Common pitfalls
Confusing remaining minutes with delay; converting unknown to zero; resolving conflicts by row order without agreement; generalizing eight partitions to any engine.
Related topics: Requirements architecture · Validation and acceptance · Rule life cycle
A useful table exposes boundaries and conflicts; the business decision still needs meaning and authority.
References
- CBAP competencies · Public knowledge-area competencies rechecked 2026-10-08
- CBAP public exam blueprint · Public six-area weights rechecked 2026-10-08
- CBAP Handbook · May 2026; public PDF rechecked 2026-10-08
- IIBA certification FAQ · Public FAQ rechecked 2026-10-08
- Decision Model and Notation 1.6 · 1.6; formal/25-12-02; landing page lists September 2026 adoption
- DMN 1.6 specification status · Formal version history inspected 2026-10-08