Example script output is too sparse
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 85
- フォーク
- 153
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PSLmodels/OG-Core のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
PSLmodels/OG-Core#1218 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
PSLmodels/OG-Core の issue をすべて見る
似ている issue
-
community enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
NVIDIA/auto-ontology#463 ·
メンテナーはふだん 1 日以内に返信
-
Update Atari link on Gymnasium docs page対応中かも @qwist1233-cpu が今日担当しました。 オープンhelp wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Farama-Foundation/Gymnasium#1845 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 91/100
WingedGuardian/GENesis-AGI#4101 ·
メンテナーはふだん 1 日以内に返信