~/talk

TDD shouldn't be TDDious

Talkat PyData Warsaw 2019 · 2019-12-12..12-13· [testing, developer-experience]
links:none on file
slides:none on file

Shows concretely how notebook exploration becomes a tested pipeline: extracts a Pokemon notebook into small functions, uses pandas and CSV fixtures, stitches stages with pytest-style fixtures, and compares outputs to a snapshot of model predictions so changes are detectable. Claims: tests make refactoring safe, reveal mismatches between notebook and production code, and enforce determinism via random_state. Demonstrates a model that yields 96% accuracy and encodes a 95% threshold to guard regressions.

AI-written summary · about

  1. 0:00TDD in data engineering
  2. 1:34From test plans to TDD
  3. 3:03BBC iPlayer and TDD
  4. 4:47TDD in data science
  5. 6:15Data in Pokémon example
  6. 7:59What TDD really means
  7. 11:13Notebook breakdown with TDD
  8. 14:10Refactoring with small tests
  9. 16:42Pipeline testing step by step
  10. 19:52Power of test suite
  11. 22:21Model accuracy testing
  12. 24:54Model testing as game
  13. 26:41Bad data handling
  14. 27:47TDD shouldn’t feel burdensome
  15. 28:09Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.