You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write 401(k) deferrals to the new *_desired inputs
PolicyEngine-US PR #8391 makes traditional_401k_contributions and
roth_401k_contributions formula variables that proportionally cap the
combined elective deferrals at the IRC §402(g) limit. The formulas read
the new pre-cap inputs traditional_401k_contributions_desired and
roth_401k_contributions_desired.
This change updates the CPS imputation and PUF clone pipelines to write
the desired inputs instead of the canonical names, so the §402(g) cap
takes effect in microsimulation. Calibration targets continue to point
at the canonical names (post-cap formula output), so the loss matrix
and database targets are unchanged.
IRA contribution variables are not renamed yet — those will move when
PolicyEngine/policyengine-us#8388 lands.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Write 401(k) elective deferrals to `traditional_401k_contributions_desired` and `roth_401k_contributions_desired` so PolicyEngine-US can apply the §402(g) cap to the canonical variable.
0 commit comments