Commit edfa540
tests: positive regression guard — assets=-$1M passes benchmark validation
Asserts that `validate_initial_conditions` admits a subject placed at
`assets = -1_000_000` in `retiree_nomc_inelig_canwork` under the
benchmark model. Encodes the economic story: with the consumption
floor / transfer system, any past assets level is representable —
`c = c_floor` is always feasible because `transfers` tops up
cash-on-hand to the floor.
The test passes today on benchmark params; it doesn't reproduce the
gpu-01 failure (production-side, separate setup loaded by
`aca-estimation`'s `assemble_fixed_params`). Kept as a permanent
regression guard so a future change that re-introduces a constraint
shape that rejects extreme negatives is caught immediately at
benchmark scale.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 00ee7d2 commit edfa540
1 file changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments