Repository navigation
Repair the eq:Kalman102 reference in cross_product_trick - #80
Merged
Merged
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Because the change affects published lecture content and equation cross-reference rendering, human review of the built output and source parity is still required despite automated verification of the delimiter fix.
No open issues 🎉
What changed in this PR
Repairs the malformed MyST equation reference in the cross-product Kalman filtering lecture so the link to eq:Kalman102 renders correctly.
Changes:
- Replaces the closing brace with a backtick in the
{eq}role. - Preserves the existing equation label and surrounding lecture content.
| File | Description |
|---|---|
| lectures/cross_product_trick.md | Corrects the malformed eq:Kalman102 equation reference syntax. |
Review effort: Lite (adaptive)
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 <[email protected]>
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 <[email protected]>
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
db84d17 to
b536fa3
Compare
Contributor
Author
|
Full validation at b536fa3 (rebased onto main 5aaa712; main has since moved only by
|
mmcky
added a commit
to QuantEcon/lecture-python.myst
that referenced
this pull request
Nov 23, 2026
cross_product_trick's reference to eq:Kalman102 had a typo, a closing brace where the backtick should be ({eq}`eq:Kalman102}), so the build reported "equation not found" and the reader saw broken markup. This corrects the role, and turns the labelled bare align* block into a $$ \begin{aligned} … \end{aligned} $$ (eq:Kalman102) block, so the equation is numbered (86.1) and the reference links to it. The change is byte-identical to lecture-dp's copy of the lecture (QuantEcon/lecture-dp#80).
Fully validated: fresh no-cache builds of this branch and of main, compared page by page. The warning is gone; prose changes only in cross_product_trick and the build-status page; the other pages that differ, differ only in run-to-run outputs.
Reviewed by @mmcky on GitHub, who approved it for merge in the infrastructure organiser session, after the organiser's fresh review of the identical change.
Co-authored-by: Claude Opus 5.5 <[email protected]>
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.lecture-dp carries an identical copy of this lecture; this is the same change as QuantEcon/lecture-python.myst#1141.
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