PSLmodels / Cost-of-Capital-Calculator

A cost of capital and effective tax rate calculator
https://ccc.pslmodels.org
Other
17 stars 33 forks source link

Alternative baselines #388

Closed jdebacker closed 6 months ago

jdebacker commented 6 months ago

This PR updates CCC to allow for alternative individual income tax baselines.

A JSON file that parameterizes TCJA permanence is added -- as is a notebook illustrating how to use this file.

codecov-commenter commented 6 months ago

Codecov Report

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

Project coverage is 99.82%. Comparing base (2a1b498) to head (dbc2e7b).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/388/graphs/tree.svg?width=650&height=150&src=pr&token=vOrtCdGu1c&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels)](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/388?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) ```diff @@ Coverage Diff @@ ## master #388 +/- ## =========================================== - Coverage 100.00% 99.82% -0.18% =========================================== Files 11 11 Lines 1139 1143 +4 =========================================== + Hits 1139 1141 +2 - Misses 0 2 +2 ``` | [Flag](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/388/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/Cost-of-Capital-Calculator/pull/388/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | `99.82% <60.00%> (-0.18%)` | :arrow_down: | 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. | [Files](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/388?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [ccc/parameters.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/388?src=pr&el=tree&filepath=ccc%2Fparameters.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL3BhcmFtZXRlcnMucHk=) | `100.00% <100.00%> (ø)` | | | [ccc/get\_taxcalc\_rates.py](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/388?src=pr&el=tree&filepath=ccc%2Fget_taxcalc_rates.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-Y2NjL2dldF90YXhjYWxjX3JhdGVzLnB5) | `96.61% <50.00%> (-3.39%)` | :arrow_down: |