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

Reading cached tax functions #67

Closed jdebacker closed 1 year ago

jdebacker commented 1 year ago

This PR updates the Calibration class object to avoid errors when reading in tax functions from a saved pickle file.

codecov-commenter commented 1 year ago

Codecov Report

Merging #67 (c681306) into master (f6b3ee6) will increase coverage by 0.09%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
+ Coverage   78.46%   78.56%   +0.09%     
==========================================
  Files          21       21              
  Lines        1384     1376       -8     
==========================================
- Hits         1086     1081       -5     
+ Misses        298      295       -3     
Flag Coverage Δ
unittests 78.56% <0.00%> (+0.09%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ogusa/calibrate.py 39.23% <0.00%> (-1.35%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f6b3ee6...c681306. Read the comment docs.

rickecon commented 1 year ago

@jdebacker. Looks great. Merging.