Repository navigation
promote: five new lectures from advanced and intermediate; tocs re-accepted; AlonsoMatouschek2008 ruling - #83
Merged
Merged
Conversation
…cepted; AlonsoMatouschek2008 ruling Advanced added temptation_self_control and commitment_flexibility at QuantEcon/lecture-python-advanced.myst 63ef0be (QuantEcon/lecture-python-advanced.myst#417), and intermediate added approximation_errors, specification_tests and turbulence_inference at QuantEcon/lecture-python.myst 220fb97 (QuantEcon/lecture-python.myst#1138). This promotes the five by name (canonical in their home series, no assets, no rewrites), re-accepts both tocs at those pins (tools/drift-check --accept-toc) and copies each series' _toc.yml over sites/advanced/_toc.yml and sites/intermediate/_toc.yml (neither has marked additions). The pool goes from 330 to 335 lectures. sync/bib.yml gains one ruling: AlonsoMatouschek2008, which intermediate's information_transfer and advanced's new commitment_flexibility both cite, takes intermediate's copy (rule: one copy has more fields, QuantEcon/project-monorepo#10; it adds the DOI, the fields are otherwise equal). Sealed from tools/bib-merge --propose. lectures/_static/quant-econ.bib is regenerated (993 entries, 57 conflicts, 60 rulings). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
There was a problem hiding this comment.
🟡 Changes recommended
Two critical correctness issues remain: the no-discretion branch mishandles nonzero-mean shocks, and worker simulations omit death and newborn replacement, invalidating the stated model results.
2 open issues
What changed in this PR
This pull request promotes five reviewed lectures from the advanced and intermediate series into the central lecture pool, synchronizes their provenance and site TOCs, and settles the AlonsoMatouschek2008 bibliography conflict.
Changes:
- Adds five lecture entries with upstream pins, digests, and asset metadata.
- Re-accepts both series TOCs and updates the corresponding site TOCs.
- Records the bibliography ruling, regenerates the merged bibliography, and updates the pool count from 330 to 335 lectures.
| File | Description |
|---|---|
| sync/toc.yml | Records the accepted advanced and intermediate upstream TOC pins and digests. |
| sync/ledger.yml | Adds provenance, commit pins, digests, and asset metadata for the five promoted lectures. |
| sync/bib.yml | Records the source-selection ruling for AlonsoMatouschek2008. |
| sites/intermediate/_toc.yml | Updates the intermediate site TOC with its three newly promoted lectures. |
| sites/advanced/_toc.yml | Updates the advanced site TOC with its two newly promoted lectures. |
| README.md | Updates the documented lecture pool size from 330 to 335. |
| lectures/turbulence_inference.md | Adds the intermediate lecture on turbulence and inference. |
| lectures/temptation_self_control.md | Adds the advanced lecture on temptation and self-control. |
| lectures/specification_tests.md | Adds the intermediate lecture on specification tests. |
| lectures/_static/quant-econ.bib | Regenerates the merged bibliography with the settled source selection and promoted-lecture citations. |
Review effort: Lite (adaptive)
Comment on lines
+793
to
+795
| if θ_star is None: # expected Ramsey policy | ||
| return (lambda θ: 0.0 * θ), 0.0 | ||
| x = U - quad(lambda θ: (θ - θ_star) * pdf(θ), θ_star, θ_hi)[0] |
Comment on lines
+291
to
+294
| for t in range(T_burn + T): | ||
| u = rng.random((N, 4)) | ||
| new_emp, new_wi, new_hj = emp.copy(), wi.copy(), hj.copy() | ||
| laid = emp & (u[:, 0] < m.λ) |
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.

What
Today's sync (2026-11-22,
a888572) moved two pins, and each series added lectures to its toc: advanced's QuantEcon/lecture-python-advanced.myst#417 (63ef0be) addedtemptation_self_controlandcommitment_flexibility, and intermediate's QuantEcon/lecture-python.myst#1138 (220fb97) addedapproximation_errors,specification_testsandturbulence_inference. This promotes the five into the pool, re-accepts both tocs and brings both site tocs into step, which clears the drift issues #79, #80, #81 and #82 at the next drift-check run. It also settles the one bibliography key today's run refused. The pool goes from 330 to 335 lectures.lectures/temptation_self_control.md,lectures/commitment_flexibility.mdlectures/approximation_errors.md,lectures/specification_tests.md,lectures/turbulence_inference.mdsync/ledger.ymlsync/toc.yml63ef0be, intermediate at220fb97(tools/drift-check --accept-toc)sites/advanced/_toc.yml,sites/intermediate/_toc.ymllectures/_toc.ymlat its pin, copied verbatim (neither site has marked additions)sync/bib.ymlAlonsoMatouschek2008(below)lectures/_static/quant-econ.bibtools/bib-merge --write): 993 entries, 57 conflicts, 60 rulingsREADME.mdThe ruling
AlonsoMatouschek2008(Alonso and Matouschek, "Optimal Delegation", Review of Economic Studies 2008) is cited by intermediate'sinformation_transferand by advanced's newcommitment_flexibility, and the two series' copies differ: intermediate's adds the DOI (10.1111/j.1467-937X.2007.00471.x); every other field is equal. Today's drift-check refused the key for want of a ruling, which turned its bibliography job red. The ruling takes intermediate's copy under the standing rule "one copy has more fields" (QuantEcon/project-monorepo#10), as forSims1982andBansal_Yaron_2004, and is sealed fromtools/bib-merge --propose.Order with the refresh
The refresh #78 now carries 63 lectures at the new pins and is red only because of that refused key. After this merges, the next drift-check run rebuilds it on the new main with the key settled; it then needs its own recompute and approval.
Checks
tools/pool-checkandtools/pool-check --installs: clean, in a clean clone of this branch (the five lectures install nothing outside the baseline).tools/bib-merge: exit 0, no refused key; the citation closure holds.tools/drift-checkat today's pins: no toc or site findings remain; what it still reports is the refresh of 63 lectures that promote: refresh 63 pool lectures whose canonical source moved #78 carries.a888572: each new pool file equals its series' copy at the pin, five rows added, none lost, no existing entry or asset changed.The five lectures are the series' own reviewed text, copied unchanged; their content was reviewed upstream in the two pull requests above.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL