Skip to content

bibliography: set the 23 ruled entries to the lecture monorepo's - #1140

Merged
mmcky merged 1 commit into
mainfrom
bibliography-pool-rulings
Nov 23, 2026
Merged

mmcky merged 1 commit into
mainfrom
bibliography-pool-rulings

Conversation

@mmcky

@mmcky mmcky commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

What

This file holds 58 entries that a ruling covers; this sets the 23 of them that differ to the lecture monorepo's merged bibliography (QuantEcon/lectures, lectures/_static/quant-econ.bib). Each of those keys is settled there by a ruling in sync/bib.yml: the owner's rulings of 2026-11-02 (QuantEcon/project-monorepo#10), the four rules accepted on 2026-10-12, or a style fix of decision D3. On 2026-11-22 the owner asked for lecture fixes to be reported upstream to their source of truth, and chose to set every ruled entry a series holds to the pool's, cited or not ("All ruled entries (Recommended)").

It is mechanical. Each changed entry equals the pool's once both are normalised as tools/bib-merge reads them, and every other entry is untouched; a script checked both. Fields the house style leaves out (month, abstract, keywords, file, date-added, date-modified, issn) are kept as this file had them; an empty field, such as doi = {}, is dropped, as the pool's normaliser drops it. The changed entries are written in the pool's layout, one field per line.

Intermediate's lectures cite 13 of the 23: the 5 corrections below and 8 of the rest.

Corrections to entries this series cites (5)

Key Why What changes (this file → the pool's)
Hansen_Jagannathan_1991 the owner's ruling doi: 10.1086/261750 → 10.1086/261749; title: Implications of Security Market Data for Models of Dynamic Economies → {Implications of Security Market Data for Models of Dynamic Economies}
HansenRichard1987 a broken copy title: … Deducing Testable Restrictions Implied by Dynamc Asset Pricing Models → …Deducing Testable Restrictions Implied by Dynamic Asset Pricing Models
KydlandPrescott1977 the owner's ruling pages: 473--492 → 473--491
MarcetMarshall1992 a style fix entry type: incollection → techreport; booktitle: Universitat Pompeu Fabra Economics Working Paper → (none); institution: (none) → Universitat Pompeu Fabra; type: (none) → Economics Working Paper
ModiglianiBrumberg1954 a style fix publisher: (none) → Rutgers University Press

The rest (18)

  • 5 not cited, the owner's ruling
  • 4 cited, the rule: one copy has more fields
  • 4 cited, the rule: the same fact written two ways
  • 4 not cited, the rule: one copy has more fields
  • 1 not cited, a broken copy

"The owner's ruling" and "a broken copy" correct the data: the wrong paper, author, year, pages or journal, or a malformed entry. "More fields" adds what another series' copy has, such as a DOI. "The same fact written two ways" and "cosmetic differences" settle on one spelling of the same data.

Validation

Done on 2026-11-22, a full validation: fresh builds with no cache of this pull request and of main, every notebook executed, both green. The evidence is in the comment below.

This changes content, so it needs a person's review.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL

Each of these keys is settled in the lecture monorepo's merged bibliography
(QuantEcon/lectures, sync/bib.yml) by the owner's rulings of 2026-11-02,
the rules accepted on 2026-10-12 or a style fix of decision D3. On
2026-11-22 the owner asked for every ruled entry a series holds to be set
to the pool's. Each changed entry equals the pool's once both are
normalised; every other entry is untouched, and the fields the house style
leaves out (month, abstract, keywords and others) are kept as they were.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
@github-actions

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-1140--sunny-cactus-210e3e.netlify.app

Commit: 148a901


Build Info

@mmcky

mmcky commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Validation: a full validation

Two fresh builds with no cache, each executing all 159 notebooks on the series' GPU machine (cache.yml), both green:

Build Run
main at 220fb97, this branch's base, 2026-11-22 45012272650
this pull request at 148a901, 2026-11-22 45012277463

What a reader sees change. Only the references page: no in-text citation changes on any lecture page.

  • Hansen and Jagannathan (1991): the DOI is now 10.1086/261749, the article itself; the old one, 10.1086/261750, is the next article in the issue. Its title is now set in title case.
  • Hansen and Richard (1987): "dynamc" corrected to "dynamic".
  • Kydland and Prescott (1977): pages 473–491, where it said 473–492.
  • Marcet and Marshall (1992): now a working paper of Universitat Pompeu Fabra, number 13, where it was set as a chapter in a book named after the series.
  • Modigliani and Brumberg (1954): its publisher, Rutgers University Press.
  • Smaller changes:
    • "Econometrica, Journal of the Econometric Society" becomes "Econometrica";
    • Hansen and Singleton's journal is capitalised, Journal of Political Economy;
    • Ljungqvist and Sargent gain their full names and the ISBN;
    • Lubik and Schorfheide (2004), Sargent and Stachurski (2025) and Sims (1982) gain their DOIs;
    • Piazzesi, Salomao and Schneider (2015) gains its month. Its note and year now read "March 2015, 2015", which is redundant; that is for the merged bibliography to tidy.

Cell outputs. No code changed, so nothing executes differently. The output lines that differ, on 23 pages, are the same as between any two builds: unseeded draws, timings and solver printouts. The warnings in the cell outputs are the same on both sides, page by page.

Build logs. The same warning lines on both sides, and no Sphinx warning on either.

25 of 176 pages differ in all: the references page, the 23 of output noise, and the status page (build times).

@mmcky
mmcky marked this pull request as ready for review November 22, 2026 12:48
Copilot AI adaptive review requested due to automatic review settings November 22, 2026 12:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Because the change updates 23 authoritative bibliographic records from external rulings and source-of-truth data, automated consistency checks cannot replace human verification of citation accuracy and ruling provenance.

No open issues 🎉

What changed in this PR

Synchronizes 23 ruled bibliography entries in the lecture monorepo with QuantEcon’s merged bibliography, correcting metadata while preserving required local fields.

Changes:

  • Corrects DOI values, page ranges, titles, author names, publishers, and other bibliographic facts.
  • Converts MarcetMarshall1992 to the appropriate technical-report format.
  • Normalizes BibTeX formatting and adds missing metadata across the affected entries.
File Description
lectures/​_static/​quant-econ.bib Synchronizes 23 ruled bibliography entries with the merged QuantEcon bibliography and normalizes their metadata and formatting.

Review effort: Lite (adaptive)

@mmcky

mmcky commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

A correction to the validation comment above: its Build logs line says the two builds logged the same warning lines. They differ by one. While this pull request's build installed its packages, pip logged one retry after a dropped connection (WARNING: Retrying … ConnectionResetError(104, 'Connection reset by peer'), downloading the CUDA wheels), and the download then succeeded. Both builds installed the same 61 pip packages, at the same versions. There is no Sphinx warning on either side, so the rest of the comment stands. My comparison script had missed the line; it has been fixed, and the other comparisons made today were checked again with it and are unaffected.

@mmcky

mmcky commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Validation correction: pages whose only difference is a figure

The evidence comment above says 25 of 176 pages differ. The comparison behind it compared a figure only when the page wraps it in a link, and this series doesn't, so a page whose only difference is a figure wasn't counted. With every figure now compared by content, 37 of 176 pages differ. The 12 added pages differ only in figures:

Page Figures that differ, and why
kalman figures 6 to 8 of 8, from ss.simulate, which draws without a seed
kalman_2 figures 1, 2, 3, 6 and 7 of 7, from simulate, which draws without a seed
linear_models figures 2 to 8 of 8, from ar.simulate, which draws without a seed
lln_clt figures 1, 3, 4, 5 and 6 of 6, from unseeded draws (.rvs, default_rng())
lq_inventories figures 1, 2, 4, 5, 6, 12, 15 and 16 of 16, from simulate, which calls LQ.compute_sequence without a seed
lqcontrol figures 1, 2, 8, 9 and 10 of 10, from LQ.compute_sequence, which draws its shocks without a seed
markov_asset figure 1 of 6, from mc.simulate, which draws without a seed
perm_income figures 1 and 2 of 3, from unseeded draws (default_rng())
perm_income_cons figures 1 to 6 of 6, from lss.simulate, which draws without a seed
samuelson figure 13 of 20, from a simulation with an unseeded generator (default_rng())
uncertainty_traps figures 5 and 6 of 6, from unseeded draws (default_rng())
wealth_dynamics figures 1 to 9 of 9, from unseeded draws (default_rng(), np.random.randn)

This pull request's own pages. The page it changes is the references page, which has no figures.

None of the added pages is one this pull request changes, and each also differs when the same main build is compared with the build of #1142, which changes only the conda channel's name and installs the same packages. The conclusion doesn't change: no other page's prose differs.

mmcky added a commit to QuantEcon/lectures that referenced this pull request Nov 22, 2026
…es (#88)

Re-seals intro's two take rulings in sync/bib.yml for its converged copies, and moves the pool's intro pin from 8db8a99 to 886d743, the merge of QuantEcon/lecture-python-intro#875. That range is one commit, which changes only intro's own bibliography, so no pool lecture moves. tools/bib-merge --reconstruct --write then updated the merged bibliography's header to the new input and rulings digests (intro=2d87534b066785c6, rulings 5435102b09d86b21); the entries are unchanged (body e251ad3be18cfb2d). State only, not lecture content.

Merged on @mmcky's "Merge it now" in the infrastructure organiser session, after the organiser's fresh review of ae2a3ca and its own read of ce3655d. It lands before the nightly pool sync at 03:47Z; next come QuantEcon/lecture-python-advanced.myst#420 with the advanced re-seal, then QuantEcon/lecture-python.myst#1140 with the intermediate one.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@mmcky
mmcky merged commit deb4bda into main Nov 23, 2026
4 checks passed
@mmcky
mmcky deleted the bibliography-pool-rulings branch November 23, 2026 00:10
mmcky added a commit to QuantEcon/lectures that referenced this pull request Nov 23, 2026
…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
mmcky added a commit to QuantEcon/lectures that referenced this pull request Nov 23, 2026
Re-seals intermediate's six take rulings in sync/bib.yml (AKR1990, hansen2020twisted, HansenRichard1987, Helpman1985, MarcetMarshall1992, pareto1896cours) now that intermediate's copies of those entries took the pool's result (QuantEcon/lecture-python.myst#1140); each because-note says so. intermediate's pin in sync/state.yml moves 220fb97 → deb4bda. That range also carries QuantEcon/lecture-python.myst#1144, so the merged bibliography gains its 18 new entries, each held by intermediate alone (no conflict, no ruling) and equal to intermediate's in type and fields, with only the field order set to the house order. No existing entry changes. bib-merge: 1011 entries (993 before), 42 conflicts, 60 rulings, no refusal. It lands before the nightly sync, which would otherwise refuse the six keys.

@mmcky approved this exact diff in the infrastructure organiser session ("Merge it now"), after the organiser's fresh review of the re-seals and its own check of the 18 entries.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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