WhoBuilt

Five hard earned lessons about Evals

Aug 23, 2025· 20 min· 22K views·Watch on YouTube

Speaker

Ankur Goyal of Braintrust shares five lessons about building and using evals at an AI Engineer event.

Recognize when evals are working

Goyal suggests three signs of useful evals: a team can assess a new model and ship an update within 24 hours, turn selected user complaints into evaluation cases, and use evals to judge a new use case before launch. He points to Notion’s ability to adopt recent models within a day as an example.

Engineer datasets and scorers

Goyal says real-world datasets need ongoing work because data assembled in advance rarely matches what users encounter. Teams should reconcile datasets with real experience and use human judgment when choosing feedback to add. He also treats scoring functions as specifications for an AI product, arguing that teams should develop and revise their own rather than rely only on generic scorers.

Design context and tools for models

Agent prompts include much more than the system prompt: tool definitions, conversations, and tool responses can make up most of the tokens. Goyal says teams should design tools around what the model needs, rather than simply expose existing APIs. In one internal project, changing a tool’s output from JSON to YAML improved results.

Prepare for models to change what is possible

Goyal recommends creating ambitious evals for use cases that current models cannot yet handle, then rerunning them as new models arrive. Braintrust’s benchmark for a planned feature showed a progression from GPT-4o to GPT-4.1, Claude 3.7 Sonnet, and Claude 4 Sonnet; the feature became viable at the new model’s performance level and shipped two weeks after Claude 4 Sonnet launched.

Optimize the whole system

Prompt optimization should account for the dataset, task, tools, and scoring functions as well as the prompt. In Goyal’s benchmark, an optimizer given the prompt, dataset, and scores performed much better than one asked to revise only the prompt. He introduces Braintrust’s Loop feature, which can help users improve prompts, datasets, and scores.

Takeaways

  • Track whether evals help your team assess and adopt a new model within a day.
  • Create a clear, human-reviewed path for turning useful user feedback into eval cases.
  • Treat datasets and scoring functions as engineering work that evolves with real usage.
  • Design tool interfaces and outputs for the model’s needs, and evaluate their effect.
  • Run ambitious evals and optimize data, tasks, prompts, tools, and scores together.

Mentioned in this talk

Search inside this talk

What was claimed 10

  • metric
    Notion: Incorporated new model releases within 24 hours
    “Notion has been able to incorporate the new model within 24 hours.”
    YouTube
    Unverified1 source· Talk
  • built
    open-source library for scoring AI outputs
    “We have a really powerful open-source library called AutoEvals”
    YouTube
    Unverified1 source· Talk
  • metric
    Claude Sonnet 4: Helped the feature cross the viability threshold in Braintrust's eval
    “Claude 4 Sonnet did remarkably better. For us, that means this feature ... suddenly becomes viable.”
    YouTube
    Unverified1 source· Talk
  • metric
    Braintrust: Shipped the first version of the feature two weeks after Claude 4 Sonnet came out
    “Claude 4 Sonnet came out two weeks ago, and we're shipping the first version of this feature today”
    YouTube
    Unverified1 source· Talk
  • metric
    Gemini 2.5 Pro: Scored 1% on the benchmark shown
    “Gemini 2.5 Pro 0520 scores 1% on this benchmark”
    YouTube
    Unverified1 source· Talk
  • feature
    Braintrust Proxy: Works across model providers without requiring code changes
    “you don't need to change any code to work across model providers.”
    YouTube
    Unverified1 source· Talk
  • feature
    Loop: Helps optimize prompts, datasets, and scores
    “You can work in our playground and give it a prompt, a data set, and some scores.”
    YouTube
    Unverified1 source· Talk
  • launched
    Braintrust launched Loop
    new feature that auto-optimizes evals within Braintrust
    “Loop is an amazing new feature that auto-optimizes your eval directly within Braintrust.”
    YouTube
    Unverified1 source· Talk
Show all 10 facts

Related talks