Week 3: Rigorous Measurement of Output Success and Failure · Lesson 3.1

Grounding evaluation in user value

Which of our technical metrics predict what users do, and how much weight should each one get?

← All lessons
Browse lessons

Free, self-paced. Read the deck with its speaker notes, work the practice from the slides, then take the week's quiz for a certificate.

Slide 1 of 17

Speaker notes

Welcome to Week 3. In Week 2 we built the instrumentation for the AI Data Analyst, so every question a user asks now leaves a trace behind it. This week we start using those traces to measure quality properly. And the first question is one a PM will ask you sooner or later: your dashboard looks good, but do users actually find this thing useful? Today we split metrics into the ones that are fast to compute and the ones that reflect what users did, and then we check whether the fast ones predict the slow ones. We use a correlation study on production traces to do that check. By the end you'll be able to say which metrics are allowed to block a release, which ones you track and try to improve, and which ones you only look at when you're debugging.

About this lesson

Your dashboard says 92% SQL correctness, 87% retrieval accuracy and a 4.2% hallucination rate. The PM asks whether users find the AI Data Analyst useful, and you can’t answer, because none of those numbers has been checked against anything a user did.

This lesson splits metrics into three layers. Leading metrics like SQL correctness are fast and computed offline on a test set. Lagging metrics like edit rate, abandon rate and satisfaction come from real users in production. Business metrics like analyst time saved move slowest of all. A leading metric is a proxy, and it only earns a say in decisions once you’ve shown it predicts a lagging one.

You check that link with a correlation study on production traces, and the strength of the correlation decides the metric’s role. Above 0.7 it can block a release. Between 0.5 and 0.7 you track it and try to improve it. Below 0.5 you use it for debugging only. You predict which of three candidate metrics tracks satisfaction most closely, see an example result, and walk through one trace where the query ran, rows were missing, and the user was still satisfied. You also see metrics that are easy to log and predict nothing, and what happens when a team optimizes one of them.

The practice is a correlation table and a Leading-to-Lagging Metric Map. You put the six example metrics in one table with their correlations, intervals and tiers, decide which one could block a release, and fill in the map for one metric from your Lesson 1.3 failure taxonomy.

Go deeper with AI Analytics for Everyone

5-week course: metrics, root cause analysis, experimentation, and storytelling. Think like a Product Data Scientist.

Book 1-on-1 with Shane

30-minute AI evals Q&A. Talk through your specific evaluation challenges and get hands-on guidance.

Finished all 36 lessons? Take the exam and get your free AI Evals certification.

→