WhoBuilt

Evals Are Not Unit Tests

Aug 6, 2025· 15 min· 15K views·Watch on YouTube

Speaker

Ido Pesok, an engineer at Vercel working on v0, explains how application-level evals can help teams make AI products more reliable.

Why AI apps need evals

Pesok distinguishes application-level evals from the model evaluations research labs publish. He illustrates the reliability problem with Fruit Letter Counter: GPT-4.1 answered a strawberry letter-counting prompt correctly twice, but later gave a user the wrong answer. A more elaborate prompt passed ten tests, then failed on a request covering several fruits.

Map the product’s court

Pesok uses a basketball court to represent the product’s use cases: prompts are data points, the task is the approach used to answer them, and the score checks whether the answer succeeded. Teams should collect real user prompts, mark which are in scope, and test across the full range of relevant requests. He suggests gathering feedback from ratings, observability logs, community forums, and social media.

Keep data and tasks reusable

Pesok recommends keeping user questions as the constant data and putting changing system prompts, preprocessing, or retrieval methods in the task. That lets teams compare approaches without rebuilding their dataset. He also recommends sharing middleware and as much of the production code as possible between the app and its evals.

Score simply and run evals in CI

Scoring depends on the task, but Pesok advises using deterministic pass or fail checks where possible and keeping the scoring logic understandable. When code cannot capture the signal, human review is acceptable; small prompt adjustments can also make outputs easier to score. Running evals in CI helps teams see whether a code or prompt change improves some cases while regressing on others.

Use practice to measure improvement

Pesok frames evals as a practice environment for comparing models and changes to prompts or retrieval. Measurement helps teams see whether a change actually improves the app and where failures remain. He says this can improve reliability and quality, support conversion and retention, and reduce support and operations work.

Takeaways

  • A few successful demos or tests do not establish that an AI feature works reliably for users.
  • Build an eval dataset from real user requests and cover the full range of in-scope cases.
  • Keep eval data separate from the changing prompts and methods being tested.
  • Share production logic with evals so practice reflects how the app actually runs.
  • Use clear scoring and run evals on changes to catch both improvements and regressions.

Mentioned in this talk

Search inside this talk

What was claimed 12

  • built
    Vercel built v0
    “v0 is a full-stack vibe-coding platform.”
    YouTube
    Verified8 sources· Talk, Web, Job posting· archived
  • feature
    v0: Full-stack vibe-coding platform for prototyping and building on the web
    “It's the easiest and fastest way to prototype, build on the web, and express new ideas.”
    YouTube
    Unverified1 source· Talk
  • role at
    Ido Pesok is engineer at Vercel
    “I'm an engineer at Vercel”
    YouTube
    Unverified1 source· Talk
  • works at
    Ido Pesok works at Vercel
    “I'm an engineer at Vercel, working on v0.”
    YouTube
    Unverified1 source· Talk
  • metric
    v0: 100 million messages sent
    “we recently crossed 100 million messages sent”
    YouTube
    Unverified1 source· Talk
  • feature
    v0: Push generated code to GitHub, pull GitHub changes into chat, switch branches, and open PRs
    “you can now push generated code to GitHub directly from v0.”
    YouTube
    Unverified1 source· Talk
  • uses
    “We launched and deployed on Vercel. We had Fluid Compute on”
    YouTube
    Unverified1 source· Talk
  • uses
    “GPT-4.1 said three.”
    YouTube
    Unverified1 source· Talk
  • uses
    “It used the AI SDK to make the streamText call”
    YouTube
    Unverified1 source· Talk
  • feature
    Agent evaluation: Collect user prompts over time and measure system performance across the app's use cases
    “you're trying to collect the prompts your users are asking, store them over time, and keep building the dataset”
    YouTube
    Unverified1 source· Talk
  • feature
    Agent evaluation: Can be added to CI to detect improvements and regressions
    “Another thing we highly recommend is adding evals to your CI.”
    YouTube
    Unverified1 source· Talk
  • feature
    Braintrust platform: Supports eval tasks and reports across datasets, including improvements and regressions
    “It’ll run your task across all your data and then give you a report on improvements and regressions.”
    YouTube
    Unverified1 source· Talk

Related talks