Build evidence for senior work
170 advanced lessons (including 34 integration projects), plus 86 companion Labs extend the Python, mathematics, ML and LLM foundations. Examples execute with real Python. PyTorch exercises run in the app; compatible lessons and Labs run here.
Completing a course does not certify seniority. Use the checks to establish concrete behavior, then explain the design and its limits. The production work below requires real services, datasets, model providers or hardware and is not claimed to have run on an iPhone.
Senior Python engineering
Explain ownership, preserve invariants through failures, and review a service beyond its happy path.
Foundation
Python deeperTesting in PythonArchitecture in PythonConcurrency and async
Advanced study
- Python: ownership and concurrency — 12 lessons
- Python: transactions and resilient services — 12 lessons
- Pydantic: validate real data — 20 lessons
- FastAPI and HTTPX in practice — 14 lessons
- Testing real Python components — 10 lessons
Integration projects
- Project: a tenant-scoped transactional event importer
- Project: bounded jobs with replay validation and selective retries
Review your evidence
- Demonstrate rollback, conflicting replays and tenant isolation using database state.
- Explain task lifetime, bounded creation, cancellation and which effects are safe to retry.
- Review API compatibility, typing, profiling, security boundaries, operational metrics and recovery.
Required production practice
- Operate a multi-process service with a real database, schema rollout, load tests and failure injection.
- Build and review a package and CI pipeline, investigate an incident, and document a design tradeoff with another engineer.
Senior machine-learning engineering
Produce an auditable experiment, justify uncertainty and decide whether a model has enough evidence for a controlled rollout.
Foundation
Data and notebooksThe mathematics of neural networksMachine learning with PyTorchMachine learning in practiceML: evaluation and optimization
Advanced study
- ML: statistical evaluation — 12 lessons
- ML: data contracts and deployment decisions — 12 lessons
- Deep learning: training correctness — 8 lessons
- ML systems: experiments, training and rollout projects — 12 lessons
- PyTorch: training systems — 9 lessons
- Pretrained transformers & LoRA projects — 6 lessons
- Robust training & uncertainty engineering — 8 lessons
Integration projects
- Project: fit, select and evaluate without leaking the test set
- Project: join delayed outcomes before measuring model error
- Project: fit, select, refit and serialize a ridge workflow
- Project: nested group validation with auditable outer predictions
- Project: walk-forward forecasts with delayed labels and a purge gap
- Project: train a stacking model from out-of-fold base predictions
- Project: train logistic regression and restore the best validation checkpoint
- Project: make a replay-safe, cohort-aware rollout monitor
- Project: train, validate and export a nonlinear classifier
- Project: resume AdamW, sampling and dropout exactly
- Project: learn and merge a frozen-base low-rank adapter
- Project: Fine-tune pretrained BERT
- Project: Transfer sentiment across domains
- Project: Compare full tuning and LoRA budgets
- Project: audit ERM and Group DRO under a spurious correlation
- Project: train uncertainty and calibrate independent prediction intervals
Review your evidence
- Separate group/time splits, preprocessing, calibration, model selection and final evaluation.
- Defend baselines, uncertainty, error costs, subgroup results and data availability at prediction time.
- Reproduce the artifact and explain monitoring, delayed labels, drift, serving budgets and rollback.
Required production practice
- Run a real dataset pipeline with versioned data, an experiment tracker and an independently held-out evaluation.
- Measure a real serving system; run accelerator/distributed training, checkpoint recovery and capacity tests on appropriate hardware.
Senior AI and LLM engineering
Build permission-aware retrieval and a tool executor whose authority, budget and evaluation do not depend on model obedience.
Foundation
The mathematics of neural networksMachine learning with PyTorchAI: language models from the insideWorking with AI toolsAI: building blocks
Advanced study
- AI: retrieval, tool boundaries and evaluation — 12 lessons
- ML: statistical evaluation — 12 lessons
- ML: data contracts and deployment decisions — 12 lessons
- Deep learning: training correctness — 8 lessons
- AI systems: retrieval, execution and evaluation projects — 12 lessons
- PyTorch: training systems — 9 lessons
- Transformers: implementation and training — 9 lessons
- Pretrained transformers & LoRA projects — 6 lessons
- Robust training & uncertainty engineering — 8 lessons
- Preference optimization & sparse AI engineering — 8 lessons
Integration projects
- Project: assemble permission-scoped lexical retrieval context
- Project: authorize and deduplicate approved tool execution
- Project: rank an authorized corpus with real BM25 statistics
- Project: apply atomic versioned index updates and revocations
- Project: assemble and verify a permission-scoped RAG response
- Project: validate, authorize and replay a dependency-aware tool plan
- Project: simulate bounded continuous batching with deadlines
- Project: gate an AI release with paired coverage, uncertainty and hard limits
- Project: build a pre-norm decoder block and audit its gradients
- Project: train and reload a tiny causal language model
- Project: train a padding-safe transformer classifier
- Project: Train query/value LoRA adapters
- Project: Resume real transformer training exactly
- Project: Merge and deploy a trained BERT adapter
- Project: train and reload a local DPO policy with LoRA ownership
- Project: train sparse experts and audit capacity under load
Review your evidence
- Evaluate retrieval separately from answer quality, citation support and end-to-end task success.
- Demonstrate tenant filtering, exact-argument approval, replay handling and bounded tool execution.
- Explain prompt injection limits, cache permissions, token accounting, regression evidence and failure recovery.
Required production practice
- Evaluate a real local or hosted LLM on versioned, representative and adversarial cases; report quality, latency and cost.
- Operate retrieval/index updates and a controlled model or prompt rollout with observability, human review and rollback.
Move between a lesson and its Lab
The 86 companion Labs replay your own implementation, compare it with independent checks and link back to the corresponding lesson. Larger projects replay their main orchestration function; helper computations execute and are checked separately. The iOS app provides the same links in both directions. A passing trace proves the listed cases, not arbitrary production behavior.