lagrangian_lqdp#
Series: lecture-dp
File:
lectures/lagrangian_lqdp.mdAudit date: 2026-05-28
Categories audited: writing, math, code, jax, figures, references, links, admonitions
Overall score: 6.0 / 10
Priority: HIGH
Score breakdown#
Category |
Score |
One-line note |
|---|---|---|
Writing |
6/10 |
Several Title-Case H2 headings. |
Math |
3/10 |
Apostrophe + |
Code |
6/10 |
Two |
JAX |
out of scope |
not a JAX lecture. |
Figures |
9/10 |
No matplotlib titles; no spine issues; no figsize calls. Clean. |
References |
8/10 |
Single |
Links |
4/10 |
Four raw markdown links to |
Admonitions |
N/A |
No exercises / proofs / notes. |
Issues#
Critical#
None found.
High severity#
[qe-math-002] — Apostrophe
'and^\primeused as transpose throughout. Lines: 76, 87, 94, 103, 107, 113, 125, 132, 161-162, 173, 181, 216-217. Count: 60+ occurrences.[qe-writing-006] — Multiple Title Case H2/H3 headings:
## Undiscounted LQ DP Problem(70),## State-Costate Dynamics(236),## Reciprocal Pairs Property(258),## Other Applications(669),## Discounted Problems(696),### Transforming States and Controls to Eliminate Discounting(702),### Lagrangian for Discounted Problem(780).
Medium severity#
[qe-math-003] —
pmatrixused instead ofbmatrix. Count: 6pmatrixblocks.[qe-math-001] —
\crrow separator used insidealignedblocks instead of\\. Lines: 172-175, 208-211, 216-217, 223-225, etc.[qe-link-002] — Four raw markdown links to other QuantEcon series instead of
{doc}intersphinx form:python-advanced.quantecon.org/lu_tricks.html,python-advanced.quantecon.org/classical_filtering.html,python-advanced.quantecon.org/dyn_stack.html(×2),python.quantecon.org/re_with_feedback.html. Lines: 61, 66, 676, 827.[qe-code-005] — Uses
%%timeitIPython magics for benchmarking. Lines: 662, 667. Style guide prefersquantecon.timeit.
Low severity#
[qe-writing-001] — Several multi-sentence paragraphs.
[qe-writing-009 (proposed)] — Smart quotes ’ used in narrative.
Strengths#
Lecture title in correct Title Case.
Definitions bolded (“invariant subspace”, “symplectic”, “reciprocal pairs”, “states”, “costates”, “algebraic matrix Riccati”).
Many equation labels and
{eq}references used cleanly (24 labels).alignedproperly inside$$(mostly qe-math-006 compliant).No
\tag, no bold vectors, noalign-inside-$$issues.pip install at top.
No matplotlib titles, no figsize, no axis-label or spine issues.
Recommended actions#
Replace every
'and^\primeused as transpose with^\top.Replace
pmatrixwithbmatrix.Convert H2/H3 headings to sentence case.
Replace
\crwith\\insidealigned.Convert raw
python-advanced.quantecon.org/python.quantecon.orgmarkdown links to{doc}intersphinx references.Replace
%%timeitwithquantecon.timeitcontext.