FA-63223 / Insurance premium rating / Member archive
Retrospective rating adjustment: Bounds are enforced before the tax multiplier · case 03
Capped or floored retro premiums exceed the plan bounds by the tax multiplier.
Case contract
Input standard premium, basic, lcf, tax (x1000), min and max (per mille of standard), loss_limit, claims (negative = recovery). max<min -> 'invalid bounds'. Limited losses = max(0, sum(min(claim, limit))). Retro = (standard*basic + limited*lcf)*tax, bounded by [standard*min, standard*max] (bounds already include tax), rounded half-up. Return [limited, retro].
Why this case matters
Retrospective plans settle premium after losses, so each conversion factor and bound has to sit at the right step.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| large claim limited | [5026063, 4334387] | [5026063, 4127988] | 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 ↗