Example script output is too sparse
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
Start with the example script examples/run_ogcore_example.py and the sample output in the issue, which shows the sparse steady-state and transition-path messages. Compare it with the output settings in OG-USA's examples/run_ogusa.py, which the issue names as the preferred behavior. Done means the run prints the root-finding equation errors for the steady state and the distance measures for the transition path.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The output during the execution of the example script ./examples/run_ogcore_example.py is very sparse right now. I ran the script with the updated virtual environment from PR #1107. And I got the following output for the steady state and the transition path computation. My problem with this sparse output is that you don't see the root finding equation errors in the steady-state computation and you don't see the distance measures in the transition path computation. I much prefer the output setting in the current version of OG-USA's example script run_ogusa.py.
(ogcore) (base) richardevans@Richards-MBP-2 OG-Core % python examples/run_ogcore_example.py
Number of workers = 7
making dir: /Users/richardevans/Docs/Economics/OSE/OG/OG-Core/examples/OG-Core-Example/OUTPUT_BASELINE/SS
making dir: /Users/richardevans/Docs/Economics/OSE/OG/OG-Core/examples/OG-Core-Example/OUTPUT_BASELINE/TPI
In runner, baseline is True
JUST SAVED SS output to /Users/richardevans/Docs/Economics/OSE/OG/OG-Core/examples/OG-Core-Example/OUTPUT_BASELINE/SS/SS_vars.pkl
Maximum debt ratio: 1.4376602575049324
Maximum debt ratio: 1.5306431600090473
Maximum debt ratio: 1.5681210897102444
Maximum debt ratio: 1.591509571895058
Maximum debt ratio: 1.6052511836648862
Maximum debt ratio: 1.6131719356974827
Maximum debt ratio: 1.6176686360086716
Maximum debt ratio: 1.620182555052505
Maximum debt ratio: 1.6215656415305617
Maximum debt ratio: 1.622313160747373
Maximum debt ratio: 1.6227088217577297
Maximum debt ratio: 1.6229128736431444
Maximum debt ratio: 1.6230145443681707
Maximum debt ratio: 1.6230627581027102
Maximum debt ratio: 1.6230838772769363
Maximum debt ratio: 1.6230918158532577
Maximum debt ratio: 1.6230937290085614
Maximum debt ratio: 1.623093170594312
Maximum debt ratio: 1.6230918192724921
Maximum debt ratio: 1.6230904060836127
Maximum debt ratio: 1.6230892027003434
Time path iteration complete.
It took 877.2762980461121 seconds to get that part done.
run time = 877.2779579162598
making dir: /Users/richardevans/Docs/Economics/OSE/OG/OG-Core/examples/OG-Core-Example/OUTPUT_REFORM/SS
making dir: /Users/richardevans/Docs/Economics/OSE/OG/OG-Core/examples/OG-Core-Example/OUTPUT_REFORM/TPI
In runner, baseline is False
JUST SAVED SS output to /Users/richardevans/Docs/Economics/OSE/OG/OG-Core/examples/OG-Core-Example/OUTPUT_REFORM/SS/SS_vars.pkl
Maximum debt ratio: 1.3178146443021885
Maximum debt ratio: 1.3948360724350035
Maximum debt ratio: 1.4294376696454172
Maximum debt ratio: 1.4504336670124542
Maximum debt ratio: 1.4628070896555136
Maximum debt ratio: 1.469980769868076
Maximum debt ratio: 1.4740725342856815
Maximum debt ratio: 1.4763720047674525
Maximum debt ratio: 1.4776454537692012
Maximum debt ratio: 1.4783390967469623
Maximum debt ratio: 1.4787100621146265
Maximum debt ratio: 1.4789041232183422
Maximum debt ratio: 1.4790028143059548
Maximum debt ratio: 1.4790511065965892
Maximum debt ratio: 1.4790734183665812
Maximum debt ratio: 1.4790827696751763
Maximum debt ratio: 1.479085951403507
Maximum debt ratio: 1.4790864063267257
Maximum debt ratio: 1.47908581298357
Maximum debt ratio: 1.4790849431276893
Maximum debt ratio: 1.4790841176510041
Time path iteration complete.
It took 1004.4071719646454 seconds to get that part done.
run time = 1004.408695936203
total time was 1885.3068742752075
Percentage changes in aggregates: Year Variable 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2021-2030 SS
0 GDP ($Y_t$) -0.17 -0.14 -0.22 -0.22 -0.21 -0.19 -0.16 -0.12 -0.10 -0.07 -0.16 -0.39
1 Consumption ($C_t$) -0.08 1.05 0.13 -0.13 -0.24 -0.32 -0.37 -0.42 -0.43 -0.44 -0.12 -0.72
2 Capital Stock ($K_t$) -0.37 -0.41 -0.66 -0.73 -0.75 -0.74 -0.71 -0.64 -0.60 -0.54 -0.62 -1.51
3 Labor ($L_t$) -0.05 0.00 0.02 0.05 0.08 0.11 0.14 0.16 0.17 0.18 0.08 0.22
4 Real interest rate ($r_t$) -3.05 -2.94 -2.64 -2.52 -2.47 -2.45 -2.45 -2.58 -2.61 -2.65 -2.64 -1.40
5 Wage rate ($w_{t}$) -0.11 -0.14 -0.24 -0.27 -0.29 -0.30 -0.30 -0.28 -0.27 -0.25 -0.25 -0.61
cc: @jdebacker
- Ngôn ngữ chính
- Python
- Star
- 85
- Fork
- 153
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PSLmodels/OG-Core
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
PSLmodels/OG-Core#1218 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PSLmodels/OG-Core
Issue tương tự
-
S9.7: Methodology pageĐang mởarea: web priority: P1 story
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
nfiasco/Quant-Time-Machine#151 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Broken links found in docsĐang mởdocs pydanty:is-working
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
pydantic/pydantic-ai#12892 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
Azure/azure-sdk-for-python#49886 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Core] Deprecated(error=True) raises only on the first call; later calls run the removed APICó thể đã có người làm @wguo7 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ray-project/ray#67965 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
btclib-org/btclib#3006 ·
Maintainer thường phản hồi trong vòng 1 ngày