FA-63218 / Insurance premium rating / Member archive
Retrospective rating adjustment: Loss conversion factor is applied to the basic premium · case 03
Retro premiums are inflated because expense loading is converted like losses.
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 |
|---|---|---|---|
| moderate losses between bounds | [463636, 1031530] | [463636, 970005] | 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 ↗