FA-58927 / Payroll withholding rules / Member archive
Supplemental flat-rate withholding tiers: mandatory tier split · case 02
A bonus that crosses the 1M mark is counted twice, once in each tier, over-withholding heavily.
Case contract
Input [ytd_supplemental, bonus] in cents. Supplemental wages up to a cumulative 1,000,000.00 are withheld at 22%; the part of cumulative supplemental wages above that is withheld at 37%. Withholding = (low*22 + high*37) rounded half-up to the cent once. Return [low, high, withholding].
Why this case matters
The mandatory 37% tier depends on cumulative supplemental wages and must split the crossing payment.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression 0 | [438174, 3108388, 1246502] | [438174, 2670214, 1084377] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