Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snap_standard_deduction does not calculate year value correctly. #4502

Open
CalebPena opened this issue May 8, 2024 · 4 comments
Open

snap_standard_deduction does not calculate year value correctly. #4502

CalebPena opened this issue May 8, 2024 · 4 comments
Labels
2024 bug Something isn't working snap Supplemental Nutrition Assistance Program

Comments

@CalebPena
Copy link
Collaborator

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
@CalebPena CalebPena added bug Something isn't working snap Supplemental Nutrition Assistance Program 2024 labels May 8, 2024
@CalebPena
Copy link
Collaborator Author

I am pretty sure that this has to do with uprating, because when I remove it both tests pass.

@MaxGhenis
Copy link
Contributor

Yes, we project the standard deduction increase scheduled for October.

@CalebPena
Copy link
Collaborator Author

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

@MaxGhenis
Copy link
Contributor

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2024 bug Something isn't working snap Supplemental Nutrition Assistance Program
Projects
None yet
Development

No branches or pull requests

2 participants