the.ai

Code / Retrieval

verified

Code Search

Find the code that does this thing, in a codebase nobody has read all of. It looks like a text retrieval problem and is not quite one: code has structure that prose does not — an identifier is defined exactly once, a call graph is a real graph, and a type says what a function accepts. Retrieval that ignores that is throwing away the part of the corpus that is unambiguous.

Viz primitive · budget-splitsymbol-answerable = 12

symbol-answerable holds 29% of the budget; rest holds the remaining 71%.

Queries a symbol index answers exactly, against the ones needing a semantic guess, in queries. Drag the share resolvable by structure up to watch it take most of the traffic — the remainder is harder than the average query and smaller than a paraphrase benchmark suggests.

12

Reviewed by opendroid · 2026-08-18

  • arXiv:2102.04664 — CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation
  • arXiv:2211.15533 — The Stack: 3 TB of permissively licensed source code