Skip to content

sync/bib.yml: re-seal intro's two take rulings for its converged copies - #88

Merged
mmcky merged 2 commits into
mainfrom
bib/reseal-intro
Nov 22, 2026
Merged

mmcky merged 2 commits into
mainfrom
bib/reseal-intro

Conversation

@mmcky

@mmcky mmcky commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

What

QuantEcon/lecture-python-intro#875 sets intro's copy of every entry a ruling covers to the pool's result (the owner's "All ruled entries (Recommended)", 2026-11-22). Two rulings take intro's copy, so their seals must name the new copy. Otherwise tools/bib-merge reopens both keys once intro's pin moves, since the copy a ruling takes must be its sealed version, and the bibliography check goes red.

Ruling intro's seal before after
ModiglianiBrumberg1954 1b5b4d953cab4093 1ca767d52640eaed
sargent1989least b5017575cd6e8580 1bcb74219e915562

The digests are tools/bib-merge's own, of intro's copies as QuantEcon/lecture-python-intro#875 writes them; the organiser's reviewer reproduced both. Each ruling's because notes the re-seal. The merged entries do not change. Every other series' copy of these keys either keeps its sealed version or, once its own pull request merges, equals the result, which the tool accepts either way.

Order (draft until it can pass)

This cannot pass until intro's pin names QuantEcon/lecture-python-intro#875's merge, because its CI reconstructs intro's bibliography at the pin in sync/state.yml. So the pin moves in this pull request itself, with no separate sync run:

  1. bibliography: set the 42 ruled entries to the lecture monorepo's lecture-python-intro#875 merges;
  2. on this branch, tools/sync --update --pin-only intro moves intro's pin to that merge (it writes only sync/state.yml), and tools/bib-merge --reconstruct --write regenerates lectures/_static/quant-econ.bib, whose header records the rulings' digest and the inputs (only intro's input and the rulings' digest change; the entries do not);
  3. its CI goes green, including the four-site build that a change under lectures/ runs, and it merges before the nightly sync (03:47 UTC).

The pin covers every change merged to intro's main by then, not only QuantEcon/lecture-python-intro#875. Moving it changes no lecture in the pool here: drift-check reports any promoted lecture those changes touch as a refresh, and its refresh pull request brings them, reviewed as usual. Step 2 was done on 2026-11-22 at 22:05 UTC, in ce3655d. Intro's pin moved from 8db8a99 to 886d743, the merge of QuantEcon/lecture-python-intro#875. That range is one commit, QuantEcon/lecture-python-intro#875 itself, which changes only intro's lectures/_static/quant-econ.bib, so no pool lecture is affected. The regenerated bibliography's header now reads intro=2d87534b066785c6 and rulings: 5435102b09d86b21, and the entries are unchanged (body: e251ad3be18cfb2d). The branch isn't rebased: CI tests it merged with main (066c271), and the only commit on main since the branch's base, #87, touches neither sync/ nor the bibliography.

Moving the pin here, not by a run of sync.yml, means the bibliography check never goes red and no bot refresh pull request opens against this one. QuantEcon/lecture-python.myst#1140 and QuantEcon/lecture-python-advanced.myst#420 should wait until this has merged: a sync that moved their pins first would reopen their own take rulings here.

The re-seals for intermediate's six and advanced's six take copies that change (QuantEcon/lecture-python.myst#1140, QuantEcon/lecture-python-advanced.myst#420) follow the same way when those merge; advanced's is #89. jax takes no ruling, and dp is not a source.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL

QuantEcon/lecture-python-intro#875 sets intro's copies of every ruled
entry to the pool's result. ModiglianiBrumberg1954 and sargent1989least
take intro's copy, so their seals must name the new copy, or
tools/bib-merge reopens both keys once intro's pin moves (the copy a
ruling takes must be its sealed version). The digests are tools/bib-merge's
own, of intro's copies as #875 writes them. The results do not change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
…hon-intro#875

`tools/sync --update --pin-only intro` moves intro's pin from 8db8a99
to 886d743. That range is one commit, QuantEcon/lecture-python-intro#875,
which changes only intro's lectures/_static/quant-econ.bib, so no pool
lecture is affected.

`tools/bib-merge --reconstruct --write` then regenerates
lectures/_static/quant-econ.bib. Only its header changes: intro's input
digest (032034394f404222 to 2d87534b066785c6) and the rulings' digest
(e887ad4195b4276b to 5435102b09d86b21, from the re-seals in the commit
before). The entries are unchanged (body e251ad3be18cfb2d).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
@mmcky
mmcky marked this pull request as ready for review November 22, 2026 22:13
Copilot AI adaptive review requested due to automatic review settings November 22, 2026 22:13

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.

🟢 Approval recommended

No active review issues block approval of the bibliography synchronization update.

No open issues 🎉

What changed in this PR

Updates the bibliography synchronization state for intro’s converged entries, keeping its two take rulings valid at the new pin without changing the merged bibliography entries.

Changes:

  • Advances intro’s pin to the merge of QuantEcon/lecture-python-intro#875.
  • Re-seals ModiglianiBrumberg1954 and sargent1989least, documenting why their seals changed.
  • Refreshes the generated bibliography’s input and rulings digests; its body remains unchanged.
File Description
sync/​state.yml Updates intro’s pinned commit and sync timestamp.
sync/​bib.yml Updates intro’s two seals and their explanatory notes.
lectures/​_static/​quant-econ.bib Refreshes provenance digests without changing entries.

Review effort: Balanced (adaptive)

@mmcky
mmcky merged commit f63d746 into main Nov 22, 2026
10 checks passed
mmcky added a commit that referenced this pull request Nov 22, 2026
…python-advanced.myst#420

`tools/sync --update --pin-only advanced` moves advanced's pin from
63ef0be to ceed1b2. That range is two commits:
QuantEcon/lecture-python-advanced.myst#419, which changes
chang_credible.md, and QuantEcon/lecture-python-advanced.myst#420, which
changes only advanced's lectures/_static/quant-econ.bib. The pool's
chang_credible takes advanced's copy, so the nightly drift-check brings
#419's change in through its refresh pull request, reviewed as usual;
this pull request changes no pool lecture.

`tools/bib-merge --reconstruct --write` then regenerates
lectures/_static/quant-econ.bib. Its header now reads
advanced=8453bb3ec5a0ab0e and rulings 0fc43cfacdadb4e1 (body
84ba45fbccdab6e6). Two entries change, the two titles the rulings brace:
hansen1995discounted ({G}aussian; journal "IEEE Transactions on
Automatic Control") and SvenssonWilliams2009 ({DSGE}, {Markov}).

The branch took main (f63d746, #88) in a merge
commit first, so the header carries intro's re-seal too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
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