Skip to content

entrepreneurial_stock_market: rename the bibliography key Diamond1967 to diamond1967 - #411

Merged
mmcky merged 1 commit into
mainfrom
bib/diamond1967
Nov 11, 2026
Merged

mmcky merged 1 commit into
mainfrom
bib/diamond1967

Conversation

@mmcky

@mmcky mmcky commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

#408 added Diamond (1967), "The Role of a Stock Market in a General Equilibrium Model with Technological Uncertainty", American Economic Review 57(4):759–776, under the key Diamond1967. lecture-python.myst already holds the same work, with identical fields, under diamond1967, cited in its ge_arrow lecture:

Series Key Cited in
this repository Diamond1967 (added in #408) entrepreneurial_stock_market, four times
lecture-python.myst diamond1967 ge_arrow

The lectures monorepo (QuantEcon/lectures) merges the series' bibliographies into one quant-econ.bib, which cannot hold two keys that differ only in case, so its nightly bibliography merge refuses the new key and stays red (QuantEcon/lectures#52).

This pull request renames the entry and the lecture's four citations to diamond1967, matching lecture-python.myst: five lines, no other change. Readers see no difference, because the lecture still prints "Diamond (1967)". The newer key is the one renamed, since it was added yesterday and only its own lecture cites it.

Checked in a scratch copy of the monorepo with this change applied: the bibliography merge runs clean (928 keys, nothing refused), and promoting this repository's two new lectures, entrepreneurial_stock_market and financial_structure_incentives, into the pool then passes its drift and pool checks.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMXuHMiWb8victibwcU

Copilot AI balanced review requested due to automatic review settings November 11, 2026 08:43
@netlify

netlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 0ad73e4
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/6af42ad30a30b22dbf769100
😎 Deploy Preview https://deploy-preview-411--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.

… to diamond1967

#408 added Diamond (1967), "The Role of a Stock Market in a General
Equilibrium Model with Technological Uncertainty", under the key
Diamond1967. lecture-python.myst already holds the same entry, with
identical fields, under diamond1967 (cited in ge_arrow). The lectures
monorepo merges the series' bibliographies into one quant-econ.bib,
which cannot hold two keys that differ only in case, so its nightly
refuses the new key. This renames the entry and the lecture's four
citations to diamond1967; readers see no difference.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMXuHMiWb8victibwcU

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.

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟢 Approval recommended

The change is a straightforward, consistent rename of a single BibTeX key along with updating the corresponding in-text citations to prevent case-only collisions, with no remaining issues noted in the review evidence.

No open issues 🎉

What changed in this PR

Standardizes the Diamond (1967) BibTeX citation key to avoid case-only key collisions during downstream bibliography merges.

Changes:

  • Renames the bibliography entry key from Diamond1967 to diamond1967.
  • Updates four in-text citations in the entrepreneurial_stock_market lecture to use diamond1967.
File Description
lectures/​entrepreneurial_stock_market.md Updates four in-text citations to reference the standardized diamond1967 BibTeX key.
lectures/​_static/​quant-econ.bib Renames the Diamond (1967) BibTeX entry key from Diamond1967 to diamond1967.

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions
github-actions Bot temporarily deployed to pull request November 11, 2026 08:54 Inactive
@mmcky
mmcky merged commit aa81cd9 into main Nov 11, 2026
9 checks passed
@mmcky
mmcky deleted the bib/diamond1967 branch November 11, 2026 08:56
mmcky added a commit to QuantEcon/lectures that referenced this pull request Nov 11, 2026
QuantEcon/lecture-python-advanced.myst#408 added
entrepreneurial_stock_market and financial_structure_incentives to
advanced's toc, which drift issue #51 reports. One of
them cited Diamond (1967) as Diamond1967, a key intermediate already
holds as diamond1967; QuantEcon/lecture-python-advanced.myst#411
renamed it upstream, and #53 brought the renamed
entry into the merged bibliography, so every key the two lectures cite
now resolves there.

`tools/promote --toc advanced --exclude jax` promotes both, canonical
in advanced with no assets and no rewrites (2 promoted, 72 unchanged,
4 product pages skipped). Advanced's 72 pooled entries, unchanged in
text, record its current pin, aa81cd9, as when advanced was promoted.
`tools/drift-check --accept-toc advanced` then puts advanced's _toc.yml
under the toc watch at aa81cd9, and the README's count of pool
lectures follows, from 298 to 300.


Claude-Session: https://claude.ai/code/session_01WT8bMXuHMiWb8victibwcU

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was previously deployed

1 inactive deployment
pull request — 0ad73e42 Deployed Nov 11, 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