OpenSourceEconomics / soepy

Python package for the simulation and estimation of dynamic models of human capital accumulation tailored to the German Socio-Economic Panel (SOEP)
MIT License
12 stars 4 forks source link

Edits by Max #146

Closed MaxBlesch closed 2 years ago

MaxBlesch commented 2 years ago

This PR adds:

It also adds a lot of tests and through them eliminated two bugs:

codecov[bot] commented 2 years ago

Codecov Report

Merging #146 (2c88639) into master (4ff4029) will increase coverage by 2.69%. The diff coverage is 82.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
+ Coverage   84.93%   87.62%   +2.69%     
==========================================
  Files          19       36      +17     
  Lines         929     1697     +768     
==========================================
+ Hits          789     1487     +698     
- Misses        140      210      +70     
Impacted Files Coverage Δ
soepy/shared/shared_constants.py 100.00% <ø> (ø)
soepy/solve/continuation_values.py 8.82% <8.82%> (ø)
soepy/solve/create_state_space.py 11.11% <11.11%> (ø)
soepy/shared/tax_and_transfers.py 20.00% <20.00%> (ø)
soepy/test/resources/update_vault.py 26.38% <26.38%> (ø)
soepy/solve/emaxs.py 32.14% <32.14%> (ø)
soepy/shared/shared_auxiliary.py 80.70% <44.44%> (+13.25%) :arrow_up:
soepy/test/resources/gettsim_tax_func.py 95.23% <95.23%> (ø)
soepy/exogenous_processes/partner.py 100.00% <100.00%> (ø)
soepy/pre_processing/model_processing.py 98.80% <100.00%> (+0.14%) :arrow_up:
... and 21 more

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 4ff4029...2c88639. Read the comment docs.