Commit 1b0a4fd
Add test coverage and enhance documentation for salary sacrifice pensions
- Add comprehensive smoke test for pension_contributions_via_salary_sacrifice
- Validates non-negative values
- Checks for presence of data
- Ensures reasonableness against total employment income
- Enhance inline documentation with detailed explanation:
- What SPNAMT represents
- Relationship to other pension variables
- Rationale for not using outlier clipping (follows job table pattern)
- Source attribution and data transformation notes
Addresses review feedback on PR #214
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ab9b3f0 commit 1b0a4fd
2 files changed
Lines changed: 33 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
634 | 643 | | |
635 | 644 | | |
636 | 645 | | |
637 | 646 | | |
638 | 647 | | |
639 | | - | |
640 | 648 | | |
641 | 649 | | |
642 | 650 | | |
| |||
Lines changed: 24 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 | + | |
0 commit comments