← All courses

EDGE FDE

Intermediate

Test AI behavior before you ship

Catch regressions in CI so a prompt change does not quietly break the product.

Evaluations harness with trajectory grading and Swift Testing CI gates.

Grade behavior, not string equality. Fail the pull request when ToolsAllPass drops. iOS 27 and macOS 27 only.

What you'll learn

Notes that shaped this framing: Alex Lieberman (@businessbarista) on evals, from a call with Viv Trivedy (@Vtrivedy10). The rest of the course stays on Apple Evaluations in Swift.

Lessons

  1. Equality tests fail on language models
  2. Meet Apple's Evaluations framework
  3. Grade the tool trajectory
  4. Gate CI on metrics
  5. Grow the set without user text

Key concepts

Takeaways

Agent briefs

Related courses

Stream tokens and measure speed · Trace every step of an AI call · Version prompts like product copy · Turn feedback into a better local model

Official references

Evaluations · WWDC26 298 · WWDC26 299