Skip to content

bibliography: set the 38 ruled entries to the lecture monorepo's - #420

Merged
mmcky merged 2 commits into
mainfrom
bibliography-pool-rulings
Nov 22, 2026
Merged

mmcky merged 2 commits into
mainfrom
bibliography-pool-rulings

Conversation

@mmcky

@mmcky mmcky commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

What

This file holds 49 entries that a ruling covers; this sets the 38 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.

Advanced's lectures cite 21 of the 38: the 10 corrections below and 11 of the rest.

Corrections to entries this series cites (10)

Key Why What changes (this file → the pool's)
Athanasios1991 the owner's ruling author: Athanasios, Papoulis and Pillai, S Unnikrishna → Papoulis, Athanasios; publisher: Mc-Graw Hill → McGraw-Hill; title: Probability, random variables, and stochastic processes → Probability, Random Variables, and Stochastic Processes
Deneckere1992 a broken copy entry type: article → incollection; address: (none) → Princeton; author: Deneckere, Raymond J and Judd, Kenneth L → Deneckere, Raymond J. and Judd, Kenneth L.; booktitle: (none) → Cycles and Chaos in Economic Equilibrium; editor: (none) → Benhabib, Jess; journal: Cycles and chaos in economic equilibrium → (none); title: Cyclical and chaotic behavior in a dynamic equilibrium model, with imp… → Cyclical and Chaotic Behavior in a Dynamic Equilibrium Model, with Imp…
hansen1995discounted the owner's ruling author: Lars Peter Hansen and Thomas J. Sargent and Thomas D. Tallarini, Jr. → Hansen, Lars Peter and Sargent, Thomas J; journal: Review of Economic Studies → IEEE Transactions on Automatic Control; number: 4 → 5; pages: 873--907 → 968--971; publisher: (none) → IEEE; title: Robust Permanent Income and Pricing → Discounted linear exponential quadratic {G}aussian control; volume: 66 → 40; year: 1999 → 1995
hansen2020twisted the owner's ruling author: Lars Peter Hansen and Thomas J. Sargent → Hansen, Lars Peter and Sz\H{o}ke, B\'{a}lint and Han, Lloyd S. and Sar…; pages: 222--250 → 151--174; title: Macroeconomic Uncertainty Prices when Beliefs are Tenuous → {Twisted probabilities, uncertainty, and prices}; volume: 223 → 216; year: 2021 → 2020
Hansen_Jagannathan_1991 the owner's ruling url: https://ideas.repec.org/a/ucp/jpolec/v99y1991i2p225-62.html → (none)
HansenRichard1987 a broken copy title: {The Role of Conditioning Information in Deducing Testable} → The Role of Conditioning Information in Deducing Testable Restrictions…
Helpman1985 the owner's ruling address: (none) → Cambridge, MA; author: Helpman, Elhanan and Krugman, Paul → Helpman, Elhanan and Krugman, Paul R.; publisher: MIT Press Cambridge → MIT Press; title: Market structure and international trade → Market Structure and Foreign Trade: Increasing Returns, Imperfect Comp…
LucasStokey1983 the owner's ruling author: Lucas, Jr., Robert E and Stokey, Nancy L → Lucas, Jr., Robert E. and Stokey, Nancy L.; journal: Journal of monetary Economics → Journal of Monetary Economics; number: 3 → 1
MaccheroniMarinacciRustichini:2006b the owner's ruling pages: 1147--1498 → 1447--1498
SvenssonWilliams2009 a broken copy booktitle: {Monetary Policy under Uncertainty and Learning} → Monetary Policy under Uncertainty and Learning; editor: … Walsh and Norman Loayza (Series Editor) and Klaus Schmidt-Hebbel (Ser… → …dt-Hebbel and Carl E. Walsh and Norman Loayza and Klaus Schmidt-Hebbel; title: {Optimal Monetary Policy under Uncertainty in DSGE Models: A Markov Ju… → Optimal Monetary Policy under Uncertainty in {DSGE} Models: A {Markov}…

Two values here go one step beyond the merged bibliography as it stands. The reference style sets titles in sentence case, so a proper noun stays capitalised only inside braces. Advanced's copy of SvenssonWilliams2009 braced its whole title, and the merged bibliography's braces nothing, so without a fix the references page would read "dsge" and "markov". This pull request braces {DSGE} and {Markov}, and {G}aussian in hansen1995discounted, whose journal is spelled "IEEE Transactions on Automatic Control". The lecture monorepo's rulings take the same values when advanced's copies are re-sealed there, in a pull request to QuantEcon/lectures that follows this one.

The rest (28)

  • 10 not cited, the owner's ruling
  • 7 cited, the rule: one copy has more fields
  • 3 not cited, a broken copy
  • 2 cited, the rule: cosmetic differences
  • 2 cited, the rule: the same fact written two ways
  • 2 not cited, the rule: the same fact written two ways
  • 1 not cited, a style fix
  • 1 not cited, the rule: one copy has more fields

"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

A full validation on 2026-11-22: fresh builds with no cache of this pull request and of main, every notebook executed. The first, at 1d8cf02, is in the first comment below. The case fix above (944bb48) came after it, so a second fresh build was run at that head; its evidence is the second comment, and the head is still 944bb48.

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
@netlify

netlify Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for lustrous-melomakarona-3ee73e ready!

Name Link
🔨 Latest commit 944bb48
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/6b02d71be50f6b98afab4808
😎 Deploy Preview https://deploy-preview-420--lustrous-melomakarona-3ee73e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

@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 77 notebooks, -W --keep-going, both green:

Build Run
main at 354faf5, this branch's base, 2026-11-22 45012283119
this pull request at 1d8cf02, 2026-11-22 45012288717

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

What a reader sees change.

  • In-text citations, on four pages:

    • classical_filtering and lu_tricks: "Athanasios and Pillai, 1991" becomes "Papoulis, 1991";
    • doubts_or_variability: "Hansen et al. [1999]" becomes "Hansen and Sargent [1995]", the paper the sentence means;
    • risk_aversion_or_mistaken_beliefs: "Hansen and Sargent [2021]" becomes "Hansen et al. [2020]", Hansen, Szőke, Han and Sargent, Twisted probabilities, uncertainty, and prices.
  • The references page:

    • those four works, corrected;
    • Deneckere and Judd (1992) as a chapter in Cycles and Chaos in Economic Equilibrium (Princeton University Press);
    • Hansen and Richard (1987)'s full title, which was cut off at "Testable";
    • Helpman and Krugman (1985)'s title, Market Structure and Foreign Trade;
    • Lucas and Stokey (1983)'s journal and issue;
    • Maccheroni, Marinacci and Rustichini (2006)'s pages, 1447–1498;
    • Svensson and Williams (2009)'s editors and title;
    • three DOIs added, two of them where the page had an empty https://doi.org/ link, and four RePEc links gone, since the pool's entries have none.

    Several other entries change only in spelling, case or initials.

Cell outputs. No code changed, so nothing executes differently. The output lines that differ are the same as between any two builds: unseeded draws, timings, memory addresses, solver printouts, and classical_filtering's eigenvector signs and round-off. The warnings in the outputs are the same on both sides, page by page.

41 of 85 pages differ in all: the five above, 35 pages of that output noise or of figure file names (an unseeded figure drawn again gets a new name), and the status page (build times).

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

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.

🟡 Changes recommended

The bibliography contains two unresolved moderate metadata regressions: one reassigns an existing citation key to a different work, and the other omits part of a published title.

2 open issues
What changed in this PR

This PR synchronizes 38 ruled bibliography entries in the lecture monorepo with the canonical merged bibliography while preserving unrelated local metadata.

Changes:

  • Corrects bibliographic metadata including authors, titles, publication venues, years, pages, and entry types.
  • Normalizes formatting and updates fields such as DOIs, publishers, addresses, and abstracts.
  • Reformats updated entries according to the established bibliography layout.
File Description
lectures/​_static/​quant-econ.bib Synchronizes and normalizes 38 ruled bibliography entries with the lecture monorepo's canonical merged bibliography.

Review effort: Lite (adaptive)

Comment thread lectures/_static/quant-econ.bib Resolved
Comment thread lectures/_static/quant-econ.bib Resolved
…name

The reference style sets titles in sentence case, so a proper noun stays
capitalised only inside braces. Advanced's own copy of SvenssonWilliams2009
braced its whole title; the pool's value does not, so the references page
would read "dsge" and "markov". Brace those two words, and "Gaussian" in
hansen1995discounted, whose journal is "IEEE Transactions on Automatic
Control". The lecture monorepo's rulings take the same values in advanced's
re-seal there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL
@github-actions
github-actions Bot temporarily deployed to pull request November 22, 2026 12:00 Inactive
mmcky added a commit to QuantEcon/lectures that referenced this pull request Nov 22, 2026
Advanced's copies of SvenssonWilliams2009 and hansen1995discounted, as
QuantEcon/lecture-python-advanced.myst#420 writes them, equal the two
rulings' results; seal them, so each seal names the copy the series holds.

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

mmcky commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Validation at 944bb48: a second full validation

944bb48 braces three words and corrects a journal's name; see the description. A fresh build of it with no cache, executing all 77 notebooks, -W --keep-going, is green. It is compared with the same fresh build of main as the first validation:

Build Run
main at 354faf5, this branch's base, 2026-11-22 45012283119
this pull request at 944bb48, 2026-11-22 45019320292

What changed since the first validation. Comparing the references pages of the two builds of this pull request, only two entries differ, as intended:

  • Svensson and Williams (2009) now reads "Optimal monetary policy under uncertainty in DSGE models: a Markov jump-linear-quadratic approach", where the first build read "dsge" and "markov".
  • Hansen and Sargent (1995) now reads "…quadratic Gaussian control", in IEEE Transactions on Automatic Control.

Against main, everything else is as the first validation found:

  • the same four pages with changed in-text citations, the same references page apart from those two entries, and the status page;
  • the rest is output noise and figure file names, the same as between any two builds;
  • the same log warning lines on both sides, no Sphinx warning, and the same warnings in the cell outputs, page by page.

39 of 85 pages differ in all.

A correction to the first validation's comment. It said two of the three DOIs added replaced an empty https://doi.org/ link on the page; it is one. Bansal and Yaron (2004) gains its DOI where the page had an empty link. The other empty link was on Hansen, Sargent and Tallarini (1999), HST_1999, which stays on the page with its RePEc link; its empty DOI field is dropped. Main's page also listed that 1999 paper a second time, under hansen1995discounted; that duplicate is gone, since the key now holds Hansen and Sargent (1995).

Edited about ten minutes after posting, 2026-11-22: the previous paragraph first said the second empty link went with the duplicate entry; it was on the entry that stays.

@mmcky

mmcky commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Validation correction: pages whose only difference is a figure

The evidence comments above say 41 of 85 pages differ for the first build and 39 of 85 for the second, at 944bb48. The comparisons behind them 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, 55 of 85 pages differ for the first build and 53 of 85 for the second. For the second build, which is this pull request's head, the 14 added pages differ only in figures:

Page Figures that differ, and why
additive_functionals figures 1 to 3 of 10, from lss.simulate, which draws without a seed
cattle_cycles figure 1 of 3, from compute_sequence, which draws its shocks without a seed
estspec figures 1, 6 and 7 of 7, from ARMA.simulation, which draws without a seed
lqramsey figures 1, 2, 5 and 6 of 6, from paths drawn with numpy's unseeded randn
lucas_model figures 1 and 3 of 3, from unseeded draws (ϕ.rvs)
markov_jump_lq figures 2 and 22 of 22, from compute_sequence, which draws its shocks without a seed
muth_kalman figures 1 to 3 of 4, from ssf.simulate, which draws without a seed
organizational_equilibrium figures 5 to 7 of 8, on 189 pixels in all, each by one shade level in 255: anti-aliasing, invisible; no random draws are behind them
permanent_income_dles figure 1 of 1, from compute_sequence, which draws its shocks without a seed
smoothing figures 1 and 2 of 2: figure 1 from a simulation whose seed is itself drawn at random (np.random.randint); figure 2 on 422 pixels, each by one shade level in 255 (anti-aliasing, invisible)
tax_smoothing_1 figures 1 to 3 of 3, from compute_sequence, which draws its shocks without a seed
tax_smoothing_2 figures 1 to 4 of 4, from compute_sequence, which draws its shocks without a seed
tax_smoothing_3 figures 1 and 2 of 2, from compute_sequence, which draws its shocks without a seed
tsyrennikov_2013 figures 1 and 2 of 5: every pixel is the same; only the PNG files' bytes differ

For the first build, the 14 added pages are the same, except that entrepreneurial_stock_market and gradual_trade_agreements (anti-aliasing on a few pixels) take the place of organizational_equilibrium and tsyrennikov_2013.

This pull request's own pages. The pages whose text it changes are the references page and classical_filtering, which have no figures, and doubts_or_variability, lu_tricks and risk_aversion_or_mistaken_beliefs. In the second build, all their figures are byte-identical to main's. In the first build, risk_aversion_or_mistaken_beliefs' figure 8 is the same plot saved one pixel shorter, as it is in the builds of #421 and #423, neither of which touches that lecture.

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 #423, 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 ceed1b2 into main Nov 22, 2026
10 checks passed
@mmcky
mmcky deleted the bibliography-pool-rulings branch November 22, 2026 23:52
mmcky added a commit to QuantEcon/lectures 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
mmcky added a commit to QuantEcon/lectures that referenced this pull request Nov 23, 2026
)

Re-seals advanced's take rulings in sync/bib.yml for the copies QuantEcon/lecture-python-advanced.myst#420 wrote, and moves the pool's advanced pin from 63ef0be to ceed1b2, that pull request's merge. Eight rulings renew advanced's seal; two of them also set braced titles, so the capitals survive the sentence-case reference style: hansen1995discounted becomes "Discounted linear exponential quadratic {G}aussian control" in IEEE Transactions on Automatic Control, and SvenssonWilliams2009 braces {DSGE} and {Markov}. tools/bib-merge --reconstruct --write updated the merged bibliography: those two entries change, and the header reads advanced=8453bb3ec5a0ab0e, rulings 0fc43cfacdadb4e1, body 84ba45fbccdab6e6. The pin's range also holds QuantEcon/lecture-python-advanced.myst#419's chang_credible change, which the nightly refresh brings into the pool separately; this changes no pool lecture.

The two entries are lecture content: @mmcky reviewed this exact diff and chose "Merge it now" in the infrastructure organiser session, after the organiser's fresh review of a69e9eb and its own read of the full diff at 8d4a898. It lands before the nightly pool sync at 03:47Z.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

This branch was previously deployed

1 inactive deployment
pull request — 944bb486 Deployed Nov 22, 2026 by github-actions[bot]
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