Requirements
Which rule protects the return, and how is the exact boundary tested?
The case boundary leads to domain rules and measurable targets. For return E-37, an approved draft assessment binds one return revision and one rule revision from the same model year; amendments require renewed review. This invariant applies after every completed operation. Quality targets describe measurable operational behaviour.
Starting point The rule year and tax return remain explicitly linked.
Assumptions for the example case
A fictional administrative workflow using an invented calculation model to bind return year, rule revision and draft assessment notice. The model uses an allowance of 100000 cents; only the excess is charged at 10 % and rounded to whole cents using round-half-up. All figures and test targets are illustrative assumptions.
Business guarantee and measurable limit
Guarantee and preconditions
Approval binds exactly one return revision and one rule revision from the same model year.
Business requirements (functional)
Further reading
- Durable commitment
- An approved draft assessment notice binds exactly one return revision and one rule revision from the same model year; amendments require renewed review.
- Evidence and closure
- Caseworkers complete the bounded transmission workflow.
- Domain boundary rule
- The fictional model uses an allowance of 100000 cents; only the excess is charged at 10 % and rounded to whole cents using round-half-up.
Operational goals (non-functional)
Further reading
- Local processing
- Illustrative target: 95% of local commands under 800 milliseconds in a 15-minute profile with 30 commands/s. External processing and human waiting time are measured separately.
- Traceable processing
- The test profile records the authoritative version and calculation/delivery processing lag. After restart, each accepted change to return E-37 must be verifiable from its stored result.
The calculation model and rounding are identified as fictional
The calculation model and rounding are identified as fictional.
An approved draft assessment notice binds exactly one return revision and one rule revision from the same model year; amendments require renewed review.
The fictional model uses an allowance of 100000 cents; only the excess is charged at 10 % and rounded to whole cents using round-half-up. Your test defines the input and expected result.
- Alternative considered
- A response-time target alone leaves invalid business states unchecked.
- Trade-off
- Strict validation can pause an operation for investigation.
- Reassess
- Measured processing times or new contracts with delivery service require a renewed target check.
Try it yourself
Separate the business invariant from the 800-millisecond target. Explain the exact limit in this case.
A hint for your attempt
Completing an operation quickly but incorrectly does not satisfy the business guarantee.
Compare with a possible solution
- Business rule
- An approved draft assessment notice binds exactly one return revision and one rule revision from the same model year; amendments require renewed review. The counterexample test checks the permitted state.
- Operations and boundary
- 800 milliseconds is the target for 95% of local commands in the assumed peak profile. The fictional allowance is 100000 cents; only the excess is charged at 10 % and rounded to whole cents using round-half-up.
Apply to your project
Which rule of your project remains binding even with slow processing?