FA-63434 / Actuarial life tables / Member archive
Select and ultimate mortality lookup: Select row is chosen by attained age · case 04
Lives are treated as if newly selected at each age.
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 | [[64, 86, 110, 188, 200], 0.993536] | [[64, 80, 98, 188, 200], 0.993715] | 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 ↗