AISim › Chapter 4: Running it for real
Nothing changed. Everything broke.
Level 19. No deploy, no code change, and quality fell off a cliff.
Nobody touched the code for two weeks, yet support complaints doubled and a few JSON responses started breaking. Your app calls the provider's "latest" model alias, and there's nothing measuring answer quality, so all you have is a feeling.
Goals
- accuracy at least 75%
- error rate at most 2%
Concepts: Model versions, Regressions, Evals.
Hint
First make quality visible. Then look at what changed outside your code: which model version are you actually running?
What you learn
The model is a dependency, and "latest" is an unpinned dependency. Providers update models behind aliases, and prompts tuned for one version can quietly regress on the next. Pin versions, run your evals against a new version before switching, and upgrade on purpose. Evals are what let you notice at all.
More in this chapter
- The 20-page system prompt (Level 16)
- The nightly job ate the day (Level 17)
- Fine-tune it? (Level 18)
- Compliance is calling (Level 20)
- Finance wants a word (Chapter 4 boss)
This interactive level needs JavaScript. Built by Joshua Paul (cybernerdie).