unpleasant#
Series: lecture-python-intro
File:
lectures/unpleasant.mdAudit date: 2026-05-28
Categories audited: writing, math, code, figures, references, links, admonitions (JAX out of scope)
Overall score: 6.6 / 10
Priority: MEDIUM
Score breakdown#
Category |
Score |
One-line note |
|---|---|---|
Writing |
6/10 |
Several H2 use Title Case (W3); some multi-sentence paragraphs. |
Math |
7/10 |
Uses |
Code |
8/10 |
Unicode Greek ( |
JAX |
out of scope |
— |
Figures |
6/10 |
|
References |
8/10 |
4 |
Links |
9/10 |
|
Admonitions |
9/10 |
|
Issues#
Critical#
None found.
High severity#
None found.
Medium severity#
W3 — “## Monetary-Fiscal Policy” (line 78), “## Example Calculations” (line 303) use Title Case; should be sentence case.
W1 — Several multi-sentence paragraphs (lines 26–30, 33–35, 78–80, 308–311).
W8 —
{\mathcal S}(lines 289, 292, 297) used for a mapping where simplerSwould do.[qe-fig-001] —
figsize=on lines 475, 564. Count: 2 occurrences.[qe-fig-003] —
ax.set_title(titles[i])(line 482) outside exercise context. Count: 1 occurrence.
Low severity#
W2 — H1 has trailing whitespace.
W7 — Inconsistent capitalization in subsections (e.g. “Before time \(T\)”).
[qe-fig-005] — No figures use
{figure}directive with:name:.
Strengths#
Equation labels and
{eq}references used throughout.alignedused inside$$correctly (M12).prf:remark/prf:algorithmdirectives used for structure (qe-admon-004 OK).Bold for definitions (fiscal policy, monetary policy, open market operation).
Unicode Greek in code.
{doc}cross-references used (qe-link-002 OK).Solutions all gated, dropdown, linked.
Recommended actions#
Convert “Monetary-Fiscal Policy” and “Example Calculations” to sentence case.
Consider replacing
{\mathcal S}withSper W8.Move
set_titleon line 482 to mystnb/figure metadata.Remove
figsize=overrides.Split multi-sentence paragraphs.