FA-63490 / Actuarial life tables / Member archive
Term insurance net single premium: The insurance factor is rounded before applying the benefit · case 05
Large face amounts are mispriced by many cents.
Case contract
Input q (per 100000 from the issue age), n, i (per mille), benefit (cents), timing eoy|immediate. n > table length -> 'table too short'. A = sum_{k<n} v^(k+1) kp q_k with exact rationals; immediate payment multiplies benefit*A by i/ln(1+i). Return the premium in cents rounded half-up.
Why this case matters
Life-table arithmetic compounds across ages, so one misplaced index or assumption shifts every downstream value.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| five-year term year-end | 57536445 | 57536772 | 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 ↗