Cheat sheets

One page each, code that runs.

Every code block on a sheet was executed when the sheet was built, and its output is printed under it. Read the sheet here or take the PDF to your desk.

  • Bayesian · PyMC · comingPyMC model checking on one pageThe five sampler checks, their thresholds, what each failure usually means, and the three model-checking tools that come after them.
  • Modeling · partial poolingHierarchical models: how much to poolComplete, no and partial pooling side by side, the one plot that shows shrinkage, and the centered and non-centered forms with when to use each.Read the sheetPDF
  • Shiny · RShiny module state patternsReturn values, reactive arguments, session$userData and an R6 store, each with the one case it fits and the one it does not.Read the sheetPDF
  • LLM toolingThe querychat data descriptionA fill-in template for the schema and business rules that make text-to-SQL reliable, with the three test questions to run before handover.Read the sheetPDF
  • Production · GitHub ActionsGame-day pipeline checklistWhat a scheduled pipeline needs before it runs without you: the schedule, the secrets, the failure path, the log and the message that reaches a person.Read the sheetPDF
Keep up

One email when something new arrives.

A short welcome note, a few session picks over two weeks, then only the updates you signed up for. Reply stop any time.