Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example script hung up at reform step #128

Open
rickecon opened this issue Oct 18, 2024 · 0 comments
Open

Example script hung up at reform step #128

rickecon opened this issue Oct 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rickecon
Copy link
Member

I just fetched the most recent OG-USA files (v0.2.1), erased and rebuilt from scratch my ogusa-dev conda environement, and ran the run_og_usa.py run script. My baseline steady-state and transition path equilibria solved in just over 53 minutes. Then the reform started, got into the estimating new tax functions and stalled. Below is the terminal output of where the computation stalled. We need to get to the bottom of why this is happening.

cc: @jdebacker

Using reform policy tax parameters from  /Users/richardevans/Docs/Economics/OSE/OG/OG-USA/examples/OG-USA-Example/OUTPUT_REFORM/TxFuncEst_policy.pkl
Using CPS
Using CPS
Using CPS
Using CPS
Using CPS
Using CPS
Using CPS
Calculator initial year =  2014
Calculator initial year =  2014
Calculator initial year =  2014
Calculator initial year =  2014
Calculator initial year =  2014
Calculator initial year =  2014
Calculator initial year =  2014
Year:  2025
Year:  2027
Year:  2032
Year:  2029
Year:  2030
Year:  2033
Year:  2034
Using CPS
Using CPS
Using CPS
Calculator initial year =  2014
Calculator initial year =  2014
Calculator initial year =  2014
Year:  2026
Year:  2031
Year:  2028
BW =  10 begin year =  2025 end year =  2034
/opt/anaconda3/envs/ogusa-dev/lib/python3.11/site-packages/distributed/client.py:3361: UserWarning: Sending large graph of size 224.31 MiB.
This may cause some slowdown.
Consider loading the data with Dask directly
 or using futures or delayed objects to embed the data into the graph without repetition.
See also https://docs.dask.org/en/stable/best-practices.html#load-data-with-dask for more information.
  warnings.warn(
Year= 2033 Age= 21
Year= 2033 Age= 22
Year= 2026 Age= 21
Year= 2031 Age= 21
Year= 2032 Age= 21
Year= 2027 Age= 21
Year= 2032 Age= 22
Year= 2033 Age= 23
Year= 2031 Age= 22
Year= 2026 Age= 22

...[LOTS OF YEARS AND AGES TAX FUNCTION COMPUTATION]...

Year= 2025 Age= 83
Insuff. sample size for age 83 in year 2025
Year= 2025 Age= 84
Insuff. sample size for age 84 in year 2025
Year= 2025 Age= 85
Linearly interpolate previous blank tax functions
Fill in all remaining old age tax functions.
Finished tax function loop through 10 years and 80 ages per year.
Tax function estimation time: 2.085 sec
ETR :  0  observations tagged as outliers.
MTRx :  2  observations tagged as outliers.
MTRx :  After second round,  4  observations tagged as outliers (cumulative).
MTRy :  0  observations tagged as outliers.
Big S:  80
max age, min age:  100 21
making dir:  /Users/richardevans/Docs/Economics/OSE/OG/OG-USA/examples/OG-USA-Example/OUTPUT_REFORM/SS
making dir:  /Users/richardevans/Docs/Economics/OSE/OG/OG-USA/examples/OG-USA-Example/OUTPUT_REFORM/TPI
In runner, baseline is  False
...[JUST HANGS HERE]...
@rickecon rickecon added the bug Something isn't working label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant