Skip to content
DMN templates

DMN — Deliberately Incomplete: a Gap in the Input Space

A teaching artefact. This table looks finished and is not: applicants aged 18 to 29 with a score between 600 and 649 match no rule, so the decision has no answer for them. The engine computes the missing region and prints it under the table — open this one to see what a completeness finding reads like before you meet one in your own work.

Template previewDMN
Risk category — with a gap (deliberate)ApplicantRisk categoryinformation requirementRisk category — UniqueUAge[18..80]Score[300..850]Band{ Low, Medium, High }R1[18..30)[300..600)HighR2[18..30)[650..850]MediumR3[30..80][300..550)HighR4[30..80][550..850]LowGAP[18..30)[600..650)no ruleuncovered input1 uncovered region · 1 decision · 1 input data · 1 table · 4 rulesNo rule matches Age [18..30) · Score [600..650).

Make it your own.

title "Risk category — with a gap (deliberate)"

input    Applicant "Applicant"
decision Risk      "Risk category"

Applicant -> Risk

decision Risk "Risk category" {
  hit U
  input  Age   number [18..80]
  input  Score number [300..850]
  output Band  enum { Low, Medium, High }

  rule [18..30) | [300..600) -> High
  rule [18..30) | [650..850] -> Medium
  rule [30..80] | [300..550) -> High
  rule [30..80] | [550..850] -> Low
}