A laboratory companion by Jason Karpeles. Choose a mathematical question, inspect the calculation, then change an assumption or use your own documented inputs.
Start with one successful calculation · Follow a complete release controller
Illustrated readers · Standalone workbook · Separate answers · Notation guide · Setup and recovery · Release console mock-up (Chapter 18)
These pages are usable without Python or an account. To change and execute code, use the notebook launcher. To apply a method with an assistant, install the chapter skills and master skill through the launcher.
Compare continuous evidence and thresholded scores without attributing a mechanism.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compute the signed four-cell contrast, positive amount, and valid share.
Notebook · Skill · Illustrated reader · Input example · Solutions
Fit a declared curve on development data and score a separate test.
Notebook · Skill · Illustrated reader · Input example · Solutions
Return reachable states, a permitted path, and sinks under frozen permissions.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compose a chooser and tool kernel, then separate marginal from trajectory reliability.
Notebook · Skill · Illustrated reader · Input example · Solutions
Return an expected-utility choice and a break-even value under declared stakes.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compute a finite-horizon optimal policy and its value by backward induction.
Notebook · Skill · Illustrated reader · Input example · Solutions
Update a belief and calculate gross and net one-step information value.
Notebook · Skill · Illustrated reader · Input example · Solutions
Execute A* and audit supplied heuristic admissibility and cost.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compute option returns with duration discounting and explicit completion.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compare greedy, UCB, and Thompson choices in a declared stationary bandit.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compare Monte Carlo, TD(0), and accumulating TD(lambda) updates on one trajectory.
Notebook · Skill · Illustrated reader · Input example · Solutions
Train a seeded softmax policy with REINFORCE and evaluate a separate success predicate.
Notebook · Skill · Illustrated reader · Input example · Solutions
Calculate uniform transition error, actual fixed-policy finite values, and conditional bounds.
Notebook · Skill · Illustrated reader · Input example · Solutions
Choose fresh valid records and inspect action preservation under compression.
Notebook · Skill · Illustrated reader · Input example · Solutions
Separate candidate coverage from actual selector success and choose a feasible allocation.
Notebook · Skill · Illustrated reader · Input example · Solutions
Separate effects from acknowledgements and price a next recovery step.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compare coordinate, semantic, and version-bound action contracts.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compute diagonal, cross-play, and deployment-mixture performance.
Notebook · Skill · Illustrated reader · Input example · Solutions
Enumerate bounded message worlds and distinguish agreement from local knowledge.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compare Braess equilibrium, social optimum, tolls, and overhead.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compare penalty choice with hard authorization and expected-risk constraints.
Notebook · Skill · Illustrated reader · Input example · Solutions
Replay a fictitious attack trace against capability, provenance, and review checks.
Notebook · Skill · Illustrated reader · Input example · Solutions
Report observed denominators, matched differences, uncertainty assumptions, and target mixtures.
Notebook · Skill · Illustrated reader · Input example · Solutions
Select on development and check only the frozen winner against a declared guard contract.
Notebook · Skill · Illustrated reader · Input example · Solutions
Separate bank oracle coverage, actual choice, and permission-filtered success.
Notebook · Skill · Illustrated reader · Input example · Solutions
Compute a review queue diagnostic and identify required handoff packets and release blockers.
Notebook · Skill · Illustrated reader · Input example · Solutions