Closed rickecon closed 1 month ago
Attention: Patch coverage is 54.09836%
with 28 lines
in your changes missing coverage. Please review.
Project coverage is 73.29%. Comparing base (
60f204f
) to head (379ebdf
).
@jdebacker. Here is the output of running all the tests locally on my machine.
(ogusa-dev) richardevans@Richards-MacBook-Pro-2 OG-USA % pytest
============================= test session starts ==============================
platform darwin -- Python 3.11.9, pytest-8.2.0, pluggy-1.5.0
rootdir: /Users/richardevans/Docs/Economics/OSE/OG-USA
configfile: pytest.ini
testpaths: ./tests
plugins: cov-5.0.0, xdist-3.5.0
collected 37 items
tests/test_calibrate.py .... [ 10%]
tests/test_get_micro_data.py .............. [ 48%]
tests/test_income.py ............ [ 81%]
tests/test_psid_data_setup.py ... [ 89%]
tests/test_run_example.py . [ 91%]
tests/test_utils.py . [ 94%]
tests/test_wealth.py .. [100%]
================= 37 passed, 110 warnings in 678.02s (0:11:18) =================
@jdebacker. I merged your PR to my branch. This PR is now ready for final review.
thank you @rickecon! Merging.
This PR:
bequest_transmission.py
,deterministic_profiles.py
,psid_data_setup.py
, andtransfer_distirbution.py
). These files called.RData
files that were not included in theogusa
package, so users who pip installed ogusa could not instantiate theCalibrate
class object. These changes allow for Jupyter notebook users to automatically download the data files from the master branch of the GitHub repository if they are not working in their own branch of the repository.I ran all the tests on my local machine and they all passed. And I verified that I could run a modified
run_og_usa.py
run script from a Jupyter notebook that was not in the branch structures of my OG-USA repository.cc: @jdebacker