Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 05 · AI · The loop and its harness · about 25 min to read

Play it as a journeyTutor comes with a plan

Evals for Apps (the test suite for a program that is a string)

Evals for Apps
Evals for Apps · Open board

Building with LLMs. The returns desk is the support assistant this run has been building: it reads a customer’s question, looks up their order, and can start a return, all by following a written prompt and a short list of tools. Multi-Agent (a second loop is a second window, not a second mind) left the desk split into several such loops, each with its own prompt and exits, and one open question: when any piece of it changes, how does anyone know the desk still works? This board answers with a table of the desk’s own questions, a checkable right answer beside each, and four ways to grade a reply, cheapest first.

Before you start. Graphs and State Machines (when the shape of the task is known, draw it) gave the desk a fixed set of states to move through on a return, and had it name which one it landed in at the end of every turn. Prompt Engineering (shaping the next-token distribution) showed that the same model, the same 7 billion learned numbers its answers come out of, its weights, replies very differently depending on the words sitting in front of it, the prompt, so editing that wording is editing the whole desk. A tool call is simply the desk asking the ordinary code around it to do something real, like look up an order, instead of guessing.

Lesson 52 of 83 in AI

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • Two rows flipped, and nobody could say why
  • 2023: asking one model to grade another’s homework
  • How do you grade two hundred replies without reading them?
  • The coin that decided version 5
  • What one row holds
  • What does one verdict cost?
  • Is v5 better?
  • Where the rows come from, and what they cannot see

Terms it explains: weights, eval set, rubric, LLM judge, grader, noise floor, app eval, must-not-contain, adversarial, tokens, 2.3 s, 87% agreement, component evals, retriever, recall@3, tool-choice accuracy, 2.5 points, +750, $345 a day, not shipped, about $0.20, 35 s, six cents, escalation, trace, canary, distribution shift.

Related paper

Review AI