Commit b1d4a84
Add Scottish Child Payment as calibration target (#261)
* Add Scottish Child Payment as calibration target
- Add SCP total spend to calibration targets
- Source: Scottish Budget 2026-27, Table 5.08
- Values: £455.8m (2024), £471.0m (2025), £484.8m (2026)
- Extrapolates 3% growth for other years
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix SCP calibration target ordering
Move scottish_child_payment df assignment to after the statistics lookup
to avoid KeyError when looking up targets. Custom targets (not in
statistics CSV) should be added after the initial targets lookup.
Also use household_from_person instead of household_from_family since
scottish_child_payment is now a Person-level variable.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 753d614 commit b1d4a84
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
522 | 539 | | |
523 | 540 | | |
524 | 541 | | |
| |||
0 commit comments