Eval runs · published with caveats

Eval results by repo.

Select a repo to view its eval results. Retrieval, impact, context, and cost-per-answer measurements on trpc/trpc @ 5e4f5a3. Numbers are computed from the raw JSON artifacts linked on this page. Where a metric can flatter, the correction and limit are stated.

repo: trpc/trpc · commit 5e4f5a3
index: 1,819 files · 12,713 chunks · 20,084 edges · embeddings qwen3-embedding:0.6b
View MCP tool response examples →Real captured responses for each tool on this repo/commit.

Highlights

Glyph vs Serena
On the same 20 described-change tasks, Glyph code mode averaged 0.93 recall (17/20 fully solved, 0/20 zero) vs Serena MCP 0.38 (5/20 fully solved, 9/20 zero, 20/20 hit cap).
Page crux
Glyph code mode is the strongest agent arm on real change tasks (0.93 vs 0.60 MCP, 0.27 baseline), while retrieval shows fused MRR 0.87 on code-change PRs. Read the caveats below for where numbers are still limited.

Retrieval

Does the right file come back first?

Ground truth = files touched by merged PRs (comparative, not absolute). Reported in two splits: all 30 PRs and the 20 code-change PRs (answerable subset). MRR is the comparable rank metric across PRs.

fused MRR · code-change PRs0.8720/30 PRs changed code

Fused retriever MRR on the 20 of 30 trpc/trpc PRs that changed code.

30 merged PRs as queries (PR title+body) against the local index at commit 5e4f5a3 (qwen3-embedding:0.6b via embed2), reusing the existing index (--reuseIndex --impact). Truth = PR-touched files. Reported separately: all PRs and the code-change subset (10 PRs were non-code/release-like and stay in the overall average).

sample
30 PR queries · 20 code-change · one repository (trpc/trpc @ 5e4f5a3)
commit
5e4f5a3ad784204bdee32a8c695bc5f2d7e7b2df

MRR is comparable across PRs; recall@k depends on truth-set size. On code-change PRs: fused recall@5 0.43 / recall@10 0.46 (MRR 0.87), vector recall@10 0.53 (MRR 0.84). Comparative, not absolute — hits outside PR-touched files count as misses.

Raw JSON →

Code-change PRs (answerable subset)

The average over PRs where a retriever could have answered; quote this split.

retrieverrecall@5recall@10mrr
vector0.390.530.84
keyword0.340.380.72
symbol0.220.270.63
fusedBEST MRR0.430.460.87
utility0.200.250.66
fused best MRR (0.87) · vector best recall@10 (0.53) on this repo/run
raw run JSON →

All PRs (includes non-code/release-like)

10/30 PRs were not primarily code-retrieval questions; kept in the overall average for transparency.

retrieverrecall@5recall@10mrr
vectorBEST MRR0.410.510.70
keyword0.290.320.55
symbol0.150.180.42
fused0.390.410.66
utility0.130.170.44
overall average diluted by non-code PRs — compare code-change split above
raw run JSON →

Impact

Who calls it, and what breaks?

Truth sources reported apart (never averaged): edges = index table (plumbing), text = call-shaped uses in source (grade/quote against text).

depth-1 recall vs text call sites0.878 symbols · source-truth signal

Depth-1 caller recall vs text call sites on 8 most-depended-on trpc symbols.

Impact run on the same indexed trpc/trpc commit (seedLimit 8). Seeds: most-depended-on unique symbols with free-call text truth. Edge-closure truth reported at depth 1-4 plus precision; text truth reported separately (only truth that can call a missing caller missing).

sample
8 symbols · trpc/trpc @ 5e4f5a3
commit
5e4f5a3ad784204bdee32a8c695bc5f2d7e7b2df

Edge closure d1-d4 recall 0.55/0.76/0.88/1.00, d1/d2 precision 1.00/1.00; d1 vs text 0.87. 3/8 seeds had callers the index lost (text call site with no attributed incoming edge); 21 candidates dropped for no free-call text site. Small sample — promising, not conclusive; grade against text, never average with edge truth.

Raw JSON →
edge-closure (plumbing)
d1 recall (edges)0.55
d2 recall (edges)0.76
d3 recall (edges)0.88
d4 recall (edges)1.00
d1 precision1.00
d2 precision1.00

Seeds: 8 most-depended-on unique symbols with text call sites; 21 dropped. 3/8 seeds had callers the index lost. Edge closure d1-d4: 0.55/0.76/0.88/1.00; d1/d2 precision 1.00/1.00.

