Vibeleaderboard
← All Intel
Intel / article

ExecRetrieval: Measuring the Functional-Correctness Gap in Code-Embedding Retrieval

Source
arxiv.org
Author
Aaryan Kapoor, Md Abdullah Al Hafiz Khan
Date

Context

Code search can find the right neighborhood while putting a broken implementation first. ExecRetrieval tests that problem with 939 Python tasks, placing a tested correct solution beside near-identical versions containing a single deliberate bug. In the reported evaluation, the leading hosted search system included the correct implementation among its first ten results for every task, but ranked it first only 33.1% of the time.

This comparison matters when a uses retrieved code directly: success at finding a relevant set of examples can conceal failure to select the working one. The benchmark measures whether search rankings distinguish behavior when surface similarity offers little help.

Terms in this piece · Glossary
  • eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.
  • Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
  • embedding — A list of numbers representing a piece of text's meaning, so that similar meanings end up numerically close and can be searched.
  • Retrieval — Selecting evidence relevant to the current request.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads