TOPIC 25/4217 MINNOT STARTED

Decision tables, state models and pairwise sets with AI

A recipe for using an assistant to draft decision tables, state models and pairwise input, then counting rules, tracing states and letting a tool do the pair maths.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a fast sketch artist. A sketch artist draws an outline in seconds. It looks good from across the room. But if you count the fingers on the hand, the count may be off. The artist is quick at the shape and less careful with the count.

Daily List is a to-do list app. Tom, the tester, asks an assistant to help him test reminders. A reminder can be scheduled, sent, snoozed or done. The assistant draws a state model fast. It adds a 'paused' state that the app does not have. It also forgets that a snoozed reminder can be marked done.

Tom does not redraw the whole thing. He counts and traces. He counts the rules in a decision table. He traces each state to a sentence in the written rules. He gives the pair maths to a tool.

That is the recipe: let the assistant sketch, and let counting and tools check the lines. The picture has a limit. A sketch artist sees the person in front of them. The assistant only sees the words you give it.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named here are made up.)

PLAIN WORDS · 2 in this section
snoozed
Set to remind again a little later.
redraw
draw again

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Using an assistant to sketch a decision table, a state model and pairwise input, then counting, tracing and letting a tool do the pair maths.

  1. Give the rule text
  2. Sketch the model
  3. Count and trace
  4. Tool for pairs
  5. Check the gaps
Sketch with the assistant, count with your hands, measure with a tool

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The quick sketch outlineThe assistant's first table or model
Counting the fingers on the drawn handCounting rule columns and tracing states
A sixth finger that is not thereAn invented state
A ruler used for measuringA pairwise tool for the maths

WHERE THIS PICTURE STOPS

  • A sketch artist sees the subject. An assistant sees only the words you give it.
  • A drawing keeps one shape. An assistant may sketch a different model each time you ask.
  • A ruler measures exactly. A pairwise tool is exact only for the input you give it.

HOOK

Sketch with the assistant, count with your hands, measure with a tool.

REMEMBER IT THIS WAY

A story beat: one picture-line that carries the order or the cause.

The assistant drew a paused state that Daily List does not have. Tom traced each state to a sentence in the written rules and found it.

What each part of the trick stands for
In the trickWhat it stands for
PausedAn invented state
TracingCounting rule columns and tracing states
Written rulesA sentence in the written rules

It misleads when the written rules themselves leave out a state, so ask Nina.

TELL A FRIEND

Let the assistant sketch, then count the rules, trace each state, and give the pair maths to a tool.

OFTEN MIXED UP WITH Test cases, test data and boundary ideas with AI, and what to correct. The earlier lesson drafted partitions, boundaries and cases. This lesson covers three techniques that fail in other ways.

Sources & standards — 4 sources
  1. Market practice

    Decision table basics: completeness and testability (Lohrfink manual) ↗ — lohrfink.de (LFET manual) · With n yes-or-no conditions a full table has 2 to the power n rules; completeness has a content side (all conditions and actions captured) and a form side (every combination entered), and it only works once redundant and contradictory rules are removed (search excerpt, page not opened)

    A tool manual explaining the technique. It says nothing about assistants. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    State transition testing (TMap wiki) ↗ — TMap · A state table shows both the valid and the invalid transitions, so it can be used to test both (search excerpt, page not opened)

    A practitioner wiki page about the technique itself, not about assistants. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    microsoft/pict (PICT, Pairwise Independent Combinatorial Testing, repository) ↗ — Microsoft (GitHub) · PICT is a command-line tool driven by a plain-text model file: parameters go on separate lines, constraints use IF and THEN, and the tool produces a compact set that covers every pair of values (search excerpt via secondary pages, repository not opened)

    Per the search excerpt, a command-line tool that builds compact suites covering all pairs of parameter values from a model file. Constraints use if-then logic, and unconditional constraints must hold for every generated case. Syntax details came from third-party guides. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Automated Combinatorial Testing for Software: Frequently Asked Questions ↗ — National Institute of Standards and Technology (NIST), Computer Security Resource Center · Explains combinatorial testing, which tests chosen combinations of input values instead of all of them, and the tools that generate such sets (registry source, general description, page not opened in this batch)

    Free to read. Says most software failures involve one or two parameters, fewer involve three or more, and that testing all pairs is not enough on its own. Cite by question heading. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Project page as listed on the publisher's site; no edition number found. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

PRACTISE AND KEEP

Sources for this topic — 4 sources
  1. Market practice

    Decision table basics: completeness and testability (Lohrfink manual) ↗ — lohrfink.de (LFET manual) · With n yes-or-no conditions a full table has 2 to the power n rules; completeness has a content side (all conditions and actions captured) and a form side (every combination entered), and it only works once redundant and contradictory rules are removed (search excerpt, page not opened)

    A tool manual explaining the technique. It says nothing about assistants. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    State transition testing (TMap wiki) ↗ — TMap · A state table shows both the valid and the invalid transitions, so it can be used to test both (search excerpt, page not opened)

    A practitioner wiki page about the technique itself, not about assistants. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    microsoft/pict (PICT, Pairwise Independent Combinatorial Testing, repository) ↗ — Microsoft (GitHub) · PICT is a command-line tool driven by a plain-text model file: parameters go on separate lines, constraints use IF and THEN, and the tool produces a compact set that covers every pair of values (search excerpt via secondary pages, repository not opened)

    Per the search excerpt, a command-line tool that builds compact suites covering all pairs of parameter values from a model file. Constraints use if-then logic, and unconditional constraints must hold for every generated case. Syntax details came from third-party guides. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Automated Combinatorial Testing for Software: Frequently Asked Questions ↗ — National Institute of Standards and Technology (NIST), Computer Security Resource Center · Explains combinatorial testing, which tests chosen combinations of input values instead of all of them, and the tools that generate such sets (registry source, general description, page not opened in this batch)

    Free to read. Says most software failures involve one or two parameters, fewer involve three or more, and that testing all pairs is not enough on its own. Cite by question heading. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Project page as listed on the publisher's site; no edition number found. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.