Context

What one answer costs — priced at what it delivered.

Packed MCP context (8k budget) vs the full contents of the answer files, both counted with the same counter. The baseline is priced at the truth files the context actually delivered — the naive comparison counts every file it never carried as saved.

median saved (like-for-like)19.0%n=30 · p90 61.6%

Median token saving priced at the truth files the packed context actually delivered (like-for-like), 30 trpc PR queries.

Same 30 trpc/trpc PR queries: Glyph packed context (8k budget, the same search()/get_context path) against the FULL contents of the truth files, read from a local checkout at the indexed commit (not GitHub HEAD). Both counted with the packer's token counter (chars/4). The baseline is priced at the truth files the context delivered — the unscaled number (55.1% median) counts files the context never carried as saved.

sample
30 queries · trpc/trpc @ 5e4f5a3
commit
5e4f5a3ad784204bdee32a8c695bc5f2d7e7b2df

Coverage is the limit on the claim: median coverage 50% of the PR's truth files, 24/30 queries delivered at least one truth file, 6/30 delivered none (those are misses, not savings). p90 like-for-like 61.6%. Unscaled median 55.1% is the number a reader who skips coverage would quote — this is the corrected one.

Raw JSON →
median mcpmedian rawcoverage
4,297 tok10,516 tok50%
The limit on the claim: 24/30 queries delivered at least one truth file; 6 delivered none (misses, not savings). The unscaled median is 55.1% — that is the number a reader who skips coverage would quote.
raw audit JSON →
context vs coverage — same questions, more budget
budgetmedian tokenscoverage
2,000 tok1,90625%
4,000 tok3,88150%
8,000 tok4,29750%
16,000 tok4,29750%
coverage saturates — a bigger budget does not buy more of the answer

Cost per answer

Fixed-policy answer-bench.

42 frozen tasks on trpc @ 5e4f5a3 — 20 of them commit gold (real merged commits; gold = the files they touched). Arms are compared task by task, not by their averages.

answer rate (all tasks)0.7420 commit-gold tasks

Answer rate on 42 frozen trpc tasks (20 of them commit gold) for the direct and code-mode arms.

Fixed-policy answer-bench (no model) against the real MCP tools on trpc/trpc @ 5e4f5a3. Arms: current (direct), by-intent (history-first), code-mode (the same policy inside run_code). Frozen set: 42 tasks — 20 commit-gold change tasks (real merged commits, gold = the files they touched), 10 define, 2 callers, 10 impact.

sample
42 tasks (20 commit gold) · trpc/trpc @ 5e4f5a3
commit
5e4f5a3ad784204bdee32a8c695bc5f2d7e7b2df

Commit-gold answer rate is 0.45 (9/20) — described-change questions are the hard ones. At the same answer rate, direct calls cost ~3x less than one code-mode script (median 2,108 vs 6,738 tokens; paired sign test 28/0/0 cheaper, p < 0.001), while code-mode delivers code bodies (52% coverage vs 0%). Fixed policy, no model — not an agent outcome benchmark.

Raw JSON →
armraterecallmed toktok/goldcode%saved*
current0.740.702,1086540%72%
by-intent0.740.702,1966840%71%
code-mode0.740.726,737.5213852%8%
*saved = like-for-like vs reading the named gold (current/by-intent 72%/71%, code-mode 8%). Commit-gold answer rate is 0.45 (9/20) in every arm — described changes are the hard part.
paired comparison — per task, sign-tested
vs by-intent: wins 0, losses 0, ties 42 — no task separated the arms. Cheaper on tasks both answered: 10/0/21 (p = 0.002), median cost ratio 1.00×.
vs code-mode: wins 1, losses 4, ties 37 — direction only, not significant (p = 0.375). Cheaper on tasks both answered: 28/0/0 (p = 0.000), median cost ratio 0.19×.
vs code-mode: wins 1, losses 4, ties 37 — direction only, not significant (p = 0.375). Cheaper on tasks both answered: 28/0/0 (p = 0.000), median cost ratio 0.19×.
fixed policy · no model · not an agent outcome benchmark
raw answer-bench JSON →frozen tasks JSON →

Diff understanding

Can Glyph explain what a commit changed?

