FAILURE MAP
← Case archive

FA-63667 / Actuarial life tables / Member archive

Abridged to single-year mortality: Group probability is divided linearly · case 02

Single-year rates do not compound back to the group rate.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Input groups [[start age, width n, nqx per 100000]]; groups must be contiguous from the first start (else 'gap at <start>'). An nqx of 100000 is the open group and ends the table. Each closed group yields n equal single-year rates 1-(1-nqx)^(1/n) rounded to 8.

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
infant groups[0.00406, 0.0003425, 0.0003425, 0.0003425, 0.0003425, 0.00141, 0.00141, 0.00141, 0.00141, 0.00141, 0.005784, 0.005784, 0.005784, 0.005784, 0.005784, 0.003114, 0.003114, 0.003114, 0.003114, 0.003114, 0.001178, 0.001178, 0.001178, 0.001178, 0.001178, 0.0019, 0.0019, 0.0019, 0.0019, 0.0019][0.00406, 0.00034268, 0.00034268, 0.00034268, 0.00034268, 0.00141399, 0.00141399, 0.00141399, 0.00141399, 0.00141399, 0.00585209, 0.00585209, 0.00585209, 0.00585209, 0.00585209, 0.00313358, 0.00313358, 0.00313358, 0.00313358, 0.00313358, 0.00118079, 0.00118079, 0.00118079, 0.00118079, 0.00118079, 0.00190726, 0.00190726, 0.00190726, 0.00190726, 0.00190726]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 ↗