five_preferences#
Series: lecture-python-advanced.myst
File:
lectures/five_preferences.mdAudit date: 2026-05-28
Categories audited: writing, math, code, figures, references, links, admonitions
Overall score: 6.8 / 10
Priority: MEDIUM
Score breakdown#
Category |
Score |
One-line note |
|---|---|---|
Writing |
7.5/10 |
Title in Title Case; sentence-case headings; many bolded keyword definitions. |
Math |
6.5/10 |
|
Code |
6/10 |
18 spelled Greek vs 12 unicode; no install cell (scipy/numpy only). |
JAX |
N/A |
not a JAX lecture |
Figures |
5/10 |
1 |
References |
8/10 |
16 |
Links |
9/10 |
No cross-series URL links; self-contained. |
Admonitions |
N/A |
no exercises, solutions, or proof-family directives. |
Issues#
Critical#
None found.
High severity#
[qe-fig-001] —
figsize=set 13 times — systemic. Count: 13 occurrences.
Medium severity#
[qe-math-011 (proposed)] —
{\mathcal N}/{\cal N}used as Normal distribution. Example:lectures/five_preferences.md:693,:1897. Count: 2 occurrences.[qe-writing-005] — Heavy decorative bolding for terms like
**risk**,**uncertainty**,**uncertainty aversion**,**Knightian uncertainty**,**Remark:**mixes definitional and emphasis use.[qe-fig-003] — 1
ax.set_titleoccurrence.[qe-code-002] — Mixed spelled/unicode Greek (18 spelled vs 12 unicode).
Low severity#
[qe-math-004] —
\mathbf{T}in plot label at L556.Backtick-and-apostrophe quotation style and single-quoted
'penalty parameter'(L162, L469) is unusual; prefer markdown italics.
Strengths#
Title in Title Case (qe-writing-006).
Sentence-case headings (qe-writing-006).
\begin{bmatrix}used (qe-math-003).Sequences in curly brackets (qe-math-005).
Equation labels and
{eq}references (qe-math-007).Some figures use
mystnbcaptions andname:fields (qe-fig-005).
Recommended actions#
Replace
{\mathcal N}/{\cal N}withN(qe-math-011, proposed).Reduce decorative bolding; use italics for non-definition emphasis (qe-writing-005).
Remove unnecessary
figsize=settings (qe-fig-001).Remove
ax.set_titlecall (qe-fig-003).Standardise on unicode Greek in code (qe-code-002).