A new benchmark called ExecRetrieval has been introduced to measure the functional correctness of code retrieval systems. The benchmark consists of 939 Python tasks, each with a correct implementation and up to four execution-verified buggy variants that are nearly identical to the correct code. Evaluations of 23 dense embedding configurations and BM25 showed that while top systems achieved high recall at 10 items (exec@10 = 1.00), their recall at 1 item (exec@1 = 0.331) was significantly lower, with most rank-1 misses being the buggy distractors. AI
IMPACT Highlights a critical gap in code retrieval for AI agents, suggesting current methods struggle to differentiate functionally correct code from near-identical buggy versions.
RANK_REASON The cluster describes a new academic paper introducing a benchmark for code retrieval.
AI-generated summary · Google Gemini · from 3 sources. How we write summaries →