FA-63668 / Actuarial life tables / Member archive
Abridged to single-year mortality: Group probability is divided linearly · case 03
Single-year rates do not compound back to the group rate.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| infant groups | [0.00436, 0.000675, 0.000675, 0.000675, 0.000675, 0.000718, 0.000718, 0.000718, 0.000718, 0.000718, 0.005282, 0.005282, 0.005282, 0.005282, 0.005282, 0.000692, 0.000692, 0.000692, 0.000692, 0.000692, 0.005982, 0.005982, 0.005982, 0.005982, 0.005982, 0.001228, 0.001228, 0.001228, 0.001228, 0.001228] | [0.00436, 0.00067568, 0.00067568, 0.00067568, 0.00067568, 0.00071903, 0.00071903, 0.00071903, 0.00071903, 0.00071903, 0.0053387, 0.0053387, 0.0053387, 0.0053387, 0.0053387, 0.00069296, 0.00069296, 0.00069296, 0.00069296, 0.00069296, 0.00605488, 0.00605488, 0.00605488, 0.00605488, 0.00605488, 0.00123103, 0.00123103, 0.00123103, 0.00123103, 0.00123103] | 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 ↗