FAILURE MAP
← Case archive

FA-63757 / Actuarial life tables / Member archive

Net premium reserve recursion: Terminal year reports a zero reserve · case 02

An undefined terminal reserve is reported as zero.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Input q (per 100000 by policy year), P (annual net premium, cents, paid at start of year), S (death benefit at year end), i (per mille). Starting from 0V=0: (k+1)V = ((kV+P)(1+i) - q S)/p carried exactly; each reserve is reported rounded half away from zero. If p=0 report None and stop.

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
terminal age[-186803, -424320, -721180, -1091246, 0][-186803, -424320, -721180, -1091246, null]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 ↗