prob_dist#
Series: lecture-python-intro
File:
lectures/prob_dist.mdAudit date: 2026-05-28
Categories audited: writing, math, code, figures, references, links, admonitions (JAX out of scope)
Overall score: 8.1 / 10
Priority: LOW
Score breakdown#
Category |
Score |
One-line note |
|---|---|---|
Writing |
9/10 |
H1 Title Case OK; H2/H3/H4 sentence case; clean one-sentence paragraphs. |
Math |
9/10 |
|
Code |
8/10 |
|
JAX |
out of scope |
— |
Figures |
5/10 |
Axis label “S” capitalised on many plots (lines 128, 141, 244, 323, etc.) — |
References |
N/A |
no |
Links |
N/A |
no cross-series links |
Admonitions |
9/10 |
1 solution gated, dropdown, exercise-linked. |
Issues#
Critical#
None found.
High severity#
None found.
Medium severity#
M3 — Uses
\mathbb 1for indicator instead of\mathbb{1}(same symbol, slightly inconsistent style); generally OK.[qe-fig-006] — Axis label
'S'appears many times (lines 128, 141, 244, 323, etc.);Sis a math symbol that’s OK if rendered, but as plain string it reads as title-case. Considerr'$S$'. Count: 10+ occurrences.
Low severity#
W1 — Some short two-sentence paragraphs.
[qe-fig-005] — No figures use
{figure}directive with:name:.
Strengths#
\mathbb P,\mathbb E,\mathbb Vconsistently used (M7 fully compliant).\mathbb 1indicator function explained (M3 compliant).Density
plowercase, CDFFuppercase (M10 OK).Section headings sentence case.
Bold for definitions (probability mass function, mean, variance, cumulative distribution function, etc.).
yfinanceinstall at top withhide-output(qe-code-003 OK).Unicode Greek in code.
Recommended actions#
Render axis-label symbols as math:
set_xlabel(r'$S$')instead of'S'.