Repository navigation
Point discrete_dp's optimal growth links at os_stochastic - #422
Merged
Merged
Conversation
✅ Deploy Preview for lustrous-melomakarona-3ee73e ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Human verification is needed to confirm that the external os_stochastic replacement and revised exercise wording preserve the lecture’s intended benchmark context and learning path.
No open issues 🎉
What changed in this PR
Updates the DiscreteDP exercise documentation to replace broken links to the obsolete optgrowth lecture with the current os_stochastic lecture and removes a link to an exercise that no longer exists.
Changes:
- Replaced two broken optgrowth links with os_stochastic.html.
- Corrected the lecture-series description from introductory to intermediate.
- Removed the obsolete Exercise 2 link while preserving the surrounding explanation.
| File | Description |
|---|---|
| lectures/discrete_dp.md | Corrects outdated optimal-growth lecture links, updates the lecture-series description, and removes the obsolete Exercise 2 reference. |
Review effort: Lite (adaptive)
Contributor
The stochastic optimal growth lecture is now os_stochastic, "Optimal Savings III: Stochastic Returns", on python.quantecon.org, and both old optgrowth URLs return 404. That series is the intermediate one, not the introductory one. The old lecture's Exercise 2 no longer exists, so the solution's pointer to it is dropped and the sentence kept. Found while validating a build of the lecture from QuantEcon/lectures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WT8bMZoSvoQTbzkdmZiMnd
mmcky
force-pushed
the
fix/discrete-dp-optgrowth-links
branch
from
November 22, 2026 21:51
fd505c8 to
1a08a5c
Compare
Contributor
Author
|
Full validation at 1a08a5c (rebased onto main 354faf5).
|
mmcky
pushed a commit
to QuantEcon/lectures
that referenced
this pull request
Nov 23, 2026
The nightly of 2026-11-23 re-copies 19 pool lectures whose canonical copy moved upstream: intermediate 12 (QuantEcon/lecture-python.myst#1144, QuantEcon/lecture-python.myst#1147 and QuantEcon/lecture-python.myst#1141), advanced 5 (QuantEcon/lecture-python-advanced.myst#419, QuantEcon/lecture-python-advanced.myst#421 and QuantEcon/lecture-python-advanced.myst#422) and intro 2 (QuantEcon/lecture-python-intro#876). In the merged bibliography only the header's jax input hash changes (QuantEcon/lecture-jax#377); its 1011 entries are unchanged. In sync/ledger.yml only pins and digests change. Checked by mini:project-monorepo's recompute from a clean clone at the base, which gives the head's tree, and by the organiser's independent review: each lecture is byte-identical to its upstream copy at the new pin once the recorded asset rewrites are applied, no bibliography key is missing and no cross-reference is broken. The site-build, pool-check and drift-check runs on the head were green before merge. Lecture content: reviewed by @mmcky ("Approve runs, then merge") in the organiser session, at head a815b36. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three links in
lectures/discrete_dp.mdgo to the old optgrowth lecture, and both URLs end in a 404: https://python-intro.quantecon.org/optgrowth.html (lines 616 and 624) redirects to https://python.quantecon.org/optgrowth.html, which returns 404, as does https://python.quantecon.org/optgrowth.html#exercises (line 911). That lecture is now Optimal Savings III: Stochastic Returns in the intermediate series, which keeps the benchmark model and its analytical solution. This points the first two links there and names the series correctly. The old lecture's Exercise 2 no longer exists, so the last solution section now begins "Finally, let us plot the trajectories…" without pointing to it.This changes lecture content, so it needs a person's review before it merges.
Found while validating a build of lecture-dp from QuantEcon/lectures.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMYi9AZHg29XQAH3w7N