FA-63380 / Actuarial life tables / Member archive
Life table person-years and expectation: T_x excludes the current age's person-years · case 05
Every expectation is short by the current year's person-years.
Case contract
Input l (survivors by age, last entry is the open interval) and m_open (per mille central rate of the open interval, <=0 -> 'invalid open rate'). L_x = l_{x+1} + d_x/2, L_open = l_open/m, T_x = sum of L from x, e_x = T_x/l_x rounded to 4 places (None where l_x=0).
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 |
|---|---|---|---|
| table 0 | [9.5717, 8.6274, 7.6899, 6.7545, 5.8189, 4.8832, 3.9471, 0.0] | [10.569, 9.624, 8.686, 7.7501, 6.8139, 5.8774, 4.9405, 4.0] | 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 ↗