Skip to content

Evergreen benchmark: Exa snippets missing and exact URL matching issues #60

Done

Description

@kesku

Disclosure: I work at Exa, just wanted to flag two things we noticed looking through the benchmark.

1. Exa snippets aren't being passed through

In collectors/benchmark.py, _exa_search sets snippet: None for every result, while Tavily gets up to 300 characters of content.

This means the 43 snippet_contains checks can only match against titles for Exa.

  • Exa: 3/43
  • Tavily: 38/43

Exa supports highlights via contents: {"highlights": true}. Passing those into the snippet field would make this a much fairer comparison!

2. Exact URL matching penalises redirects

A few expected URLs redirect or have equivalent document URLs, but they're currently counted as misses.

Some examples:

  • rfc-editor.org/rfc/rfc8446 redirects to /info/rfc8446/
  • RFC .html and .txt variants are the same document
  • MDN's flex-direction docs have moved
  • Python docs sometimes differ only by query parameters

We rescored the existing logged results, counting redirects and equivalent document URLs as matches:

  • Exa: 23/42 → 41/42
  • Tavily: 18/42 → 34/42

Both providers benefit pretty significantly here, so this looks like a scoring issue!

Would be great to get both of these addressed so the benchmark is comparing the actual results fairly!

Activity

  1. added a commit that references this issue on Nov 23, 2026
  2. fredhazelton commented on Nov 23, 2026

    @fredhazelton
    Contributor

    Thanks, Kes, and thanks for the disclosure. You were right on both points. We fixed them for every provider, not only Exa, and rescored our logged results ourselves.

    What changed (#63)

    • Snippets:

      • _exa_search now requests contents.highlights and passes them into snippet.
      • Every search adapter now gets the same budget: the first 300 characters of each top-5 snippet are graded, enforced in the grader too. While auditing we found Firecrawl descriptions were uncapped (up to ~22k chars), so the cap levels that too.
    • URLs: url_exact now uses one documented, closed equivalence rule for every provider:

      • display-only ?highlight=
      • RFC .txt/.html copies plus their datatracker and tools.ietf.org mirrors
      • arXiv abs/pdf
      • golang.org/pkg standard library
      • the expected link's own redirect, resolved once and committed in bench/sets/url_redirects.json. For example, rfc-editor.org/rfc/rfc8446 now 301s to /info/rfc8446/, and MDN flex-direction and Python stdtypes have moved.

      Result URLs are never fetched at grade time. An RFC /info/ page only counts when the expected link redirects there. .pdf, doi.org and datatracker landing pages don't count.

    Rescore of the logged results (no new provider calls)

    url_exact snippet_contains
    Exa 23/42 → 42/42 3/43 (the logged results have no snippets, so this needs a fresh run)
    Tavily 18/42 → 36/42 38/43
    • Your befores and both snippet counts match ours.
    • Our afters are one higher for Exa (42 vs 41) and two higher for Tavily (36 vs 34). The difference is the moved-page redirects (MDN for both, plus Python stdtypes for Tavily). Without those, we get your 41 and 34 exactly.
    • The 42 vs 43 are different check types (42 url_exact, 43 snippet_contains, 15 url_domain = 100).
    • The full table, commands and input hashes are in bench/rescores/2026-11-23-issue-60/README.md in AWI-ISSUE-60: Exa snippets + URL equivalence for every provider, offline rescore (#60) #63.

    We'll run Exa with highlights on the snippet checks next and post that number here. Our weekly news numbers are unchanged under the new rules (0 flips). The methodology page gets a dated note crediting this issue (hazeydata/agentwebindex-site#29).

    Status: the fix is merged in #63; we'll close this issue once the methodology note is merged too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions