~/talk

Unit Testing Data with Marbles

Talkat PyData Amsterdam 2018 · 2018-05-25..05-27· [testing, developer-experience]
links:none on file
slides:none on file

Argues that unit testing is a practical framework for validating data assumptions and shows a working Python extension that does it: Two Sigma's Marbles installs with pip and plugs into unittest, providing semantically rich assertions, captured local variables, author notes (format strings), and assertion logging so failures carry the context needed to act. Uses concrete checks (e.g. longest confirmed lifespan 122 years 163 days) and reports that Marbles produces human‑readable failure messages that help diagnose and triage data breaks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48Data assumptions pitfalls
  3. 5:21Unit testing needs data
  4. 10:21Python data validation tests
  5. 12:30Unit test for data assumptions
  6. 15:23Data unit testing challenges
  7. 18:58Recovering test failure context
  8. 20:27Marbles for failure messages
  9. 23:44Customizing Marbles for data
  10. 27:59Test failures as documentation
  11. 29:04Marbles open source next steps
  12. 31:43Test severity and scheduling
  13. 33:53Temporal data logging
  14. 35:17Q&A fairness and bias
  15. 37:11Q&A scaling failure management
~/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.