Skip to content

promote: refresh 6 pool lectures and the merged bibliography - #48

Merged
mmcky merged 1 commit into
mainfrom
drift/refresh
Nov 10, 2026
Merged

mmcky merged 1 commit into
mainfrom
drift/refresh

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

tools/drift-check found pool entries whose canonical copy moved upstream; tools/promote --refresh --exclude jax re-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.

before after
interim: true ledger entries 0 0
lectures re-copied 6

The merged bibliography. tools/bib-merge --write regenerated lectures/_static/quant-econ.bib from the series' own files and the rulings in sync/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-merge found 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 in sync/bib.yml: tools/bib-merge --propose prints 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.

[refused] LucasPrescott1971: its ruling takes `intermediate`, which no longer holds it (held by intro, advanced, jax) (the committed entry is kept)

Run: https://github.com/QuantEcon/lectures/actions/runs/42574384383. The branch is force-pushed from main on every run that still needs a refresh, so this PR always shows the current delta.

 lectures/_static/quant-econ.bib      |  90 +++++++++-
 lectures/ak2.md                      | 102 +++++++++---
 lectures/ak_aiyagari.md              |  76 +++++++--
 lectures/bounded_rationality.md      |   2 +-
 lectures/phillips_misspecified.md    |   2 +-
 lectures/phillips_self_confirming.md |   2 +-
 lectures/two_computation.md          |  62 ++++++-
 sync/ledger.yml                      | 308 +++++++++++++++++------------------
 8 files changed, 436 insertions(+), 208 deletions(-)

@github-actions
github-actions Bot requested a review from mmcky as a code owner November 9, 2026 06:40
@mmcky
mmcky requested a balanced review from Copilot November 10, 2026 06:03

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.

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.yml digests and promoted_at SHAs to match the refreshed promoted state.
  • Regenerated lectures/_static/quant-econ.bib via tools/bib-merge --write (updated/normalized entries and header digests).
  • Updated select lecture citations to use the Lucas_Prescott_1971 key.
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

Comment thread lectures/_static/quant-econ.bib Resolved
@mmcky
mmcky merged commit 25dd5de into main Nov 10, 2026
4 of 5 checks passed
@mmcky
mmcky deleted the drift/refresh branch November 10, 2026 06:25
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]>
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