20 recent non-merge commits on trpc/trpc @ 5e4f5a3. describe_diff is compared to raw git diff on changed files, symbol deltas (+/-/~), and affected callers. File gold comes from git diff; symbol gold from before/after parse; caller gold from symbol-edge structural impact. Git diff has no symbol/caller analysis.

symbol/caller lift vs git diff1.0020 commits · +sym 0.64, -sym 0.69, caller 0.29 (git diff 0)

Changed-file recall for Glyph describe_diff on 20 real trpc/trpc commits (20/20, non-empty gold).

20 recent non-merge commits touching 1-12 source files on trpc/trpc @ 5e4f5a3. describe_diff (MCP, tokenBudget 10000). File gold = git diff --name-only. Symbol/caller metrics scored only on commits with non-empty gold (n reported); vacuous 1.0s removed.

sample
20 commits · trpc/trpc @ 5e4f5a3
commit
5e4f5a3ad784204bdee32a8c695bc5f2d7e7b2df

describe_diff: file 1.00/1.00 (n=20). Symbol/caller (n-gated, non-empty gold only): +sym 0.40 n=12, -sym 0.22 n=8, ~sym 0.60 n=19, caller 0.05 n=15 (5240 mean tokens, 3.25 files withheld, 73 aux rows withheld). ~sym gold hashes each symbol's own source slice at parent vs commit (no longer 'all symbols in changed file'). Caller gold is capped index-relative coverage @25 (current index edges, not commit-exact).

Raw JSON →

describe_diff capability vs git diff

20 real commits. File gold from git diff; symbol/caller metrics report n (non-empty gold only). Metrics with n<5 are gated.

armfile rec+sym-sym~symcallertokens—
describe_diff1.00 (n=20)0.40 (n=12)0.22 (n=8)0.60 (n=19)0.05 (n=15)5240
git_diff1.00 (n=20)————1779
Baseline comparison omitted: git diff does not offer symbol/caller analysis; file recall comparison is tautological when gold is derived from the same diff.
means over non-empty gold only · n<5 gated · ~sym = slice-hash · caller = index-relative @25
raw diff-bench JSON →

Symbol navigation

Can Glyph find the right definition?

60 symbols sampled from trpc/trpc @ 5e4f5a3, stratified by kind, mixed unique/ambiguous.get_symbol vs git-grep baseline. Gold is parser-derived definition file+line.

file accuracy (glyph vs grep)70%60 symbols · glyph 70.0% file / 85.0% line · grep 11.7% / 11.7%

File accuracy for Glyph get_symbol on 60 sampled trpc/trpc symbols (mixed unique/ambiguous), vs 11.7% for a git-grep baseline.

60 symbols sampled from parsed trpc/trpc source (stratified by kind, ~70% unique / ~30% ambiguous). Each queried via get_symbol (MCP, detail=full, tokenBudget=2000). Baseline: git grep -n -w with definition-pattern ranking. Gold = parser-derived definition file+line; line accuracy allows ±5 lines or in-block.

sample
60 symbols · trpc/trpc @ 5e4f5a3
commit
5e4f5a3ad784204bdee32a8c695bc5f2d7e7b2df

Glyph: found 100%, file 70.0%, line 85.0%, tool-reported exact 96.7%, 1000 mean tokens. Grep baseline: found 73.3%, file 11.7%, line 11.7%. Gold is parser-derived (same family as indexer), so this measures lookup/ranking, not parser correctness. Ambiguous names included; still not a hand-labeled oracle.

Raw JSON →

get_symbol definition accuracy

60 sampled symbols, stratified by kind, mixed unique/ambiguous. Gold parser-derived and line-validated; line correct if within ±5 or inside returned block.

Found
100.0%
File acc
70.0%
Line acc
85.0%
Tool exact
96.7%
Mean tok
1.00k
git grep baselinefile 11.7%line 11.7%found 73.3%
kindnfilelinegrep f
class1080%90%10%
function1070%100%20%
interface1070%90%30%
method1080%80%0%
type1070%90%10%
variable1050%60%0%
mixed unique/ambiguous · grep baseline included · tool-reported exact is not primary evidence
raw symbol-bench JSON →

Same model, four tool sets

Glyph code mode vs Serena MCP vs Glyph MCP vs baseline.

One model (nvidia/nemotron-3-ultra-550b-a55b), one repository, one index, 20 described-change tasks graded against commit gold. Four arms: baseline (builtin grep/read/list), mcp (direct Glyph tools), code (Glyph code-mode run_code), and serena (Serena MCP read-only tools over the same checkout).

