FAILURE MAP
← Case archive

FA-63753 / Actuarial life tables / Member archive

Net premium reserve recursion: Rounded reserves feed the next year · case 03

Later reserves drift from the exact recursion.

Member previewVariant 3 · 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
level premium reserve build-up[-37278, -91396, -166875, -263641, -390150, -548342][-37278, -91396, -166874, -263640, -390149, -548341]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 ↗