FA-63193 / Insurance premium rating / Member archive
Premium tax, surcharge and stamping fee allocation: Premium tax is charged on the inspection fee · case 03
Premium tax is overstated on inspected policies.
Case contract
Input premium (may be negative for return premium), policy_fee, inspection_fee, tax, surcharge, stamping (per mille). Tax applies to premium+policy fee; surcharge to premium only; stamping to premium+both fees. Each item is rounded half away from zero separately; return [tax, surcharge, stamping, total billed].
Why this case matters
Tax and fee bases differ item by item, and each item is filed and remitted separately.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| new business 0 | [17450, 1394, 485, 504063] | [16910, 1394, 485, 503523] | 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 ↗