// AI agent says done. Did it actually do the job? // Teaching excerpts; see the explanation and boundaries on the episode page. // After the agent runs, read the booking store. await agent.run(request); const rows = await store.list(); const passed = grade(rows, request); // One booking. Right person. Right time. return rows.length === 1 && rows[0].userId === request.userId && rows[0].slot === request.slot; // Same request. Now check the result. grade([], request); // false grade([{ userId: "raccoon", slot: "10:00" }], request); // true