Benchmarks & methodology

Search quality measured 2026-11-27, automated scores 2026-11-27 with exact retrieval · Full raw write-up ships in the package as BENCHMARKS.md

The headline number on our landing page is 78/100 search quality, scored by Claude in November 2026. This page explains exactly how it was measured, on what, and by whom, and publishes the harder numbers too: the adversarial query shapes we partially or completely fail, and the stricter automated regression scores. If a benchmark on this page looks unflattering, that's deliberate: we'd rather you calibrate on real numbers than discover the limits mid-trial.

1. Search quality: 78/100 (relevance scored by Claude)

Methodology: 20 canonical queries covering the search patterns agents actually issue: exact function lookup, conceptual questions ("how does authentication work"), cross-file tracing, configuration discovery, error handling, template search, API endpoints, security mechanisms, infrastructure, legacy code. Each of a query's top-5 results scores one point when it is code or configuration that implements what the query asks; tests, legal or FAQ text and code that only shares words with the query score nothing. On 27 November 2026 every model ran on the same chunks the same day, with exact search, and two blind Claude judges scored each hit on one unlabelled sheet (they agreed on 170 of 173 hits). We quote the lower score. An earlier round, scored 0–5 per query by a person in April 2026 on an older build and a smaller index, gave 96/100; the two are not directly comparable, so we do not quote it.

ModelJudge AJudge B
Buric-E0.6B (default)7878
Qwen3-Embedding-4B (the larger option, The Buric embedder)8381
Buric-E4B (the default up to release 1.3.76)8584

The default finds fewer relevant results on this set than the model before it: worse on 4 to 5 of the 20 queries, better on 1, the same on the rest. It indexes about four times faster and runs on smaller GPUs and on CPU. When the last few points matter more to you than speed, the larger option is one setting away.

Corpus: a real production marketplace codebase: ~3,900 PHP/JS/Smarty files (tests and internal docs included), 20 years of accretion. Not a curated demo repo.

Relevant results in the top 5 (Buric-E0.6B, judge A)Queries (of 20)
5 of 510
4 of 53
3 of 53
2 of 53
1 of 51

The weakest: a question about how listings get into the site's own search index (1 of 5: the results went to the search feature itself, not the indexer), and questions about admin user management, event management and blog article submission (2 of 5 each).

Scanner settings: scored with the security scanner as it ships: tag-only mode, secrets and PII redacted, code comments stripped from the text the reranker scores. On this codebase 15 of 16,361 indexed chunks carry a redaction and none was blocked. Comment stripping does not move the result: letting the reranker read the raw code instead changed the automated score by one point. Switch the scanner to blocking mode and files with a critical finding stay out of the index, so the code in them cannot be found.

Cross-codebase validation: the same rule on the public Laravel framework (~30K chunks) scored 76/100 across 30 queries spanning middleware, Eloquent, queues, auth, caching, validation, mail, sessions, routing, and more, written down before the run (20 November 2026, with the previous default, Buric-E4B; not yet repeated with Buric-E0.6B). Our score was 79 and the blind re-score 76; we quote the lower. The weakest: "faking HTTP responses in tests" (0 of 5; the fake itself is not in the top 5) and "how does middleware run" (1 of 5). An April round on a different query set, scored by a person, gave 83/100; its queries were not kept, so it cannot be repeated.

Garbage-input robustness: 10 nonsense/off-topic queries (pizza recipes, random unicode, SQL injection strings). Three correctly returned zero results; the rest returned only low-confidence results below the actionable threshold. No false confidence.

2. Token use: no saving we still quote

Early test, methodology: 12 real development tasks performed twice with Claude Code (once with plain grep/file-reading, once with CodeNavi as the retrieval layer), measuring context-window tokens consumed before reaching the correct solution.

MetricWithout CodeNaviWith CodeNavi
Avg tokens per task~45,000~9,000
Tasks where CodeNavi helpedn/a10/12
Tasks with no differencen/a2/12

