Skip to content

Quality process

A learner can’t vet explanations, and that includes the first learner. So everything original in Glassbox is built to be checkable, and a module goes public only when it passes all eight checks.

  1. Sources resolve. Every Learn link works and names exact sections, pages or timestamps. Automated: npm run check:links fetches every URL. For YouTube it confirms the video exists through oEmbed and records its title.
  2. Bridge note cited. About 400 words or fewer, and each claim links to its source. Automated: npm run check:notes counts the words and flags any substantial paragraph without a link.
  3. Tests catch real mistakes. Reference solutions pass, blank stubs fail every test, and 2–3 or more deliberately wrong solutions also fail. Automated: mlc qa applies each mutant in solutions/mutants.py and requires at least one test to fail.
  4. Math confirmed numerically. Every worked derivation is checked in code (references/derivations/), for example a hand-derived gradient against finite differences. Each derivation stepper names its check.
  5. Widget math tested. Each widget’s TypeScript core matches NumPy reference outputs (references/gen_fixtures.py → widgets/fixtures/, run by vitest).
  6. Independent review. A fresh reviewer who didn’t draft the module checks correctness, sources and clarity. Logged in site/src/data/reviews.json once its blocker and major findings are fixed; hover a ✓ for the reviewer and verdict.
  7. First-learner run. Abhiraj completes the module and logs time spent and every point of confusion (the learner log at the end of each module, exported from the progress page and brought into the repo with npm run log:import -- <file>). Each confusion becomes a fix before the module is marked stable; until then the table shows how many are left.
  8. Feedback path. Every page links to Report an issue, which opens a pre-filled GitHub issue.

Run all automated checks with npm run qa (add -- --offline to skip the link check).

Report generated 2026-12-05 07:30 UTC by npm run qa. — means the check does not apply to that module.

