short_path: the second and fourth figures show the wrong graphs
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 86/100
調査の方向性
lectures/_static/lecture_specific/short_path/figures.ipynbをlectures/short_path.mdの図への参照とあわせて読みます。ノートブックで赤いA、C、F、Gの経路とJ(v)グラフがどのように記されているかを確認し、影響を受ける図を再生成します。2番目と4番目の図が周囲の文章と一致し、両方の箇所に修正済みの図が反映されたら完了です。
索引モデルが issue の本文から書いたものです。
説明
What readers see. On https://intro.quantecon.org/short_path.html, two of the four figures don't match the text around them:
- after "A, C, F, G at cost 8", the page shows a graph with its edges shaded in blues, where the text expects the path A, C, F, G highlighted in red;
- after "Suppose that we know $J(v)$ for each node $v$, as shown below", the page shows that red A, C, F, G path, where the text expects the graph labelled with $J(v)$ at each node (8 at A, 10 at B, 3 at C, 5 at D, 4 at E, 1 at F, 0 at G).
The first and third figures (the plain graph, and the path A, D, F, G in blue) are right.
Why. lectures/_static/lecture_specific/short_path/figures.ipynb writes the red A, C, F, G path to graph2.png, the blues-shaded graph to graph4.png and the $J(v)$ figure to graph5.png. lectures/short_path.md uses the earlier numbering, which QuantEcon/lecture-python.myst's copy of these figures still follows: the red path as graph4.png (its second {figure}) and the $J(v)$ figure as graph2.png (its fourth). The figures were regenerated with the notebook's numbering, so the lecture's second and fourth references now name the wrong files, and graph5.png was never committed.
Fix (either way, one pull request). Change the notebook to write the red path to graph4.png and the $J(v)$ figure to graph2.png, regenerate, and commit those two files, leaving the lecture's text as it is. Or point the lecture's second figure at graph2.png and its fourth at a committed graph5.png. The first keeps the file names that QuantEcon/lecture-python.myst and QuantEcon/lecture-dp use.
Found by a screenshot comparison of the Dynamic Programming lectures before their move to QuantEcon/lectures (QuantEcon/project-monorepo#85). Those lectures republish this lecture and currently serve the right figures, from older copies; the monorepo's pool holds this repository's files, so the fix here reaches both sites.
Claude Code (on behalf of mmcky)
- 主要言語
- Jupyter Notebook
- スター
- 71
- フォーク
- 37
- 平均マージ
- 13時間 9分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QuantEcon/lecture-python-intro のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
QuantEcon/lecture-python-intro#871 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
QuantEcon/lecture-python-intro#864 ·
メンテナーはふだん 1 日以内に返信
-
lake_model_intro, time_series_with_matrices, long_run_growth: four small fixes対応中かも @nishantmishraa が 29 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
QuantEcon/lecture-python-intro#862 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
QuantEcon/lecture-python-intro#851 ·
メンテナーはふだん 1 日以内に返信
-
inequality's data.ipynb raises under the pinned pandas 3, and nothing runs it to notice対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
QuantEcon/lecture-python-intro#835 ·
メンテナーはふだん 1 日以内に返信
QuantEcon/lecture-python-intro の issue をすべて見る
似ている issue
-
[辞書] VIVANTオープン要トリアージ 辞書
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
openzim/zim-requests#2014 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
1c7/chinese-independent-developer#2151 ·
メンテナーはふだん 1 日以内に返信
-
country:US rating:5 request-theme type:TV SHOW
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
LizardByte/ThemerrDB#10499 · コメント 1 件 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100