TOC: introduce "Markov Decision Processes" section#21
Open
mmcky wants to merge 1 commit into
Open
Conversation
Implements the lecture reorder agreed in #4: - Removes discrete_dp from Introduction (Introduction now contains only short_path). - Removes mccall_q from Job Search (now 8 lectures). - Adds a new "Markov Decision Processes" section between Income Fluctuation Problems and LQ Control, containing discrete_dp, inventory_q, rs_inventory_q, mccall_q. discrete_dp is the theoretical foundation (MDP setup) that the Q-learning lectures build on, so they sit together; this also fixes the difficulty curve in Introduction (per @jstac's note that discrete_dp was much more advanced than the lectures that followed). Files inventory_q.md and rs_inventory_q.md were added to the repo in #19 and #20 respectively but were not yet wired into the build (only_build_toc_files: true); this commit activates them. Closes #4 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the Jupyter Book table of contents to implement the agreed lecture reordering by introducing a new “Markov Decision Processes” section and relocating existing lectures to match the intended learning progression.
Changes:
- Remove
discrete_dpfrom Introduction (leavingshort_pathas the sole lecture there). - Remove
mccall_qfrom Job Search. - Add a new Markov Decision Processes part containing
discrete_dp,inventory_q,rs_inventory_q, andmccall_qbetween Income Fluctuation Problems and LQ Control.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
Implements the lecture reorder agreed in #4 and finalised in this comment thread:
discrete_dp→ now contains onlyshort_path(1 lecture).mccall_q→ now 8 lectures.discrete_dp(moved from Introduction)inventory_q(added in SYNC: add inventory_q.md from lecture-python.myst #19)rs_inventory_q(added in SYNC: add rs_inventory_q.md from lecture-python.myst #20)mccall_q(moved from Job Search)This is the third (and final) PR for #4. PRs #19 and #20 added the two new files to the repo but kept them out of the build (
only_build_toc_files: true); this PR activates them and closes the reorder.Why this structure
discrete_dpis the MDP-theoretical foundation that the three Q-learning lectures build on, so grouping them together gives a coherent reading order and fixes the difficulty cliff that motivated #4 (per @jstac's note thatdiscrete_dpwas a lot more advanced than the introductory lectures that followed it).Test plan
inventory_q/rs_inventory_qin the TOC).{doc}references toinventory_qinsiders_inventory_q.mdresolve.{cite}\Sargent_Stachurski_2025`reference ininventory_q.md` resolves (entry added in SYNC: add inventory_q.md from lecture-python.myst #19).{doc}references break fordiscrete_dpormccall_qafter the move (verified locally — no cross-references in the repo depended on their old paths).Follow-up
Update #7 to bump the
lecture-python.mystmapping from 25 → 27 files.Closes #4
🤖 Generated with Claude Code