Repository navigation
Repair the eq:Kalman102 reference in cross_product_trick - #1141
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Human verification is still needed to confirm that the corrected MyST role, equation label, and cross-reference render correctly in the lecture build.
No open issues 🎉
What changed in this PR
This PR repairs the malformed MyST equation reference in cross_product_trick.md, allowing the link to equation eq:Kalman102 to render correctly.
Changes:
- Replaces the closing brace in the
{eq}reference with the required backtick. - Preserves the existing equation label and surrounding lecture content.
| File | Description |
|---|---|
| lectures/cross_product_trick.md | Corrects the malformed eq:Kalman102 equation cross-reference syntax. |
Review effort: Lite (adaptive)
📖 Netlify Preview Ready!Preview URL: https://pr-1141--sunny-cactus-210e3e.netlify.app Commit: 📚 Changed LecturesBuild Info
|
The {eq} role ended with a brace instead of a backtick, so the
reference to eq:Kalman102 didn't render. The label is defined a few
lines above.
Found while validating a build of the lecture from QuantEcon/lectures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMZoSvoQTbzkdmZiMnd
The label was written after a bare align* environment, which MyST
does not label, so it showed on the page as the text "(eq:Kalman102)"
and, once the role was repaired, the reference had nothing to find.
Writing the equation as $$ \begin{aligned} ... \end{aligned} $$
(eq:Kalman102), as the other lectures do, numbers it and lets the
reference resolve.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMYi9AZHg29XQAH3w7N
mmcky
force-pushed
the
fix/cross-product-trick-eq-role
branch
from
November 22, 2026 21:51
95e865b to
1af7195
Compare
Contributor
Author
|
Full validation at 1af7195 (rebased onto main 220fb97; main has since moved only by
|
mmcky
pushed a commit
to QuantEcon/lectures
that referenced
this pull request
Nov 23, 2026
The nightly of 2026-11-23 re-copies 19 pool lectures whose canonical copy moved upstream: intermediate 12 (QuantEcon/lecture-python.myst#1144, QuantEcon/lecture-python.myst#1147 and QuantEcon/lecture-python.myst#1141), advanced 5 (QuantEcon/lecture-python-advanced.myst#419, QuantEcon/lecture-python-advanced.myst#421 and QuantEcon/lecture-python-advanced.myst#422) and intro 2 (QuantEcon/lecture-python-intro#876). In the merged bibliography only the header's jax input hash changes (QuantEcon/lecture-jax#377); its 1011 entries are unchanged. In sync/ledger.yml only pins and digests change. Checked by mini:project-monorepo's recompute from a clean clone at the base, which gives the head's tree, and by the organiser's independent review: each lecture is byte-identical to its upstream copy at the new pin once the recorded asset rewrites are applied, no bibliography key is missing and no cross-reference is broken. The site-build, pool-check and drift-check runs on the head were green before merge. Lecture content: reviewed by @mmcky ("Approve runs, then merge") in the organiser session, at head a815b36. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
In
lectures/cross_product_trick.mdline 133, the{eq}role ends with a brace instead of a backtick ({eq}`eq:Kalman102}), so the reference to the equation doesn't render. The label is defined at line 121. This ends the role with a backtick.Repairing the role exposed a second problem: the label was written after a bare
align*environment, which MyST doesn't label, so the page showed "(eq:Kalman102)" as text and the reference had nothing to resolve to. The second commit writes the equation as$$ \begin{aligned} … \end{aligned} $$ (eq:Kalman102), as the other lectures do, which numbers it and lets the reference resolve.This changes lecture content, so it needs a person's review before it merges.
Found while validating a build of lecture-dp from QuantEcon/lectures.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMYi9AZHg29XQAH3w7N