The two no-difference tasks were simple, well-named function lookups where grep was equally effective.

Superseded (November 2026): An early test (12 tasks, 2026) measured about 45,000 context tokens per task with plain grep and file reading against about 9,000 with CodeNavi. In November 2026 we repeated it at a larger scale on real bug-fix tickets, with current agents that grep and read files efficiently themselves: total tokens per task were not lower with CodeNavi, and the fixes were as good either way. We no longer quote a token saving. What CodeNavi adds is search by meaning, the call graph for change impact, secret redaction, and running on your own hardware.

3. What we fail: adversarial query shapes

A second, deliberately hostile 10-query set targets shapes the canonical 20 don't cover: caller-tracing, polysemous verbs, intent with zero vocabulary overlap, absence queries. Pure semantic search scored 19/50 (38%) on it.

Query shapeExampleSearch alone
Caller-trace"what runs after a payment is confirmed"3/5
Polysemous verb"process order"2/5
Intent → vocab gap"stop users from buying their own listing"0/5
Absence / negative"endpoints that don't check authentication"0/5
Multi-hop flow"end-to-end password reset"4/5

This is why CodeNavi ships structural tools alongside search: find_callers, impact_analysis, and grep_search run against a call-graph sidecar built at index time. Re-running the four structural/flow queries with the real agent flow (search to find the entity, then a structural tool) moved that subset from 10/20 to 17/20. One cluster stays out of scope by design: absence queries ("where is X missing") are not a retrieval problem; use static analysis or linting for that shape. We won't promise it.

4. Automated regression scores (stricter, lower, published anyway)

Every release also runs an automated harness (tools/benchmark.py, ships in the package): 20 queries per codebase with an expected-substring answer key, scored by counting how many expected files/symbols land in the top-5. This measures coverage of a fixed answer set, not relevance: a top-5 full of correct, useful results still scores low if it surfaces different (equally valid) files than the key expects. It exists to catch regressions between releases, not to describe experienced quality; it is deliberately hard to please. Scores from the 2026-11-27 run on the live dev index (the pre-release gate of 1.3.77, default model Buric-E0.6B), read with exact retrieval. The approximate vector index adds up to ±7 points of build-to-build noise, so the published numbers bypass it:

CodebaseLanguageChunksScore (2026-11-27, exact)2026-11-20 (Buric-E4B)
Production marketplace (private)PHP/Smarty~16.8k63/10061/100
Laravel frameworkPHP~30k43/50 (86%)45/50 (90%)
BugzillaPerl~5.1k60/10058/100
CodeNavi self-indexPython~5.5k85/10081/100
MedusaJS (packages/ only)TypeScript~36.6k63/10066/100

The production marketplace is below its September score because the codebase grew by a third since then, while its answer key still lists the files that were right then. The previous release's code, run on today's index, gives the same results, so the drop is the corpus, not the ranking. We did not refresh the answer key to win the points back: a regression gate fitted to today's results would stop catching regressions.

The MedusaJS corpus is scoped to packages/ since 2026-09-06: the repository's docs site (www/) had made 58 % of the chunks, and generated API docs were competing with product code for the same top-5, the same dilution a monorepo with a docs subtree sees until that subtree is excluded at index time (EMBED_SKIP_DIRS).

Since 2026-09-05 every set also carries four identifier-bearing queries: a bare symbol such as Str::slug or bz_locations, or prose plus an identifier. All 20 hit the defining file; they are scored separately so the table above stays comparable with earlier runs. The same run is the committed baseline a release cut is gated against.

The relevance-scored 78/100 and the automated regression score on the same codebase are different instruments measuring different things. The gap between them is the difference between "were the top-5 results relevant?" (what a user experiences) and "did the top-5 contain these exact pre-listed substrings?" (what a regression gate needs).

5. Limitations (read these)

Want to check the numbers on your code instead of ours? Request a 30-day trial. The package includes the benchmark harness, so you can build your own query set and hold us to it.