Skip to content

Commit fa35a77

Browse files
committed
Tighten elective deferral cap test tolerances
1 parent d05b7f9 commit fa35a77

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

policyengine_us/tests/policy/baseline/household/expense/retirement/elective_deferral_cap.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
traditional_401k_contributions: 31_000
5252

5353
- name: Excess at age 62 still scales down to the enhanced limit.
54-
absolute_error_margin: 1
54+
absolute_error_margin: 0.01
5555
period: 2025
5656
input:
5757
age: 62
@@ -60,8 +60,8 @@
6060
output:
6161
elective_deferral_limit: 34_750
6262
elective_deferrals_desired: 70_000
63-
traditional_401k_contributions: 19_857
64-
roth_401k_contributions: 14_893
63+
traditional_401k_contributions: 19_857.14
64+
roth_401k_contributions: 14_892.86
6565

6666
- name: Zero desired contributions yield zero capped contributions.
6767
period: 2025
@@ -116,7 +116,6 @@
116116
payroll_tax_gross_wages: 100_000
117117

118118
- name: Capped Roth 401(k) is included in Saver's Credit qualified contributions.
119-
absolute_error_margin: 1
120119
period: 2025
121120
input:
122121
age: 40

0 commit comments

Comments
 (0)