~/talk

Testing for Ghosts in the Machine: Assuring 'Good Enough' Software Quality in AI-based systems

Talkat PyCon Italia 2024 · 2024-05-22..05-25· [testing, ai-assisted-development]
links:none on file
slides:none on file

A pragmatic checklist for chatbot QA: nondeterministic LLM outputs and slow, rate-limited OpenAI calls break standard unit tests, so use lightweight assertions plus a fuzzy string diff matcher for tolerated differences, mock external calls and verify mock functions are invoked, lower temperature and lock prompts, and run semantic checks with DeepEval (relevancy, faithfulness, contextual precision) — one example run takes ~9s. Expect ongoing maintenance (models change, APIs deprecate) and avoid trying to run thousands (e.g. 3,000) live API tests in parallel.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:51Problem with AI chatbots
  3. 3:57Real-world AI failures
  4. 5:23Personal experience projects
  5. 6:26Key challenges in testing
  6. 8:54Deciding testing scope
  7. 9:57Technology adoption curve
  8. 12:03Basic testing approaches
  9. 13:29Using DeepEval for metrics
  10. 18:07Testing functions and prompts
  11. 20:35Key takeaways and advice
  12. 22:19Q&A session
~/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.