Closed mitchellpound closed 10 months ago
@rickecon, I vectorized all the functions so now they are passing tests on my local machine. So they should be set if you want to approve the workflows for this PR.
@rickecon, I merged the formatting from the existing PolicyEngine files for Minnesota and my work. I checked for bugs, and it all works on my local computer and I'm getting similar results to before. So it should be good to go.
@mitchellpound. This is great. Your MN AMT logic is different than the logic on which the current tests are based. The 14 tests failing in the GitHub Actions are the following:
=========================== short test summary info ============================
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_amt.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_amt.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_amt.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_amt.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_amt_taxable_income.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_amt_taxable_income.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_integration.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_itemized_deductions.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_itemized_deductions.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_itemized_deductions.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_standard_deduction.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_standard_deduction.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_standard_deduction.yaml::
FAILED fiscalsim_us/tests/policy/baseline/gov/states/mn/tax/income/mn_taxable_income.yaml::
================== 14 failed, 1813 passed in 94.93s (0:01:34) ==================
My recommendation is to go through each of those tests and adjust the amounts/values to match with what your code in the PR produces.
Patch coverage: 100.00%
and project coverage change: +0.01%
:tada:
Comparison is base (
99a6e9f
) 97.34% compared to head (cd41b35
) 97.36%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@mitchellpound. I am ready to merge this PR as soon as you update your branch to resolve the merge conflicts.
main
branch and do a git fetch upstream
and git merge upstream/main
git push origin main
.main
branch is updated, navigate to your mn
branch.
main
branch into the mn
branch: git merge origin/main
mn
branch. This will automatically update your PR.Thanks @mitchellpound. This is great. Merging.
Added Minnesota income tax logic