FA-63437 / Actuarial life tables / Member archive
Select and ultimate mortality lookup: Survival subtracts rates instead of multiplying · case 02
Multi-year survival is slightly too low.
Case contract
Input select {issue age: [q for durations 0..period-1]}, ultimate {attained age: q}, issue_age, period, dur, n. For each duration k in dur..dur+n-1 use the select rate row[issue][k] while k<period, else the ultimate rate at attained age issue+k. Missing rows -> 'no select row' / 'no ultimate rate'. Return [rates, survival over the n years rounded to 6].
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 |
|---|---|---|---|
| new issue through select period | [[52, 68, 86, 162, 174], 0.99458] | [[52, 68, 86, 162, 174], 0.994591] | 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 ↗