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

Add 2021 Utah retirement credit and taxpayer credit parameters #2180

Closed
martinholmer opened this issue Apr 25, 2023 · 0 comments · Fixed by #3061
Closed

Add 2021 Utah retirement credit and taxpayer credit parameters #2180

martinholmer opened this issue Apr 25, 2023 · 0 comments · Fixed by #3061
Labels
bug Something isn't working states/ut Utah tax Federal and state tax policy

Comments

@martinholmer
Copy link
Collaborator

The Utah state income tax code has several problems. The integration test presented below illustrates two of those problems.

First, the taxpayer credit is incorrect because PolicyEngineUS projects the 2022 phase-out threshold value (which is correct) back to 2021. This is happening even though earlier in the development of the Utah income tax the 2021 parameter values were in the code. This can be seen in the following screenshot of a March 23rd code review session for pull request #1994.

Screenshot 2023-04-25 at 9 48 15 AM

When #1994 was merged a month later, the 2021 values had been removed. This is just one example of the many missing 2021 parameter values. The 2021 parameter values are missing because some Utah tax parameters are specified as far back as 2020, 2018, and even 2008.

Second, the retirement credit is incorrect. PolicyEngineUS generates a retirement credit for this test case that is zero when following the TC-40 form instructions produces a value of $624.50. The $624.50 retirement credit is also generated by TAXSIM35.

Here is the integration test case followed by the test results:

- name: Tax unit with taxsimid 95281 in p21.its.csv and p21.ots.csv
  absolute_error_margin: 0.01
  period: 2021
  input:
    people:
      person1:
        is_tax_unit_head: true
        age: 73
        employment_income: 21_010
        ssi: 0  # not in TAXSIM35
        state_supplement: 0  # not in TAXSIM35
        wic: 0  # not in TAXSIM35
      person2:
        is_tax_unit_spouse: true
        age: 73
        employment_income: 22_010
        ssi: 0  # not in TAXSIM35
        state_supplement: 0  # not in TAXSIM35
        wic: 0  # not in TAXSIM35
    spm_units:
      spm_unit:
        members: [person1, person2]
        snap: 0  # not in TAXSIM35
        tanf: 0  # not in TAXSIM35
    tax_units:
      tax_unit:
        members: [person1, person2]
        premium_tax_credit: 0  # not in TAXSIM35
    households:
      household:
        members: [person1, person2]
        state_code: UT
  output:  # expected results from patched TAXSIM35 2023-04-24 version
    ut_income_tax: 3.78

This test case produces these results:

  Test 'Tax unit with taxsimid 95281 in p21.its.csv and p21.ots.csv':
    ut_income_tax@2021: [616.50195] differs from 3.7799999713897705 
                        with an absolute margin [612.7219] > 0.01
@martinholmer martinholmer added bug Something isn't working tax Federal and state tax policy states/ut Utah labels Apr 25, 2023
@martinholmer martinholmer changed the title Add missing 2021 Utah retirement credit and taxpayer credit parameters Add 2021 Utah retirement credit and taxpayer credit parameters Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working states/ut Utah tax Federal and state tax policy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant