autodiff#
Series: lecture-python-programming
File:
lectures/autodiff.mdAudit date: 2026-05-28
Categories audited: writing, math, code, figures, references, links, admonitions (JAX out of scope)
Overall score: 8.7 / 10
Priority: NONE
Score breakdown#
Category |
Score |
One-line note |
|---|---|---|
Writing |
8/10 |
Most H3 use sentence case; two H2s revert to Title Case. |
Math |
8/10 |
Clean math; no transpose, vectors, or probability content. |
Code |
9/10 |
|
JAX |
out of scope |
JAX-based lecture. |
Figures |
8/10 |
All figures are code-generated via matplotlib; no |
References |
N/A |
No citations. |
Links |
10/10 |
Uses |
Admonitions |
9/10 |
|
Issues#
Critical#
None found.
High severity#
None found.
Medium severity#
[qe-writing-006] — Two H2 section headings use Title Case rather than sentence case. Examples: line 295
## Gradient Descent, line 460## Exercises. Count: 2 occurrences.
Low severity#
[qe-writing-001] — A handful of paragraphs combine two short sentences with the
+++cell separator instead of staying as single-sentence units; mostly acceptable.[qe-fig-005] — Plots within code cells could benefit from
mystnbfigure metadata withname:for downstream cross-referencing; currently no figures are named.
Strengths#
Lecture title “Adventures with Autodiff” follows qe-writing-006.
Most section headings already use sentence case (e.g., “What is automatic differentiation?”, “Some experiments”).
Math display blocks use proper
$$and clean LaTeX; noalign, no\tag.Greek unicode (α, β, σ, ϵ, λ, Δ) consistently used in code per qe-code-002.
Single
!pip installat top withhide-outputper qe-code-003.Solution correctly uses
:class: dropdownper qe-admon-002 and:label:matching exercise per qe-admon-005.
Recommended actions#
Rename
## Gradient Descentto## Gradient descentand## Exercisesconsistency check.Optionally add
name:metadata to inline figures for cross-referencing.