Skip to content

promote: five new lectures from advanced and intermediate; tocs re-accepted; AlonsoMatouschek2008 ruling - #83

Merged
mmcky merged 1 commit into
mainfrom
promote/toc-2026-11-22
Nov 22, 2026
Merged

mmcky merged 1 commit into
mainfrom
promote/toc-2026-11-22

Conversation

@mmcky

@mmcky mmcky commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

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) added temptation_self_control and commitment_flexibility, and intermediate's QuantEcon/lecture-python.myst#1138 (220fb97) added approximation_errors, specification_tests and turbulence_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.

File Change
lectures/temptation_self_control.md, lectures/commitment_flexibility.md promoted by name: canonical advanced, no assets, no rewrites
lectures/approximation_errors.md, lectures/specification_tests.md, lectures/turbulence_inference.md promoted by name: canonical intermediate, no assets, no rewrites
sync/ledger.yml five new entries; no existing entry changed
sync/toc.yml advanced accepted at 63ef0be, intermediate at 220fb97 (tools/drift-check --accept-toc)
sites/advanced/_toc.yml, sites/intermediate/_toc.yml each series' lectures/_toc.yml at its pin, copied verbatim (neither site has marked additions)
sync/bib.yml one ruling, AlonsoMatouschek2008 (below)
lectures/_static/quant-econ.bib regenerated (tools/bib-merge --write): 993 entries, 57 conflicts, 60 rulings
README.md 330 to 335 lectures

The ruling

AlonsoMatouschek2008 (Alonso and Matouschek, "Optimal Delegation", Review of Economic Studies 2008) is cited by intermediate's information_transfer and by advanced's new commitment_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 for Sims1982 and Bansal_Yaron_2004, and is sealed from tools/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-check and tools/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-check at 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.
  • An independent recompute of both series' entries against 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

…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
Copilot AI adaptive review requested due to automatic review settings November 22, 2026 05:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.λ)
@mmcky
mmcky merged commit a693c16 into main Nov 22, 2026
7 checks passed
@mmcky
mmcky deleted the promote/toc-2026-11-22 branch November 22, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants