FAILURE MAP
← Case archive

FA-63475 / Actuarial life tables / Member archive

Term insurance net single premium: Survival is updated before the death term · case 05

Claims in each year are weighted by survival through that same year.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
five-year term year-end5587437757536772Failed

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 ↗