MLGuerrillaStart M1 →
Free module·intermediate·M2·18 min read·Prereq: Module 1: Datasets & Evaluation

Observability & Traceability

The capability

What is observability and traceability?

Observability is how much you can learn about what a running system did, just from the data it recorded while it was running. With good observability, you can answer a new question about last Tuesday’s failed run by reading what it recorded, without writing any new code and without running it again. Traceability is the part of observability that follows one request through every step it touched, so you can start from a wrong answer at the end and work your way back to the step that produced it, and to the exact input that step received.

An AI system needs both of these more than most software does, because when a model gets something wrong, the usual signals don't change. If a web server breaks, what you get is an error or a timeout, and you see it on a dashboard. When a model breaks, it gives you back a well-formed wrong answer with a success status and a normal response time, so your error rates and uptime charts all look fine. On top of that, the same input can give you a different answer on the next run, so running it again won't always reproduce the bug. What you're left with is the record of the run itself, and the rest of this module is about building that record and learning how to read it.

It starts from one failure, which is my scroll down button detector missing buttons, and builds up from there to tracing a full multi-step agent.

Keep reading

The rest of this lesson is free with an account

Create a free account to read the remaining 15 sections. It takes about twenty seconds and there's nothing to pay. The same account opens the slide decks and CV reviews.

  1. 02Knowing what failed while the why stays hidden
  2. 03A trace is one run, broken into steps
  3. 04Every trace tool records the same shape
  4. 05Log enough to debug a step without re-running it
  5. 06The trace proves what ran, and the reasoning is the model’s account of it
  6. and 10 more

That's the last one written so far

Pick your next module from the board.

All modules →