Repository navigation
entrepreneurial_stock_market: rename the bibliography key Diamond1967 to diamond1967 - #411
Merged
Merged
Conversation
✅ Deploy Preview for lustrous-melomakarona-3ee73e ready!
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
mmcky
force-pushed
the
bib/diamond1967
branch
from
November 11, 2026 08:44
7acb09b to
0ad73e4
Compare
Contributor
There was a problem hiding this comment.
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
Diamond1967todiamond1967. - 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
Contributor
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
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.
#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.mystalready holds the same work, with identical fields, underdiamond1967, cited in itsge_arrowlecture:Diamond1967(added in #408)entrepreneurial_stock_market, four timeslecture-python.mystdiamond1967ge_arrowThe lectures monorepo (
QuantEcon/lectures) merges the series' bibliographies into onequant-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, matchinglecture-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_marketandfinancial_structure_incentives, into the pool then passes its drift and pool checks.🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMXuHMiWb8victibwcU