Your AI feature works on your laptop. But how good are its answers, and would you catch it if the next change made them worse? In this course, you’ll measure that with numbers you produce yourself, never with “it seems better”: numbers that tell you how often it’s right on the cases you tested, not that it can’t be wrong.
The feature is the Ridgeline Huts trail-conditions assistant. It answers hikers’ questions from the wardens’ dated condition reports, so a wrong answer can send someone to a river above knee height. The wardens keep asking how they can know it’s right, and every lesson answers them with a number you measured.
What You’ll Learn
By the end of this course, you’ll be able to:
- Build an eval set from real questions that covers the cases that matter.
- Grade free-text answers with checks and a model judge you’ve checked against people.
- Tell a real improvement from run-to-run noise.
- Run the evals on every change.
The Project: The Valbrune Ford Complaint
In the project, the wardens bring a complaint: the assistant told a hiker the Valbrune ford was fine two days after a warden had reported the river high. From last season’s three hundred real hiker questions, you’ll build the season’s eval set, check a judge against your own grades, compare two prompt versions over five runs each, and decide which one ships. Then you’ll explain your decision to the warden in a conversation with your AI mentor.
Before You Start
You should already have built an AI feature in JavaScript: calling a model through a small module, writing prompts, checking structured output with Zod, answering from documents, and writing a first eval set. The course recaps that first eval set before going further.
You’ll need Node.js 26, a terminal, any editor, and an API key for one model provider. The project’s eval runs call your provider on that key. With OpenAI, they cost about $4 in total, and with Anthropic, whose list prices are higher, expect several times that. The project lists each step’s cost, so set a spending limit on the key from that list.
How the Course Works
The lessons come as text and video. The coding exercises run in your browser on recorded answers, so they need no key. A project, a quiz, and a summary close the course.
The code download below this video holds the starting project: the assistant, with last season’s hiker questions and the wardens’ reports. You’ll set it up in the first lesson, Measure the Assistant You Have.