Skip to content
Try Hanzo
Language: English (United States)

RepoBench-R

Benchmarks / RepoBench-R

measured

The retrieval half of RepoBench: a completion point needs one snippet from another file, and the imports, definitions and identifiers say which. Regular expressions over the source, no model reading anything.

cross-file-first · dev split, 200 items
configurationR@1
  • dense only24.0
  • typed links only (no model)34.5
  • dense + typed links35.5
node results.mjs

regenerates every table on this page from the raw runs

licence
CC BY-NC-ND 4.0
harness
hanzoai/benchmarks · brain

What is measured

A completion point needs one snippet from another file, and the file’s imports, definitions and identifiers say which. RepoBench-R gives about twelve candidates per item with one of them correct, in two settings: cross-file-first, the first cross-file line of a file, and cross-file-random, any of them. Python. Retrieval is scored on its own, apart from generation, which is the reason this benchmark is here — it isolates the part a memory is responsible for.

Results

dense generator all-MiniLM-L6-v2 · no configuration frozen on dev · one gold snippet among about twelve candidates per item

Results
configurationR@1R@3R@5MRRnDCG@5easy R@1hard R@1
dense only24.056.575.044.950.528.020.0
typed links only (no model)34.563.077.552.256.941.028.0
dense + typed links35.566.080.053.458.644.027.0
node results.mjs

Build on Hanzo Cloud