Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
7f2d891
Reconcile SS sub-components after PUF imputation
MaxGhenis Feb 23, 2026
3b195a8
Use age heuristic for new SS recipients in reconciliation
MaxGhenis Feb 23, 2026
37b6ec8
Use QRF to predict SS sub-component split for new recipients
MaxGhenis Feb 23, 2026
e7f5933
Use QRF for all PUF SS records, not just new recipients
MaxGhenis Feb 23, 2026
88f2aa4
Add towncrier changelog fragment
MaxGhenis Feb 25, 2026
92b5d04
Bump policyengine-us to 1.584.0
MaxGhenis Feb 25, 2026
0c8c4b5
Fix and add retirement contribution calibration targets
PavelMakarchuk Feb 25, 2026
ec563b4
Fix RETCB_VAL allocation to use proportional split
PavelMakarchuk Feb 25, 2026
7d731d4
Add Roth calibration targets and fix traditional 401(k) target
PavelMakarchuk Feb 25, 2026
d598109
Upgrade policyengine-us to 1.587.0 in uv.lock
PavelMakarchuk Feb 26, 2026
2a8a0e2
Drop formula variables from dataset, add integrity tests
MaxGhenis Feb 26, 2026
1c83a8f
Format test file with black
MaxGhenis Feb 26, 2026
86ecc0c
Fix black formatting for CI (26.1.0)
MaxGhenis Feb 26, 2026
f304f82
fixup! Fix black formatting for CI (26.1.0)
MaxGhenis Feb 26, 2026
b7bdc21
Also drop adds/subtracts variables from dataset
MaxGhenis Feb 26, 2026
bbbb5f6
Merge branch 'fix-ss-subcomponent-reconciliation' of https://github.c…
PavelMakarchuk Feb 26, 2026
60d1f23
Train QRF for retirement contributions on PUF clone half
PavelMakarchuk Feb 26, 2026
774fdc7
Expand retirement QRF predictors and add validation script
PavelMakarchuk Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/changed/553.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix and add retirement contribution calibration targets: correct traditional IRA from $25B to $13.2B (SOI 1304), split 401(k) into traditional $482.7B and Roth $85.2B (BEA/FRED × Vanguard share), add Roth IRA at $35.0B (SOI Tables 5 & 6), add self-employed pension ALD at $29.5B (SOI 1304).
1 change: 1 addition & 0 deletions changelog.d/fix-ss-subcomponent-reconciliation.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reconcile SS sub-components after PUF imputation so they sum to social_security.
14 changes: 14 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""Root conftest: mock optional dependencies before collection.

microimpute requires Python >= 3.12, so mock it for test
environments running an older interpreter.
"""

import sys
from unittest.mock import MagicMock

if "microimpute" not in sys.modules:
_mock = MagicMock()
sys.modules["microimpute"] = _mock
sys.modules["microimpute.models"] = _mock
sys.modules["microimpute.models.qrf"] = _mock
Loading
Loading