A checked record of what the application does
The business rules in plain language, each linked to the code that implements it and marked with who reviewed it. Your experts review and correct it, and open questions stay visible until someone who knows answers them. The example at the top of this page is a small piece of one.
Download this example (PDF, 1 page)| Rule | What the program does |
|---|---|
| Rule 1 | Monthly interest on each category balance is the balance times the annual rate (in percent), divided by 1,200. The result is cut to two decimals, not rounded.1300-COMPUTE-INTEREST · lines 464–465 · line 168 |
| Rule 2 | The rate is looked up by account group, transaction type and category. If no record is found, the DEFAULT group is tried. If that fails too, the program stops.1200-GET-INTEREST-RATE · 1200-A-GET-DEFAULT-INT-RATE · lines 436–439 · line 458 |
| Rule 3 | When the rate is zero, the program skips both the interest and the fee calculation for that balance.Main loop · line 214 |
| Note | This program’s fee calculation is not implemented: the paragraph is empty.1400-COMPUTE-FEES · lines 518–520 |
| Expert review | Not done (public sample) |
CBACT04C, the interest program in CardDemo, AWS’s public sample COBOL application. Illustrative: not reviewed by a domain expert.CBACT04CFound by reading the code: the ELSE at line 219 can never run, so 1050-UPDATE-ACCOUNT never runs for the last account and its interest is never added to its balance. Another reader reported it publicly on 3 October 2026 (issue #64 on GitHub).
lines 219–220 · line 189 · line 340 · 1050-UPDATE-ACCOUNT · lines 352–356