PSLmodels / Tax-Brain

Tax-Brain is an integrator model for PSL tax models
http://taxbrain.pslmodels.org/
MIT License
8 stars 12 forks source link

Distributing the corporate income tax across individual taxpayers #196

Closed jdebacker closed 2 months ago

jdebacker commented 3 months ago

This PR adds functions to Tax-Brain to distribute the corporate income tax across individual taxpayers.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 86.47959% with 53 lines in your changes are missing coverage. Please review.

Project coverage is 83.13%. Comparing base (82cee97) to head (fa0d3bb). Report is 3 commits behind head on master.

Files Patch % Lines
cs-config/cs_config/helpers.py 35.55% 29 Missing :warning:
cs-config/cs_config/tables.py 55.00% 9 Missing :warning:
taxbrain/report_utils.py 68.75% 5 Missing :warning:
example.py 0.00% 3 Missing :warning:
cs-config/cs_config/functions.py 71.42% 2 Missing :warning:
taxbrain/cli.py 80.00% 1 Missing :warning:
taxbrain/corporate_incidence.py 97.95% 1 Missing :warning:
taxbrain/tests/conftest.py 66.66% 1 Missing :warning:
taxbrain/tests/test_brain.py 96.77% 1 Missing :warning:
taxbrain/utils.py 93.75% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #196 +/- ## ========================================== + Coverage 82.00% 83.13% +1.13% ========================================== Files 21 23 +2 Lines 1650 1844 +194 ========================================== + Hits 1353 1533 +180 - Misses 297 311 +14 ``` | [Flag](https://app.codecov.io/gh/PSLmodels/Tax-Brain/pull/196/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/PSLmodels/Tax-Brain/pull/196/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | `83.13% <86.47%> (+1.13%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

MaxGhenis commented 2 months ago

@kpomerleau fyi