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

Turn off plotting by default #101

Closed jdebacker closed 3 months ago

jdebacker commented 3 months ago

This PR turns off all plots in the calibration files as the default. The run_og_usa.py script still produces and saves some plots of the output to disk after the baseline and reform runs complete.

cc @talumbau @rickecon

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.41%. Comparing base (4c0e3d8) to head (f01b59b).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/101/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/101?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) ```diff @@ Coverage Diff @@ ## master #101 +/- ## ========================================== - Coverage 78.70% 75.41% -3.30% ========================================== Files 11 11 Lines 850 850 ========================================== - Hits 669 641 -28 - Misses 181 209 +28 ``` | [Flag](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/101/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/101/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | `75.41% <ø> (-3.30%)` | :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/101?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [ogusa/bequest\_transmission.py](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/101?src=pr&el=tree&filepath=ogusa%2Fbequest_transmission.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-b2d1c2EvYmVxdWVzdF90cmFuc21pc3Npb24ucHk=) | `56.52% <ø> (-34.79%)` | :arrow_down: | | [ogusa/calibrate.py](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/101?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/transfer\_distribution.py](https://app.codecov.io/gh/PSLmodels/OG-USA/pull/101?src=pr&el=tree&filepath=ogusa%2Ftransfer_distribution.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#diff-b2d1c2EvdHJhbnNmZXJfZGlzdHJpYnV0aW9uLnB5) | `62.79% <ø> (-27.91%)` | :arrow_down: |
rickecon commented 3 months ago

@jdebacker. Thanks for this. Looks great. Merging.