Glyph code mode beat Serena MCP on the same 20 change tasks.

Glyph code mode fully solved 16/20 with at least partial credit on every task (20/20). Serena fully solved 5/20, got any credit on 14/20, and scored zero on 6/20. Glyph MCP fully solved 7/20; baseline fully solved 3/20 and got zero credit on 10/20.

Solved breakdown (20 change tasks)
armfully solved (1.0)partialzero / failedany creditmean
baseline371010/200.271
mcp78515/200.603
code (code-mode)164020/200.926
serena59614/200.377

Two ways to read “solved all”

  • • No failures (any credit): baseline 10/20, mcp 15/20, code 20/20, serena 14/20.
  • • Fully solved (recall 1.0): baseline 3, mcp 7, code 16, serena 5.
tasks where Glyph code mode won17 / 1720 change tasks · code 0.93 mean recall vs Serena 0.38

Described-change tasks where Glyph code mode beat a grep/read baseline, out of the 17 tasks where the two arms disagreed.

One model (nvidia/nemotron-3-ultra-550b-a55b), one repository, one index, 20 described-change tasks graded against commit gold (the files a real merged commit touched). Three arms: baseline (builtin grep/read/list), mcp (direct Glyph tools), and code (code-mode run_code). Intent-rerun with describe_diff-first routing. The score is the per-task split with a sign test, not the mean.

sample
20 tasks × 3 arms · one model · trpc/trpc @ 5e4f5a3
commit
5e4f5a3ad784204bdee32a8c695bc5f2d7e7b2df

Mean recall: baseline 0.27, mcp 0.60, code 0.93, serena 0.38 (same 20 tasks/model, separate Serena run). Code vs baseline: 17 wins, 0 losses, 3 ties (p < 0.001). Code vs mcp: 11 wins, 1 loss, 8 ties (p = 0.006). MCP vs baseline: 11 wins, 2 losses, 7 ties (p = 0.022). Code averaged 3.9 turns (4/20 hit cap) with 0 script errors; baseline averaged 9.7 turns (20/20 hit cap), mcp averaged 9.2 turns (19/20 hit cap), serena averaged 9.6 turns (20/20 hit cap). MCP used ~2.72M prompt tokens total vs ~657k baseline and ~445k code.

Raw JSON →
armtasksrecallturnsprompt tokwall ms
baseline200.279.7656,8132,647,152
mcp200.609.22,719,1043,184,015
code (code-mode)200.933.9445,0991,509,043
serena200.389.62,354,712651,977
did it actually win? — sign test over the tasks that differed
mcp vs baseline: wins 11, losses 2, ties 7 — significant (p = 0.022).
code vs baseline: wins 17, losses 0, ties 3 — significant (p = 0.000).
code vs mcp: wins 11, losses 1, ties 8 — significant (p = 0.006).
baseline hit cap on 20/20 · mcp hit cap on 19/20 · code hit cap on 4/20 · serena hit cap on 20/20 · 0 script errors
raw Glyph agent-bench JSON →raw Serena agent-bench JSON →

What this run does and does not prove

  • • Promising signals: strong first-hit ranking on code-change PRs (fused MRR 0.87), impact-vs-text depth-1 0.87, and on described-change tasks Glyph code mode reached 0.93 mean recall (vs 0.27 baseline, 0.60 mcp) — 17 wins, 0 losses vs baseline (p < 0.001) and 11 wins, 1 loss vs mcp (p = 0.006). MCP vs baseline was also significant (11/2/7, p = 0.022).
  • • The corrected number: context savings are 19.0% median once the baseline is priced at the files the context actually delivered (unscaled headline was 55.1%), at 50% median coverage. Fixed-policy answer-bench still found direct calls cheaper than one code-mode script at the same answer rate (separate measurement).
  • • What it cost: in this intent rerun, MCP used ~2.72M prompt tokens total vs ~657k baseline and ~445k code; baseline hit cap on 20/20, mcp 19/20, while code averaged 3.9 turns (4/20 hit cap) with 0 script errors.
  • • Not proven yet: this is an intent-rerun promotion (same 20 tasks/model); MCP improved materially vs the earlier published run, but results are still from one model/repo/task set. The fixed-policy answer-bench change category still answers 45% of commit gold.
  • • Honesty: impact truths reported apart (text vs edges); fixed-policy answer-bench is not task-outcome proof; raw artifacts are linked for every section.

Interim page — updated as each eval arm completes.