~/talk

Advanced Software Testing for Data Scientists

Talkat PyData New York City 2019 · 2019-11-04..11-06· [testing, machine-learning]
links:none on file
slides:none on file

Uses a Kickstarter dataset and a scikit-learn pipeline of transformers (category extraction, currency normalization to USD) and shows concrete bugs found by tests — notably a falsifying example where a double slash breaks splitting discovered with property-based inputs. Demonstrates unit testing with pytest, richer diagnostics via marbles, dataframe equality with pandas.testing.assert_frame_equal, coverage with pytest‑cov, Hypothesis strategies that generate JSON strings, and test doubles/mocking for flaky external services.

AI-written summary · about

  1. 0:00Introduction
  2. 9:58Functional vs non-functional
  3. 15:16Testing crucial for data scientists
  4. 22:25Purpose of automated testing
  5. 24:33Python testing tools overview
  6. 31:37Unit test and PI test writing
  7. 39:36Testing pandas dataframes
  8. 42:57Parameterized tests
  9. 48:21Best practices for tests
  10. 57:17Test coverage and CI
  11. 1:03:04Manual vs property-based
  12. 1:14:09Generating inputs with Hypothesis
  13. 1:25:39Handling dependencies with test doubles
  14. 1:29:10Conclusion
~/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.