Use AI to convert a set of approved rules into a decision table by defining the inputs, possible values and outcomes before enumerating combinations. Make exceptions and missing information visible. Test whether multiple rules can match the same case, whether any allowed case is uncovered and what should happen when a required fact is unknown. A clear table can make a complicated rule easier to apply without giving AI authority to invent policy.
This international guide follows Lian, a fictional coordinator routing requests for learning-resource drafts. All rules and cases are invented for a low-stakes educational exercise. SuperIntelligence is the future-facing theme rather than a claim that present AI has demonstrated general superintelligence. Real policy, legal obligations, accessibility and authorisation must be established by responsible people; a generated table is not an approved decision system.
- State the decision purpose and approved rule sources.
- Define allowed input values, including unknown states.
- Write rules with explicit conditions and bounded outputs.
- Check overlaps, missing combinations and policy precedence.
- Test boundaries and exceptions before any operational use.
- Preserve the rule version and refer unresolved cases to an owner.
EDUKATE · VOCABULARY CODING AND ENGINEERING · PART 96 · TWENTY-FOURTH COLLECTION
Find your next useful step
Continue the series: Parts 93–96
- Part 93: Checking sample coverage
- Part 94: Checking units and dimensions
- Part 95: Calibrating predictions
- Part 96: Building explicit decision tables — you are here
Parts 89–92: regression tests, reconciliation, qualitative coding and critical paths · Begin the complete series
Full chapter index
Define rule scope and input states
Construct a complete fictional table
Test overlaps and unusual cases
Verify governance and maintenance
Teach and extend decision logic
1. Define a narrow decision purpose
Lian needs to route a request for preparation of a resource draft. The table determines a next internal step, not whether a learner deserves education or whether a finished resource can be released.
The request concerns fictional non-sensitive materials. Identify the actual decision and keep approval, publication and distribution outside the table’s delegated scope.
2. Establish the authority before the logic
A responsible programme owner has stipulated the invented routing rules for this lesson. In real work, identify the approved document, version and person responsible for resolving ambiguities.
AI can help express rules and identify contradictions. It cannot make an unapproved exception authoritative just because it sounds reasonable.
Contents · Previous chapter · Next chapter
3. Define the first input
Permission to prepare the requested resource has three possible recorded states: yes, no and unknown. Yes means permission has been verified under the local fictional procedure; no means permission is established as absent.
Unknown means evidence has not established either state. It is not the same as no, and it must not be silently converted to yes.
Contents · Previous chapter · Next chapter
4. Define the second input
Source approval has three states: yes, no and unknown. Yes means the source has been approved for this drafting purpose, no means it is known not to be approved, and unknown means approval has not been established.
A source may be approved for one purpose but not another. The input definition must specify the relevant use and source version.
Related guide: reconciling conflicting instructions.
Contents · Previous chapter · Next chapter
5. Define the third input
The requested format has four states: standard, large-print, other and unknown. Other means a specified format outside the two supported draft routes; unknown means the requested format is unestablished.
The fictional table routes other formats to a specialist rather than refusing them. It does not determine a person’s disability or infer accessibility needs from private information.
Contents · Previous chapter · Next chapter
6. Count the defined combinations
With three permission states, three approval states and four format states, the Cartesian product has 3 × 3 × 4 = 36 combinations. This assumes the defined states can be considered independently for the test.
If real constraints make some combinations impossible, document them and decide how invalid inputs are handled. Do not assume that every conceivable string or real situation belongs to the defined domain.
Contents · Previous chapter · Next chapter
7. Write the permission rules first
If permission is no, the next step is do not prepare a draft. If permission is unknown, the next step is verify permission. In both rules the source and format states do not change the first action.
An any marker means every allowed value in that column, not an invitation to guess a missing value. Each of these rules covers 3 × 4 = 12 combinations.
Contents · Previous chapter · Next chapter
8. Write the source rules when permission is yes
When permission is yes but source approval is no, request an approved source. If approval is unknown, verify source approval. The requested format does not yet determine the next action.
These two rules each cover four combinations. Permission no or unknown cannot match them because they explicitly require permission yes.
Contents · Previous chapter · Next chapter
9. Write the format routes when both gates pass
When permission and source approval are both yes, standard routes to prepare a standard draft; large-print routes to prepare a large-print draft; other routes to a suitable specialist; unknown routes to clarify the requested format.
These four rules each cover one defined combination. Draft preparation is not permission to distribute, and any resulting material requires the separate applicable review.
Contents · Previous chapter · Next chapter
10. Check complete defined-domain coverage
The eight rules cover 12 + 12 + 4 + 4 + 1 + 1 + 1 + 1 = 36 combinations. They are mutually exclusive because each successive branch is restricted to the gate state that permits it.
This arithmetic and the explicit conditions establish coverage of the stipulated finite domain, not coverage of every possible real policy situation. Malformed input and new categories still need handling.
| Rule | Permission | Source approved | Format | Next internal action | Cases |
|---|---|---|---|---|---|
| R1 | No | Any | Any | Do not prepare | 12 |
| R2 | Unknown | Any | Any | Verify permission | 12 |
| R3 | Yes | No | Any | Request approved source | 4 |
| R4 | Yes | Unknown | Any | Verify source approval | 4 |
| R5 | Yes | Yes | Standard | Prepare standard draft | 1 |
| R6 | Yes | Yes | Large-print | Prepare large-print draft | 1 |
| R7 | Yes | Yes | Other | Route to specialist | 1 |
| R8 | Yes | Yes | Unknown | Clarify format | 1 |
Related guide: testable briefs.
Contents · Previous chapter · Next chapter
11. Distinguish coverage from correctness
A table can return one output for every defined combination and still encode a wrong or unfair policy. Complete coverage is a structural property, not proof that the outputs are appropriate.
Check each outcome against the responsible owner’s approved rule. Include feedback from affected people where appropriate, especially when rules concern access to services.
Contents · Previous chapter · Next chapter
12. Recognise a rule overlap
Suppose a new row says that any large-print request should immediately prepare a large-print draft, regardless of the other inputs. It overlaps the permission-no rule when permission is no and format is large-print.
The matching outcomes would conflict. An automatic first-match rule could conceal that conflict instead of establishing which rule ought to apply. Refer the ambiguous change for approval.
Contents · Previous chapter · Next chapter
13. Recognise a missing case
Suppose the unknown-format row is removed from the original eight-rule table. Permission yes, source approval yes and format unknown then matches no row.
Do not automatically treat an unmatched case as rejected or accepted. An explicit clarification or escalation route should be established according to the approved policy.
Contents · Previous chapter · Next chapter
14. Understand the rule matching policy
A unique-match design requires at most one matching rule per valid input. Full coverage is an additional requirement if every defined case must have exactly one result. Other decision-table designs may deliberately allow multiple matches.
The intended matching policy must be explicit. Lian’s example uses mutually exclusive rules with one next action for every defined combination, not an unspecified first-match ordering.
Contents · Previous chapter · Next chapter
15. Distinguish unknown from any
In the row for permission unknown, unknown is an actual input state. In the source column marked any, any describes a condition that accepts all three source states.
Confusing these would change the decision space. A wildcard is not a missing measurement or a licence to disregard a required fact when the rule actually depends on it.
Contents · Previous chapter · Next chapter
16. Handle malformed and unexpected inputs
If a request provides an unrecognised permission value such as pending review, it must be mapped to unknown only if the approved input definition supports that mapping. Otherwise reject it as invalid input and route for clarification.
Do not let the assistant creatively reinterpret categories to complete a table. Data validation is separate from rule evaluation and should be tested.
Related guide: regression testing.
Contents · Previous chapter · Next chapter
17. Give AI a bounded decision-table brief
Try: Use these approved fictional rules and defined input domains. Produce mutually exclusive conditions and one next action per case. Enumerate all combinations, flag uncovered and overlapping cases, and distinguish unknown inputs from wildcards.
Ask for a list of ambiguities requiring the rule owner’s decision. Do not ask the model to fill policy gaps by selecting what seems fair or convenient.
Contents · Previous chapter · Next chapter
18. Test representative cases
For permission no, approval yes and format large-print, the output remains do not prepare. For permission unknown, approval yes and format standard, it is verify permission. For permission yes, approval unknown and format large-print, it is verify source approval.
For both approvals yes and format other, route to a suitable specialist. These examples test the gates and exception routes rather than only the two common draft formats.
| Permission | Source approved | Format | Expected row |
|---|---|---|---|
| No | Yes | Large-print | R1 |
| Unknown | Yes | Standard | R2 |
| Yes | Unknown | Large-print | R4 |
| Yes | Yes | Other | R7 |
| Yes | Yes | Unknown | R8 |
Contents · Previous chapter · Next chapter
19. Test all finite combinations where feasible
Enumerate the thirty-six defined tuples and count how many rules match each. For this table every tuple should match exactly one row. Compare the returned output with an independently checked expected result.
Automated enumeration can catch structural errors. It does not independently establish expected policy semantics if the same unreviewed source generated both the table and its expected answers.
Contents · Previous chapter · Next chapter
20. Handle a policy change deliberately
Suppose the owner adds a newly supported format. The format domain changes from four to five states, so the full product becomes 3 × 3 × 5 = 45 combinations.
A reviewed new row and updated definitions are required. Recalculate coverage, preserve the earlier table, and test previously supported inputs as well as the new format before any reuse.
Contents · Previous chapter · Next chapter
21. Maintain a decision trace
For a permitted case, retain the rule version, validated input states, matched row, next action and any authorised human override. Keep only the information necessary to support the decision and legitimate review.
A manual exception is not automatically a new general rule. Record its authority and scope, and seek approval if the general rule should change.
Related guide: keeping rules current.
Contents · Previous chapter · Next chapter
22. Practise transfer to a new fictional rule
A study group routes document requests according to whether a source is verified (yes or unknown) and whether the request is for a summary or a practice question. The unknown-source route always seeks verification first.
There are four defined combinations: two covered by the unknown-source row and one by each verified-source format row. Write the table and then introduce a new unknown-format state to see what must change.
Contents · Previous chapter · Next chapter
23. Connect decision tables across zoom levels
A learner can organise conditions in a maths or logic task; a teacher can route draft resources; a team can inspect a repeatable administrative process. Larger decision systems need suitable legal, ethical, technical and operational assurance.
The shared method is exposing the relationship between input conditions and outcomes. A table does not remove the need for judgement or confer permission to automate consequential decisions.
Contents · Previous chapter · Next chapter
24. Connect vocabulary, Ztime and EnDist
Vocabulary Coding and Engineering distinguishes input domain, rule, condition, wildcard, unknown, match, exception and outcome. Ztime preserves the version and authority that made a particular decision rule applicable.
EnDist is a conceptual lens for useful progress after misunderstanding and rework, not physical energy or a validated numerical metric. Clear routing can reduce avoidable confusion without demonstrating that every outcome is correct.
Read more: shared vocabulary · EnDist in Civilisation OS.
Contents · Previous chapter · Next chapter
25. Four weeks of practice
Week one: choose an invented low-stakes decision and define the inputs, domains and approved outcomes. Week two: write a disjoint table and enumerate every defined combination.
Week three: deliberately introduce an overlap, a gap and an invalid input, then correct them against the stipulated rules. Week four: test a changed rule version and explain the results to another learner.
Contents · Previous chapter · Next chapter
26. Questions beginners ask and the next useful step
Does complete coverage prove a correct policy? No. Is unknown the same as no? No. Must every table have a unique match? Only if its intended design requires that. Can AI approve its own exceptions? No.
Choose a small rule with an exception and write the exact input states first. Then check every defined combination before asking AI to turn the table into an operational workflow.
Camunda’s Decision Model and Notation hit policy documentation explains how matching rules and their outputs are selected. Its decision-table modelling guidance discusses coverage and non-overlap. Lian’s invented table illustrates these concepts independently of any executable software or formal policy.
Contents · Previous chapter · Revisit the start of this collection