Repository navigation
sync/bib.yml: re-seal intermediate's six take rulings - #90
Merged
Merged
Conversation
QuantEcon/lecture-python.myst#1140 sets intermediate's copy of every entry a ruling covers to the pool's result. Six rulings take intermediate's copy and change it, so their seals now name the new copy (digests from tools/bib-merge's own code, of intermediate's copies at 148a901). The merged entries do not change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
…ure-python.myst#1140 `tools/sync --update --pin-only intermediate` moves intermediate's pin from 220fb97 to deb4bda. That range is three commits: QuantEcon/lecture-python.myst#1143 (its link-checker workflow), QuantEcon/lecture-python.myst#1144 (eight lectures, _toc.yml and 18 new bibliography entries) and QuantEcon/lecture-python.myst#1140 (its bibliography's ruled entries). The eight lectures are pool copies that take intermediate's, so the nightly drift-check brings them in through its refresh pull request, and it reports the toc change for re-acceptance; this pull request changes no pool lecture. `tools/bib-merge --reconstruct --write` then regenerates lectures/_static/quant-econ.bib: 1011 entries (993 before), 42 conflicts, 60 rulings, no refusal. Its header reads intermediate=4892e8b2ec406dac, rulings 2b2a03b4c9c9712f and body 09c6b1bb96f6b12e. The only change to the entries is the 18 new ones from QuantEcon/lecture-python.myst#1144, each held by intermediate alone, so none needs a ruling. The six re-seals' notes now carry 2026-11-23, the day QuantEcon/lecture-python.myst#1140 merged (00:09 UTC). The branch took main (267e58e) in a merge commit first. 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.
🔵 Needs a closer look
The change depends on unavailable upstream content at deb4bdac and lacks full bib-merge/CI validation, while its large regenerated bibliography and 18 added records require human verification of citation metadata and merge ordering.
No open issues 🎉
What changed in this PR
Updates the intermediate-series synchronization pin and regenerates the merged bibliography so six affected rulings remain sealed after upstream bibliography changes.
Changes:
- Advances the intermediate repository pin and synchronization timestamp.
- Re-seals six rulings whose selected copy is intermediate’s.
- Refreshes generated bibliography metadata and adds 18 intermediate-only entries.
| File | Description |
|---|---|
| sync/state.yml | Advances the intermediate source pin to the upstream merged commit and updates the synchronization timestamp. |
| sync/bib.yml | Updates the seals and records the re-sealing rationale for six affected rulings. |
| lectures/_static/quant-econ.bib | Regenerates the merged bibliography metadata and incorporates 18 new intermediate-held entries. |
Review effort: Lite (adaptive)
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
QuantEcon/lecture-python.myst#1140 sets intermediate's copy of every entry a ruling covers to the pool's result (the owner's "All ruled entries (Recommended)", 2026-11-22). Six rulings take intermediate's copy and change it, so their seals must name the new copy. Otherwise
tools/bib-mergereopens all six once intermediate's pin moves, since the copy a ruling takes must be its sealed version, and the bibliography check goes red.AKR1990a229f98efbe3e2570517d1216224e38ahansen2020twisted3521470dba8bdbc012c2453dc0203a9fHansenRichard19873bbc65ca3cdefc33dff11e9d6d462585Helpman1985cf417eed8a3dacef26992dc65b708457MarcetMarshall19925bc8e38b782615e61340b06a614cbba3pareto1896cours3af6b01cc3c7cc6c04762a3685a82856The digests are
tools/bib-merge's own, of intermediate's copies at QuantEcon/lecture-python.myst#1140's head,148a901. Each ruling'sbecausenotes the re-seal. The merged entries do not change. Every other ruling that takes intermediate's copy still matches its seal, so no other one reopens.Checked
A simulation with
tools/bib-merge's own code:148a901and every other series at its pin: no refusals;52ea526, advanced at bibliography: set the 38 ruled entries to the lecture monorepo's lecture-python-advanced.myst#420's944bb48and intermediate at148a901: no refusals.--writethen changes only sync/bib.yml: re-seal advanced's six take rulings; brace two titles #89's two braced entries and the header:% inputs:intermediate=06466b7d241875b4.Order (draft until it can pass)
This cannot pass until intermediate's pin names QuantEcon/lecture-python.myst#1140's merge, because its CI reconstructs intermediate's bibliography at the pin in
sync/state.yml. It also waits for #88, which changes the same header. So:tools/sync --update --pin-only intermediatemoves intermediate's pin to #1140's merge (it writes onlysync/state.yml), andtools/bib-merge --reconstruct --writeregenerateslectures/_static/quant-econ.bib, whose header must then readintermediate=06466b7d241875b4;lectures/runs, and it merges before the next nightly sync (03:47 UTC), best straight after #1140. A nightly sync between the two would move intermediate's pin on main by itself, and the bibliography check would go red with these six refusals until this merges.The pin covers every change merged to intermediate's main by then, not only QuantEcon/lecture-python.myst#1140. 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 3 was done on 2026-11-23 at 00:15 UTC. Instead of a rebase, the branch took main (267e58e, after #88 and #89) in a merge commit, e3a4a6d, so that its history isn't rewritten; CI tests the merge with main either way. Then c5ce7e1 moved intermediate's pin from 220fb97 to deb4bda, the merge of QuantEcon/lecture-python.myst#1140, and dated the six
becausenotes 2026-11-23, the day that pull request merged (00:09 UTC). The range is three commits:_toc.yml, and 18 new bibliography entriesSo the header no longer reads the planned
intermediate=06466b7d241875b4, which was intermediate's bibliography at #1140's head before #1144. It readsintermediate=4892e8b2ec406dac,rulings: 2b2a03b4c9c9712fandbody: 09c6b1bb96f6b12e. The merged file has 1011 entries (993 before), 42 conflicts and 60 rulings, with no refusal. The only change to its entries is the 18 new ones (Amari1998, AmariKarakidaOizumi2018, CostaSantosStrapasson2015, Darmois1935, DupuyGalichon2014, EvansHonkapohjaWilliams2010, Fisher1922, Gelbrich1990, HeymannVandenEijnden2008, KhanZhang2022, Koopman1936, MatejkaMcKay2015, McCann1997, NielsenMLSS2015, PeyreCuturi2019, Pitman1936, Rao1945, Takatsu2011). Each is held by intermediate alone, so none needs a ruling.#89 merged first; this branch took it from main in the merge commit above.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL