Repository navigation
promote: refresh 6 pool lectures and the merged bibliography - #48
Merged
Merged
Conversation
There was a problem hiding this comment.
Note
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
🟡 Changes recommended
The change cannot be approved because a critical CI failure remains: the drift-check refuses the LucasPrescott1971 key due to an outdated ruling in sync/bib.yml, so quant-econ.bib must be regenerated to restore green bibliography workflows.
1 open issue
What changed in this PR
Refreshes 6 pooled lecture copies whose upstream canonical sources moved, updates the promotion ledger, and regenerates the merged bibliography; however, the bibliography merge still reports a refused key (LucasPrescott1971) that leaves drift-check failing until sync/bib.yml is updated and the bib is re-generated.
Changes:
- Re-promoted 6 lecture markdown files from upstream canonical sources, including figure metadata/style normalization.
- Updated
sync/ledger.ymldigests andpromoted_atSHAs to match the refreshed promoted state. - Regenerated
lectures/_static/quant-econ.bibviatools/bib-merge --write(updated/normalized entries and header digests). - Updated select lecture citations to use the
Lucas_Prescott_1971key.
| File | Description |
|---|---|
| sync/ledger.yml | Updates ledger records (digests and promoted_at SHAs) to reflect the refreshed promoted lecture copies. |
| lectures/two_computation.md | Refreshes the lecture content with plotting/style adjustments and adds/updates MyST-NB figure metadata blocks for stable figure references. |
| lectures/phillips_self_confirming.md | Refreshes the lecture and updates the Lucas–Prescott 1971 citation key usage to Lucas_Prescott_1971. |
| lectures/phillips_misspecified.md | Refreshes the lecture and updates the Lucas–Prescott 1971 citation key usage to Lucas_Prescott_1971. |
| lectures/bounded_rationality.md | Refreshes the lecture and updates the Lucas–Prescott 1971 citation key usage to Lucas_Prescott_1971. |
| lectures/ak2.md | Refreshes the lecture with plotting/style tweaks (e.g., line width) and adds/updates MyST-NB figure metadata for generated figures. |
| lectures/ak_aiyagari.md | Refreshes the lecture with plotting/style tweaks and adds/updates MyST-NB figure metadata blocks for key figures. |
| lectures/_static/quant-econ.bib | Regenerates the merged bibliography output, updating/normalizing entries and associated header digests. |
Review effort: Balanced
mmcky
added a commit
that referenced
this pull request
Nov 10, 2026
…#50) The nightly refreshes #48 and #49 left the drift check red on two counts; this settles both. The bibliography. QuantEcon/lecture-python.myst#1113 merged intermediate's two entries for Lucas and Prescott (1971) as Lucas_Prescott_1971 and dropped LucasPrescott1971, so the ruling for LucasPrescott1971 in sync/bib.yml, which took intermediate's copy, can no longer apply and tools/bib-merge refused the key. Intro, advanced and jax hold identical copies of the old entry, and no pool lecture cites it since #48, so the ruling is removed rather than replaced: the result is the entry `tools/bib-merge --propose` proposes (take intro, the three seals equal). `tools/bib-merge --write` regenerates lectures/_static/quant-econ.bib, whose LucasPrescott1971 is now the three series' copy, normalised, without the volume, number and DOI that only intermediate's copy had; the key the lectures cite, Lucas_Prescott_1971, keeps them. 906 keys, 56 conflicts, 59 rulings, nothing refused. The toc. QuantEcon/lecture-python.myst#1110 and QuantEcon/lecture-python.myst#1119 added lucas_prescott_search and information_transfer to intermediate's toc, which drift issue #47 reports. `tools/promote --toc intermediate --exclude jax` promotes both, canonical in intermediate with no assets and no rewrites, so the {doc}`information_transfer` references that #49 brought into five pool lectures now resolve. pandas_panel, unchanged in text, records intermediate's current pin, a268b8f, for its second source. `tools/drift-check --accept-toc intermediate` then puts intermediate's _toc.yml under the toc watch at a268b8f, and the README's count of pool lectures follows, from 296 to 298. Claude-Session: https://claude.ai/code/session_01WT8bMXuHMiWb8victibwcU Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

tools/drift-checkfound pool entries whose canonical copy moved upstream;tools/promote --refresh --exclude jaxre-promoted them. Review the ledger diff, not just the lecture text: a refresh re-resolves every source, so an entry whose other copies went stale can change shape.interim: trueledger entriesThe merged bibliography.
tools/bib-merge --writeregeneratedlectures/_static/quant-econ.bibfrom the series' own files and the rulings insync/bib.yml(keys 894 · held by two or more series 270 · conflicts 56 · rulings 60 · merged 894). Review the entries it changed: each comes from a series' file, normalised to the house style, or from a ruling.Not settled.
tools/bib-mergefound the problems below, so the run that opened this PR is red. A refused key keeps the entry the committed file already had. A conflict without a ruling, or a ruling a copy has reopened, is settled by a ruling insync/bib.yml:tools/bib-merge --proposeprints a stub, sealed against the current copies. A citation that does not resolve, or an entry that breaks the house style, is settled upstream or by a ruling that fixes the entry.Run: https://github.com/QuantEcon/lectures/actions/runs/42574384383. The branch is force-pushed from
mainon every run that still needs a refresh, so this PR always shows the current delta.