policyengine-us
policyengine-us copied to clipboard
snap_standard_deduction does not calculate year value correctly.
The following test passes:
- name: Month
period: 2024-1
input:
state_group: CONTIGUOUS_US
output:
snap_standard_deduction: 198
But this one fails:
- name: Year
period: 2024
input:
state_group: CONTIGUOUS_US
output:
snap_standard_deduction: 2_376 # 198 * 12
I am pretty sure that this has to do with uprating, because when I remove it both tests pass.
Yes, we project the standard deduction increase scheduled for October.
Okay, that makes sense, but I get an error when I try:
- name: Month
period: 2024-10
input:
state_group: CONTIGUOUS_US
output:
snap_standard_deduction: 198
It changes in October 2024, so that value is expected
https://policyengine.org/us/policy?focus=gov.usda.snap.income.deductions.standard.CONTIGUOUS_US.1
I think we're capturing this correctly but please reopen if you see an issue.