Module12345678Tests detail
0.1 How this course works✓✓✓—✓pendingpending✓5 tests · stub fails 5/5 · mutants caught 3/3
0.2 NumPy and PyTorch tensors✓✓✓—✓✓pending✓7 tests · stub fails 7/7 · mutants caught 7/7
0.3 Compute setup✓✓———pendingpending✓
1.1 Vectors and matrices as transformations✓✓✓✓✓✓pending✓9 tests · stub fails 9/9 · mutants caught 8/8
1.2 Eigenvectors, SVD, PCA✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 7/7
1.3 Gradients and matrix calculus✓✓✓✓✓✓pending✓10 tests · stub fails 10/10 · mutants caught 9/9
1.4 Probability and statistics✓✓✓✓✓✓pending✓9 tests · stub fails 9/9 · mutants caught 6/6
1.5 Information theory✓✓✓✓✓✓pending✓8 tests · stub fails 8/8 · mutants caught 6/6
1.6 Optimization✓✓✓✓✓✓pending✓8 tests · stub fails 8/8 · mutants caught 6/6
2.1 The learning setup: data, model, loss✓✓✓—✓✓pending✓9 tests · stub fails 9/9 · mutants caught 4/4
2.2 Linear regression✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 5/5
2.3 Perceptron and logistic regression✓✓✓✓✓✓pending✓9 tests · stub fails 9/9 · mutants caught 6/6
2.4 MLE, MAP and loss functions✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 6/6
2.5 Generalization and regularization✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 5/5
2.6 k-means, GMMs and EM✓✓✓✓✓✓pending✓8 tests · stub fails 8/8 · mutants caught 6/6
3.1 Shallow and deep networks✓✓✓—✓✓pending✓10 tests · stub fails 10/10 · mutants caught 5/5
3.2 Backprop and autograd✓✓✓✓✓✓pending✓20 tests · stub fails 20/20 · mutants caught 6/6
3.3 Optimizers✓✓✓✓✓✓pending✓10 tests · stub fails 10/10 · mutants caught 6/6
3.4 Initialization and normalization✓✓✓✓✓✓pending✓8 tests · stub fails 8/8 · mutants caught 6/6
3.5 Training in practice✓✓✓—✓✓pending✓16 tests · stub fails 16/16 · mutants caught 9/9
3.6 Convolutional networks✓✓✓✓✓✓pending✓23 tests · stub fails 23/23 · mutants caught 6/6
3.7 Residual networks✓✓✓—✓✓pending✓6 tests · stub fails 6/6 · mutants caught 5/5
3.8 Neural language models✓✓✓—✓✓pending✓9 tests · stub fails 9/9 · mutants caught 7/7
4.1 Tokenization✓✓✓—✓✓pending✓14 tests · stub fails 14/14 · mutants caught 6/6
4.2 Embeddings and language modeling✓✓✓✓✓✓pending✓9 tests · stub fails 9/9 · mutants caught 7/7
4.3 RNNs and their limits✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 6/6
4.4 Attention✓✓✓✓✓✓pending✓8 tests · stub fails 8/8 · mutants caught 6/6
4.5 The transformer block✓✓✓✓✓✓pending✓9 tests · stub fails 9/9 · mutants caught 7/7
4.6 Training a GPT✓✓✓—✓✓pending✓8 tests · stub fails 8/8 · mutants caught 7/7
5.1 GPUs and performance✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 10/10
5.2 Kernels and FlashAttention✓✓✓✓✓✓pending✓16 tests · stub fails 16/16 · mutants caught 9/9
5.3 Parallelism✓✓✓✓✓✓pending✓14 tests · stub fails 14/14 · mutants caught 8/8
5.4 Scaling laws✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 7/7
5.5 Data✓✓✓✓✓✓pending✓12 tests · stub fails 12/12 · mutants caught 15/15
5.6 MoE and long context✓✓✓✓✓✓pending✓9 tests · stub fails 9/9 · mutants caught 14/14
5.7 Inference✓✓✓✓✓✓pending✓13 tests · stub fails 13/13 · mutants caught 14/14
5.8 Supervised fine-tuning✓✓✓✓✓✓pending✓11 tests · stub fails 11/11 · mutants caught 14/14
5.9 Preference learning: RLHF and DPO✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 12/12
5.10 RL for reasoning✓✓✓✓✓✓pending✓15 tests · stub fails 15/15 · mutants caught 15/15
5.11 Specialization: LoRA and distillation✓✓✓✓✓✓pending✓10 tests · stub fails 10/10 · mutants caught 18/18
5.12 Evaluation✓✓✓✓✓✓pending✓13 tests · stub fails 13/13 · mutants caught 15/15
6.1 Autoencoders✓✓✓✓✓✓pending✓8 tests · stub fails 8/8 · mutants caught 24/24
6.2 Variational autoencoders✓✓✓✓✓✓pending✓9 tests · stub fails 9/9 · mutants caught 21/21
6.3 GANs and normalizing flows (brief)✓✓✓✓✓✓pending✓6 tests · stub fails 6/6 · mutants caught 19/19
6.4 ODEs and SDEs for generation✓✓✓✓✓✓pending✓8 tests · stub fails 8/8 · mutants caught 20/20
6.5 Diffusion and score matching✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 19/19
6.6 Flow matching✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 19/19
6.7 Guidance and conditioning✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 20/20
6.8 Latent diffusion and text-to-image✓✓✓✓✓✓pending✓6 tests · stub fails 6/6 · mutants caught 20/20
7.1 Reading papers✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 19/19
7.2 Experiments and ablations✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 23/23
7.3 Introduction to interpretability✓✓✓✓✓✓pending✓7 tests · stub fails 7/7 · mutants caught 24/24
7.4 Reproducing a paper✓✓✓✓✓✓pending✓6 tests · stub fails 6/6 · mutants caught 21/21
cap1 Capstone 1——✓——✓pending✓9 tests · stub fails 9/9 · mutants caught 7/7
cap2 Capstone 2——✓——✓pending✓7 tests · stub fails 7/7 · mutants caught 5/5
cap3 Capstone 3——✓——✓pending✓23 tests · stub fails 23/23 · mutants caught 8/8

Links: 193 unique URLs checked. All Learn links resolve and name a place to read. · Derivations: 56 passed in 1.34s · Widgets: Tests 340 passed (340)