PSLmodels / OG-USA

Overlapping-generations macroeconomic model for evaluating fiscal policy in the United States
https://pslmodels.github.io/OG-USA/
Creative Commons Zero v1.0 Universal
19 stars 34 forks source link

Allow for alternative policy baselines #106

Closed jdebacker closed 2 months ago

jdebacker commented 2 months ago

This PR updates OG-USA to allow one to specify the baseline individual income tax policy so that alternative IIT baseline (i.e., alternatives to the Tax-Calculator current law baseline) can be used in OG-USA.

An example script that implements a current policy baseline is added to illustrate usage.

codecov-commenter commented 2 months ago

Codecov Report

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

Project coverage is 75.35%. Comparing base (e4655db) to head (8229008). Report is 4 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/106/graphs/tree.svg?width=650&height=150&src=pr&token=XOLXIKEL86&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels)](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) ```diff @@ Coverage Diff @@ ## master #106 +/- ## ========================================== - Coverage 75.41% 75.35% -0.06% ========================================== Files 11 11 Lines 850 852 +2 ========================================== + Hits 641 642 +1 - Misses 209 210 +1 ``` | [Flag](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/106/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/OG-USA/pull/106/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | `75.35% <88.88%> (-0.06%)` | :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/OG-USA/pull/106?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [ogusa/calibrate.py](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/106?src=pr&el=tree&filepath=ogusa%2Fcalibrate.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-b2d1c2EvY2FsaWJyYXRlLnB5) | `37.41% <ø> (ø)` | | | [ogusa/get\_micro\_data.py](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/106?src=pr&el=tree&filepath=ogusa%2Fget_micro_data.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-b2d1c2EvZ2V0X21pY3JvX2RhdGEucHk=) | `96.82% <88.88%> (-1.54%)` | :arrow_down: |
jdebacker commented 2 months ago

@rickecon Are you ok with merging this? It's needed to work with recently merged changes to OG-Core (PR #927).