monte_carlo#
Series: lecture-python-intro
File:
lectures/monte_carlo.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; one-sentence paragraphs. |
Math |
8/10 |
|
Code |
9/10 |
Unicode Greek ( |
JAX |
out of scope |
— |
Figures |
7/10 |
No |
References |
N/A |
no |
Links |
9/10 |
|
Admonitions |
9/10 |
2 solutions gated, dropdown, exercise-linked (qe-admon-001, -002, -005 OK). |
Issues#
Critical#
None found.
High severity#
None found.
Medium severity#
M7 — Uses
\mathop{\mathrm{Var}} S(line 101) instead of\mathbb V[S]. Count: 1 occurrence.[qe-fig-003] —
ax.set_title(title)on line 549 outside exercise context. Count: 1 occurrence.
Low severity#
W3 — “#### A routine using loops in python” (line 156) — “python” should be “Python”.
W1 — Some short two-sentence paragraphs.
[qe-fig-005] — No figures use
{figure}directive with:name:.
Strengths#
\mathbb E,\mathbb Pconsistently used (M7).Distribution
LN(\mu, \sigma)plain (M9 OK).Equation labels and references.
One-sentence paragraph style.
Unicode Greek in code.
Solutions all gated, dropdown, linked.
Recommended actions#
Capitalize “Python” in the H4.
Replace
\mathop{\mathrm{Var}}with\mathbb V.Move
set_title(title)on line 549 to figure metadata.