Derives human-readable manual test cases from a business-rule spec via a decision table: identify conditions and actions, build the full 2^n-column matrix, collapse columns with irrelevant entries, strike infeasible combinations, then emit one test case per remaining column (each feasible column is one coverage item per ISTQB CTFL v4.0 section 4.2.3). A deep single-technique walkthrough rather than a broad multi-lens case matrix; the output is manual step/expected cases rather than parameterized test code, and it covers how cases are derived rather than how a case record is structured. Use when a spec's outcome depends on interacting conditions (pricing, eligibility, discounts, routing rules) rather than the boundaries of a single input.
93
93%
Does it follow best practices?
Impact
94%
1.02xAverage score across 10 eval scenarios
Passed
No findings from the security scan
The quoting screen and the invoicing job both implement the surcharge schedule below, and they were written by different teams eight months apart. Finance has found four jobs this quarter where the quote and the invoice differ, all of them tail-lift deliveries, and they want to know whether there are more shapes of job where the two can disagree before they go back through a year of invoices.
The schedule has four yes/no facts about a shipment in it. What makes it awkward is that some of them change the rate of a surcharge rather than adding one, and one of them switches another surcharge off entirely.
What I want is the money answer for every possible shipment shape, worked out from the schedule alone, so we can run both systems against the same list and see where they part company. Where the schedule genuinely does not say, I want that written down as not saying rather than guessed at, because a guess here is what got us the four bad invoices.
Produce surcharge-rules-analysis.md containing:
Out of scope: VAT, fuel surcharge indexation, and the customer-specific rate agreements. Assume list pricing throughout, and do not change any code.
Extract the following files before beginning.
=============== FILE: docs/surcharge-schedule.md ===============
Base surcharge on a standard dock-to-dock delivery: EUR 0.
Residential delivery carries an access surcharge of EUR 25.
A delivery requiring a tail lift adds EUR 40.
At a residential address the tail lift is charged at EUR 60 rather than EUR 40, because the driver works without a dock.
Island destinations carry a ferry surcharge of EUR 90. The residential access surcharge is not applied to island destinations.
Shipments over 500 kg carry a heavy-goods surcharge of EUR 30. Island shipments are quoted per shipment and carry no heavy-goods surcharge.
Surcharges that apply are added together and shown as one line on the invoice.