A carefully controlled benchmark whose core numbers (Table 3, chunk re-baselining, label-rule symmetry, lockbox, agent study) all reproduce exactly from the released per-query files. However, the DeepSWE appendix mixes two task sets so that its significance verdicts flip, and several secondary claims (the raw-pool lead in Intro F1, the SPLADE/ColBERT anchor gains) are stated more strongly than the paper's own intervals allow.
Soundness
3/4
Presentation
2/4
Contribution
3/4
Confidence
4/5
✓ 14 confirmed✕ 4 discrepancy
Summary
The paper asks what the reported advantage of dense encoders over BM25 in repository-level code search (the "dense premium", ΔnDCG@10 for file ranking within one repository) actually measures. It introduces RepoPremium: a core of 1,265 queries over ten SWE-bench Verified repositories, comprising curated SWE-bench problem statements and raw PR text from 2022, 2023 and 2026. It adds a 1,560-query extension (TypeScript/Go/Rust, held-out Python, a matched rewrite set and DeepSWE) and a preregistered 539-query lockbox over 91 repositories. The paper evaluates 13 dense encoders plus SPLADE and ColBERTv2.
It reports three findings.
F1. Evaluation choices inflate the premium. Whole-file BM25 cuts the curated premium from +0.121 to +0.034, and counting edited tests as gold doubles the raw-PR premium.
F2. Generate-then-grep closes the gap. Appending LLM-written code anchors to the BM25 query matches or beats the dense encoder in every Python pool, and is significantly ahead on curated queries (−0.081).
F3. No predictor picks the winner per query. No feature, embedding or LLM judge predicts which retriever wins (AUROC 0.47-0.54). RRF fusion beats dense retrieval on the lockbox, and a preregistered router does not beat fusion.
An agent study and a DeepSWE appendix suggest that the retrieval tool matters less than the LLM, and that the premium depends on how queries are worded. The paper closes with three guidelines: use a tuned lexical baseline, fix one label rule, and fuse retrievers or add anchors.
Strengths
Main results reproduce exactly from released artifacts
From the public per-query top-10 lists and qrels, I recomputed:
all 20 cells of Table 3, within 0.0006;
all 52 premiums in tab:chunk-rebase across 13 encoders, with 50 of 52 CI bounds matching to the digit;
tab:test-gold, including its bootstrap CIs, using the producer's seed;
every row of tab:perrepo;
the lockbox and dev columns of tab:budget;
all 16 cells of tab:agent-wrapper, from 384 agent result files.
No table value I checked was impossible or unsupported by the data, apart from the DeepSWE win-rate column (W1).
Fair-baseline and label-rule controls that the field usually omits
Sec. 5.1, tab:r5, tab:chunk-rebase, tab:test-gold, tab:r8
The paper does more than compare against a default chunked BM25:
It sweeps BM25 chunk sizes and shows that whole files are best, within 0.002 of c=10,000 (tab:r5).
It re-baselines all 13 encoders. The drop is 0.0888 on Cur-Pre and 0.1009 on Raw-Post for every encoder, and 7 of 13 encoders become significantly negative on curated queries.
It applies one label rule symmetrically to curated and raw pools. Under either rule the curated-vs-raw gap CI covers 0.
This directly substantiates guideline G1.
Preregistered lockbox reported honestly, including a negative result
Sec. 5.5, tab:budget, tab:router-pred; checks 08, 09
The frozen router gains only over fusion (CI ), against an oracle headroom of , and the paper reports exactly this. Fusion beats dense retrieval by and with CIs excluding 0. It still does so with repositories weighted equally and under source-file labels (/). The AUROCs of the two LLM judges reproduce exactly from the raw judge outputs.
Weaknesses
DeepSWE table mixes two task sets, and the significance verdicts flip between them
major · App. Never-Mined Queries (DeepSWE), tab:external (tex L2240-2280); Sec. 5.6 (tex L803-805); App. scale-up (tex L1993-1996); checks 02, 14
The tab:external caption says 68 tasks in 56 repositories, and the dense/BM25/grep/premium columns reproduce exactly on that subset. The "BM25 wins" column (37.6%, 52.3%) is impossible for n=68 (GRIM). It equals 41/109 and 57/109, the full 109-task set described in the Setup paragraph. On the 68 tasks the win rates are 42.6% and 60.3%, so the text's "38-52%" is also from the other set.
The set matters. On all 109 tasks:
the canonical encoder's premium is +0.054, CI [+0.001,+0.104, which ;
Questions for the authors
Why does tab:external restrict to the 68 identical-corpus tasks, and would you revise the claim that the DeepSWE premium is 'not distinguishable from zero', given that on all 109 tasks the canonical encoder's premium is +0.054 with CI [+0.001, +0.104]?
What is the per-call latency and cost of qwen35-122B anchor generation, and where does the break-even with a dense index fall for the generator that produces the Table 3 headline?
How were the Raw-Post tests-kept qrels built for tab:r8 (+0.192 at c=1000, +0.136 tuned)? My recomputations from the released qrels give +0.186 and +0.130.
Do the F2 residuals hold with a generator whose training cutoff predates all pools, or with repository names and paths masked from the generation prompt?
Is the router in the agent study (a weighted RRF blend in coreb_search.py) the same model as the preregistered lockbox router? If not, which one does guideline G2 refer to?
Verification
I ran 18 checks, each with a self-contained script that recomputes the paper's numbers from the authors' released per-query rankings, qrels, judge outputs and agent result files, using repository-clustered bootstraps that match the paper's protocol. 14 checks are confirmed. These include Table 3, the 13-encoder chunk re-baselining, label-rule symmetry, the τ decay, per-repository and per-commit tables, the lockbox and router result, the AUROCs, the agent study, and all benchmark counts. Several checks also carry minor notes on wording or query-set consistency. 4 checks found discrepancies. (02) The DeepSWE table mixes 68- and 109-task denominators, and its 'not distinguishable from zero' verdict flips on the full set. (04) The Intro's claim that the encoder 'still leads the raw pools' holds under clustered CIs for only one of three pools. (06) ColBERTv2 gains more than BM25 from the anchors on Raw-Post, and SPLADE ties the encoder on Raw-Pre'23. (18) One bib entry is cited for a claim it does not support. None of the discrepancies touches the headline F2 numbers or the lockbox result. Discrepancies 02 and 04 weaken the paper's 'premium depends on wording' narrative.
14Confirmed
4Discrepancy
✓ConfirmedSec. 5.2, Table 3 tab:genarm-tuned (tex L627-655) and text L612-623; Abstract/Intro F2
ma2023bm25dense (custom.bib: Campese, Lauriola & Moschitti, 'Pre-Training Methods for Question Reranking', EACL 2024 short papers)
Mismatched citation. The key suggests a BM25+dense hybrid paper, but the bib entry, confirmed by Crossref, is an EACL 2024 paper on pre-training for question reranking. At tex L943 it is cited for 'fusion, dense, late-interaction, learned-sparse and cascaded pipelines combine lexical and dense signals', which a question-reranking pre-training paper does not support. This is probably the wrong bib entry for the intended work.
xue2026shopranker (Xue, Liu & Hu, 'ZooWork-ShopRanker: An Open, Preference-Aligned E-Commerce Reranker', arXiv 2609.31002)
Tangential. An e-commerce reranker paper is the only support cited (tex L955) for the general claim that 'rerankers trained on general web data transfer imperfectly to new domains', which is used to frame the jina-reranker-v3 baseline. The claim is generic, and this source is not code retrieval or a cross-domain reranking study.
xue2023weaverbird, xue2026fashionsiglip2, zhang2026omnimodal (all co-authored by Siqiao Xue, as is xue2026coreb)
Tangential. They are cited in an 'Embeddings beyond code' paragraph (tex L953-962) on financial LLM search, fashion image retrieval and omnimodal embeddings, and none bears on code-search claims. All exist (arXiv confirmed). This is a citation-relevance and possible self-citation concern, not a factual error.
Suggestions
Rebuild tab:external with one task set for all columns, report both the 68- and 109-task results, and align the Sec. 5.6 and App. scale-up statements with them.
In the Introduction and Fig. 1 caption, give the repository-clustered CIs of the raw-pool premiums against whole-file BM25, and state that only Raw-Pre'22 excludes zero.
State n and the query set (full pool vs original-query subset) in every table caption, and use one definition of 'tuned BM25' (whole files) throughout.
Document that Cur-Pre's 'all edited' labels add SWE-bench test_patch files, and release the exact qrels for every label rule used in tab:test-gold and tab:r8.
Report generation cost for the 122B generator and a per-generator break-even table, so that guideline G3 is grounded in the configuration it recommends.
Recompute tab:r3 with the fixed Raw-Post τ for every row, and say which binning rule defines 'monotone'.
Qualify the SPLADE/ColBERTv2 statements (ColBERTv2 gains more than BM25 on Raw-Post; SPLADE ties the encoder on Raw-Pre'23).
Correct the router description in the agent appendix to match coreb_search.py, and the 'exactly' wording of the per-commit guard.
Fix the ma2023bm25dense entry and remove citations that do not support the sentences they are attached to.
Fill in the producer scripts for tab:funnel, tab:repostats, tab:perrepo and fig:decay that TABLES.md lists as UNKNOWN or TODO, so that every table is regenerable from one command.
Ethics and integrity
No ethical concerns. The data are public GitHub PRs and published benchmark tasks; the paper has a section on personal information in the data release. No hidden text or instructions aimed at reviewers were found in the LaTeX source. Four tangential citations to works co-authored by the first author are noted under References. This is a citation-relevance issue, not an integrity concern. No sign of fabricated or altered results: every value I recomputed matches the released data, except the DeepSWE win-rate column, which is explained by a different denominator.
Scope of this review
What I did not do. I did not re-run any encoder, BM25 index build, LLM anchor generation or agent episode: no GPU was available, and the LLM APIs are proprietary or large.
What all checks rest on. Every recomputation starts from the authors' released per-query cached rankings, qrels, judge outputs and agent result files (GitHub hq-bench/repo-premium; HF dataset revision 97c0c94). The checks therefore establish internal consistency and correct aggregation and statistics. They do not establish that the cached rankings themselves are what the stated models produce.
What is not released. Only the qwen35-122B (think) agent arm is released, so the other rows of tab:agent were checked only for GRIM consistency. Index-build timings (the cost break-even) were not re-measured. The 604-query AUROCs could be compared with the released JSON but not recomputed independently, because the released queries file lists 612 queries.
The paper uses repository-clustered bootstraps (10,000 draws), TOST equivalence margins and paired comparisons throughout, rather than query-level tests that would overstate precision with only ten core repositories. Several claims are deliberately hedged, for example "this replaces the premium but does not explain it" (Intro F2) and "a date effect of similar size cannot be excluded" (Sec. 5.6).
The agent-contamination bug and its fix are disclosed. Rescoring the released wrapper runs against gold reproduces every stored precision, recall and exact-match value, with 0 mismatches. None of the six paired tool differences excludes zero, which supports the claim that the tool choice matters less than the LLM (tool spread 0.042 vs LLM range 0.033-0.300).
Unusually complete artifact release
Title page links; App. Data Release, App. Reproducibility
Per-query cached rankings for every encoder and BM25 configuration, qrels under both label rules, the anchor generations, the lockbox decision files and the agent result files are all public (GitHub plus a pinned HF dataset revision). This made the 18 checks in this review possible without GPUs.
]
excludes zero
Qwen3-0.6B's premium is −0.049, CI [−0.099,+0.000], which covers zero.
The paper calls this "the sharpest limit on the premium we found". It also relies on it in Sec. 5.6 ("show no premium distinguishable from zero") and in App. scale-up ("as it is on never-mined DeepSWE"). That conclusion depends on an unexplained restriction to 68 tasks. On the paper's own table, App. scale-up's "indistinguishable from zero" is also false for Qwen3-0.6B (−0.078, CI [−0.144,−0.013]).
Fix: report both task sets with matching denominators, justify the identical-corpus restriction, and soften the conclusion to "much smaller" rather than "not distinguishable from zero".
Intro F1's "encoder still leads the raw pools" is not supported by the paper's own clustered intervals
major · Sec. 1, F1 (tex L232-236); Table 3 'prem.' column; tab:percommit; checks 04, 12
Against whole-file BM25 the raw-pool premiums are +0.059, +0.089 and +0.125, which reproduce exactly. With repository-clustered CIs, however, only Raw-Pre'22 excludes zero ([+0.053,+0.219]). Raw-Post gives [−0.026,+0.146] and Raw-Pre'23 gives [−0.026,+0.229], the same as the authors' harmonized_overview.json.
The Intro sets these against curated queries, "whose interval covers zero", which implies a significance contrast that holds for only one of three raw pools. Conversely, when each task is re-scored at its own base commit, the curated tuned premium is +0.056, CI [+0.024,+0.116], which does exclude zero (tab:percommit). So the curated-vs-raw contrast in F1 is fragile in both directions. This matters because F1 underpins the "premium depends on wording" narrative.
Fix: state the per-pool CIs in the Intro, and describe the raw-pool lead as a point-estimate tendency that is significant only on Raw-Pre'22.
Generate-then-grep headline and its cost argument use different generators; possible generator exposure
major · App. genarm 'Generation is cheaper…' (tex L1430-1436); Table 3; Sec. 4.2; Limitations; check 17
Table 3's residuals (−0.081 … −0.062) use qwen35-122B. The break-even of about 158 queries per repository (arithmetic confirmed: 240 s / 1.5 s ≈ 160) uses Qwen3-8B latency. By the paper's own account, Qwen3-8B closes only a little over half the premium. The per-call cost of the 122B generator is not reported, so guideline G3's cost claim does not apply to the configuration that produces the headline result.
In addition, the generator may have seen these public repositories (acknowledged). The post-release subset mitigates this, but it covers raw PRs only. BM25 was also tuned on the evaluation queries (Limitations).
Fix: report latency and cost for the 122B generator, give a break-even per generator, and report the F2 residuals for a generator whose cutoff predates all pools, or with the repository name masked.
"SPLADE and ColBERTv2 gain less from the same anchors" does not hold in every cell
minor · App. genarm (tex L1400-1403); Sec. 5.2 (tex L670-672); tab:encoder2, tab:gen-controls; check 06
On Raw-Post (n=132), ColBERTv2 gains +0.147 from the anchors (0.422 → 0.570), more than BM25's +0.126 (0.539 → 0.664). The per-query difference is +0.022, CI [−0.047,+0.086].
On Raw-Pre'23, SPLADE ties the canonical encoder (0.5234 vs 0.5233), contradicting "stay below the canonical encoder". The overall direction (anchors help BM25 most) survives in 7 of 8 learned-sparse/late-interaction cells.
Fix: qualify both sentences.
Construction of the curated 'all edited' labels is undisclosed
minor · tab:test-gold; tab:r8 caption; Sec. 4.1 (tex L479); Sec. 5.1 (tex L583-590); checks 03, 05
The paper states three times that Cur-Pre's gold patch has no tests. Yet tab:test-gold reports a Cur-Pre all-edited premium of +0.191/+0.165, different from source-only. The released code shows that the SWE-bench test_patch files were added to every Cur-Pre gold set (613 files across 465 queries), and the numbers then reproduce. The tex never says this.
Separately, the Raw-Post tests-kept premium is +0.192/+0.136 in the tex, but recomputes to +0.186/+0.130 under every label variant I tried. The "doubling" conclusion is unaffected (2.2×).
Fix: describe the test_patch source and publish the exact Raw-Post tests-kept qrels.
Inconsistent query sets and definitions of 'tuned' across tables
minor · Table 3 text (tex L621-623); tab:chunk-rebase; tab:test-gold; tab:gen-controls; tab:perrepo; Sec. 5.1 (tex L589-590); checks 01, 03, 07, 11, 13
The paper alternates between two query sets and two baselines without saying so where it matters:
Raw-Post is the full 288-query pool in Table 3 and tab:perrepo, but the 132 original queries in tab:test-gold, tab:gen-controls and tab:encoder2.
'Tuned' BM25 means c=10,000 in tab:chunk-rebase (+0.032) but whole files in Table 3 and the abstract (+0.034).
The '-0.052 to +0.012' residual range next to Table 3 comes from the subsets, not the full pools shown (where it is −0.048 to −0.012).
Coinciding values. Whole-file BM25 for Raw-Post is 0.539 at both n=288 and n=132. These are genuinely different values (0.5386155 vs 0.5386013) that coincide after rounding, not copy errors, but readers will suspect they are.
Sec. 5.1 gap. Its '+0.025 → +0.102' mixes the full-pool Raw-Post with the 132-query tab:test-gold.
Fix: give n in every caption and use one 'tuned' definition throughout.
tab:r3 compares τ definitions on inconsistent bases
minor · Sec. 5.3 (tex L761-769); tab:r3 (tex L1660-1682); fig:decay; check 10
The headline decay statistics reproduce: quartiles +0.217→+0.050, r=−0.124, quartile R2=2.08%. They do so only with the fixed Raw-Post τ.
The tab:r3 row for τ_mean5 (r=−0.050, not monotone) matches the unfixed τ. With the fixed τ that every other row uses, τ_mean5 has r=−0.130, stronger than the chosen MaxIDF, and is monotone. The selection of MaxIDF as the 'best' τ is therefore not justified on a consistent basis, although MaxIDF still has the largest Q1-Q4 gap (0.166). Whether MaxIDF is 'monotone' also depends on the quartile binning rule (np.quantile bins give Q2 0.130 < Q3 0.134).
Router and per-commit guard: the text does not match the released code or artifacts
minor · App. agent evaluation (router description); Sec. 5.4 (tex L1109-1112), tab:percommit; checks 12, 15
The paper says the agent-wrapper router uses τ^ 'to pick one of the two per query'. The released coreb_search.py instead implements a weighted RRF blend in which dense retrieval always has weight ≥ 0.5.
The per-commit guard is said to reproduce the shared-snapshot results 'exactly', but the artifact records 4 (Cur-Pre) and 2 (Raw-Post) dense mismatches.
Neither changes a conclusion. Both should be corrected.
Small agent sample and narrow cross-language pools limit generality
minor · tab:agent, tab:agent-wrapper; Table 1 (tab:cells); Limitations; check 15
The agent comparison rests on 96 queries in 9 repositories for tools and 30 queries for LLMs. The largest tool difference, +0.042 (query CI [−0.031,+0.115]), cannot exclude effects as large as the claimed LLM spread at its low end.
Each cross-language PR pool is a single repository, and the core covers ten Python repositories (acknowledged in Limitations). Guideline G2's 'spend on the model before the search endpoint' should be phrased as tentative.
Only the qwen35-122B agent arm is released, so tab:agent could only be GRIM-checked.
Small wording overstatements
minor · tab:r8 caption; tab:chunk-rebase; checks 03, 07
The tab:r8 caption says keeping tests raises every raw pool by '0.04-0.06'. The paper's own numbers give +0.064 for Raw-Pre'23; recomputed, the rises are +0.033, +0.064 and +0.054. Two CI bounds in tab:chunk-rebase differ from the released JSON by 0.001 (jina-1.5b and Qwen3-4B, Cur-Pre).
One mismatched reference and several tangential self-citations
minor · App. A Extended Related Work (tex L943, L953-962); custom.bib; check 18
ma2023bm25dense (tex L943) is cited for pipelines that combine lexical and dense signals. It resolves to Campese, Lauriola & Moschitti, 'Pre-Training Methods for Question Reranking' (EACL 2024), which does not support that statement.
The 'Embeddings beyond code' paragraph cites four works co-authored by the first author (WeaverBird, ShopRanker, FashionSigLIP2, an omnimodal survey). They concern finance, e-commerce and fashion retrieval and bear on no code-search claim. ShopRanker is the only support for a general claim about reranker domain transfer.
Fix: replace the wrong entry and trim the tangential citations.
On the 604 pooled Cur-Pre and original Raw-Post queries, the premium decays across tau quartiles from +0.217 to +0.050, with r = -0.124; 'tau quartile explains about 2% of variance'.
Recomputed per query from canon202607/jina05_cell{A,B}_c1000 using source-only labels, with tau_top1 from tau_variants_canon202607/cellA and from the fixed tau in harmonized202610/out/tau_cellB. n = 604, matching the tex. c=1000 premium by tau quartile: 0.2166 / 0.1303 / 0.1335 / 0.0504 (tex +0.217 -> +0.050). Against whole-file BM25: 0.1250 -> -0.0462 (tex +0.125 -> -0.046). Pearson r = -0.1242 (tex -0.124), so r^2 = 1.54%. The quartile dummies give R^2 = 2.08% ('about 2%') and repository dummies give 2.48% ('as much as knowing the repository'). Per cell, the raw cell decays monotonically (0.309 -> 0.034) and Cur-Pre has one interior wobble, as the text says. tab:r3 rows tau_MaxIDF (-0.1242 / -0.1046 / +0.1662), tau_jaccard, tau_mean-all and n_gold match within 0.0006. Tolerance: 0.0006 on 3-dp values. Notes: (1) The numbers reproduce only with the fixed Raw-Post tau. The canon202607 cellB tau that harmonized_decay_stats.py labels 'paper tau' gives r = -0.130 and Q1/Q4 = +0.238/+0.059 on n = 571. (2) tab:r3's tau_mean5 row (-0.050 / -0.080 / +0.099 / 'no') matches exactly the unfixed cellB tau (r -0.0500, Q1-Q4 +0.0989, not monotone). With the fixed tau, which every other row uses, tau_mean5 gives r = -0.130 (stronger than the chosen MaxIDF at -0.124), rho = -0.095, Q1-Q4 = +0.120, and is monotone. So the table mixes tau versions, and the statement that MaxIDF has the best r is not true on a consistent basis, although its Q1-Q4 gap (0.166) is still the largest. (3) Whether tau_MaxIDF is 'monotone' depends on the quartile rule: np.quantile bins give Q2 0.1303 < Q3 0.1335, while equal-count bins are monotone. (4) The |q| Q1-Q4 of -0.026 is not reproduced (-0.009 with np.quantile, -0.018 with equal-count); its r and rho match.
Recomputed per-query premiums and tau (MaxIDF) from canon202607 and harmonized202610 tau files; quartile means, Pearson r, R^2 of quartile and repository dummies; re-ran tab:r3 rows
Per-repository table: weighted mean BM25 0.411 and dense 0.532 (Cur-Pre), premium +0.152 (Raw-Post); dense leads in every repository except Cur-Pre requests.
All 19 rows match within 0.0006 on n, BM25, dense and Delta. Cur-Pre was recomputed per query from canon202607/jina05_cellA_c1000 with source-only labels. Raw-Post was taken from harmonized_rows.jsonl and independently recomputed from out/dense_all_c1000 plus qrels_harmonized/cellB, with identical results. The n-weighted means of the tex rows are: Cur-Pre n=472, BM25 0.4112, dense 0.5319, premium +0.1207; Raw-Post n=288, BM25 0.4452, dense 0.5975, premium +0.1523. Recomputed pool means: 0.4111 / 0.5320 / +0.1209 and 0.4451 / 0.5974 / +0.1523. The only negative Delta is Cur-Pre requests (-0.0088, n=8). Tolerance: 0.0006 on 3-dp values. Notes: The planned claim's wording mixes pools: 0.411/0.532 are Cur-Pre means, while +0.152 is the Raw-Post premium, computed on the full 288-query harmonized pool rather than the 132 original queries. The B rows are therefore on a different query set from tab:test-gold's Raw-Post column (n=132).
Recomputed every tab:perrepo row per query (Cur-Pre from canon202607; Raw-Post from harmonized_rows.jsonl and independently from out/dense_all_c1000 + qrels) and the n-weighted pool means
Per-commit re-scoring (tab:percommit, 933 queries): tuned premium moves by at most 0.025; 'a guard reproduces the shared-snapshot results exactly'
All 4 rows match the artifact within rounding (e.g. Cur-Pre +0.034 [-0.024,+0.117] -> +0.056 [+0.024,+0.116], Delta +0.022). Max |Delta| = 0.024 <= 0.025. n: 931 scored = 933 - 2 dropped Raw-Pre'22 tasks, consistent with the caption. Two caveats. (i) The guard is not exact: the artifact records dense_mismatch = 4 (Cur-Pre) and 2 (Raw-Post), while the text says 'reproduces ... exactly'. (ii) At each task's own base commit the curated tuned premium (+0.056, CI [+0.024,+0.116]) excludes zero. This sits awkwardly with the headline statement that on curated queries the premium's 'interval covers zero'.
Compared every table cell with the released analysis/indexed/percommit_premium.json; recomputed Delta, the n total and the maximum move; read the guard counters
Same values for different query sets (possible copy errors): Raw-Post whole-file BM25 0.539 at n=288 (Table 3) and n=132 (tab:gen-controls, tab:r5, tab:encoder2); Raw-Pre'22 dense 0.572 at n=367 and n=257
These are not copy errors. The underlying values differ: 0.5386155 (n=288) vs 0.5386013 (n=132), and 0.5721701 (n=367) vs 0.5722014 (n=257). They only coincide after rounding. All full-pool Table 3 columns reproduce within 6e-4 (e.g. Raw-Post 0.5974/0.5386/0.6510 vs 0.597/0.539/0.651). The subset values in tab:gen-controls/tab:encoder2 (0.613/0.539/0.664, 0.523/0.399/0.553, 0.572/0.463/0.671) match genarm_rebase.json. Minor release inconsistency: the 'old' flag in harmonized_rows.jsonl marks 71 Raw-Pre'23 queries, while the paper's subset has 72.
Recomputed full-pool means from harmonized_rows.jsonl and compared them with the authors' original-query subset means in analysis/indexed/genarm_rebase.json, to 7 digits
Scale-up (tab:scaleup): wording effect +0.091/+0.111, repos positive 26/36 and 25/36, curated/raw premiums, date effects; 'the second encoder's curated premium is indistinguishable from zero, as it is on never-mined DeepSWE descriptions'
All 14 table cells match the artifacts within 1.1e-3 (e.g. jina wording +0.0905 [+0.0239,+0.1627] vs +0.091 [+0.024,+0.163]). Repos positive: 26/36 = 72.2% and 25/36 = 69.4%, which supports 'about 70%'. |date|/|wording| is 0.49 (jina, curated) and 0.43 (Qwen), which supports 'about half'. One inconsistency in the text: for Qwen3-Emb-0.6B the paper's own tab:external gives a DeepSWE premium of -0.078 [-0.144,-0.013], which is significantly negative, not 'indistinguishable from zero'. Only on the full 109-task set is Qwen's premium indistinguishable from zero (-0.049 [-0.099,+0.001]), and on that set the canonical encoder's premium is significantly positive (see check 02).
Compared all 14 table cells with the released analysis/indexed/scaleup_<enc>.json and mvd_<enc>.json; computed the repos-positive shares and date/wording ratios; compared the DeepSWE cross-reference with tab:external and deepswe_aggregate.json
In the agent loop, the four search tools land within about 0.04 exact-match of each other and no paired difference excludes zero (tab:agent-wrapper, n=96); LLM exact-match spans 0.033-0.300 (tab:agent, n=30).
All 16 cells of tab:agent-wrapper were recomputed from 4x96 remote_pull/agent_n100//result.json files and match within 0.0006. For example, exact-match is 13/16/14/17 of 96 = 0.1354/0.1667/0.1458/0.1771, matching the tex 0.135/0.167/0.146/0.177. Rescoring touched against gold reproduces every stored precision, recall, n_hit and exact_match value (0 mismatches). The per-query values in analysis/tau_stratified_agent.json agree with the result files. The exact-match spread across the four tools is 0.0417, or 0.0312 among the three index tools. None of the six paired differences excludes zero under either a query-level or a repo-clustered bootstrap (10,000 draws, seed 0, 9 repos); the largest is router - raw shell at +0.0417, query CI [-0.031, +0.115]. GRIM passes for every rate in both tables (n=30 and n=96). The tab:agent LLM range of 0.033-0.300 is quoted correctly. Tolerance: 0.0006. Notes: Only the qwen35-122B (think) arm is released. The 30-query sample and the no-think, kimi-k3 and gemma runs are not, so the tab:agent values could only be GRIM-checked; recomputing them would need agent_eval_30.jsonl and those runs. Released code differs from the text: the paper describes the router as using tau-hat 'to pick one of the two per query', but coreb_search.py implements a weighted RRF blend (alpha = 0.5clip((tau-0.15)/0.25) on BM25, so dense always gets weight >= 0.5). Unlike the raw-shell arm, the wrapper arms record no network_blocked or network_audit fields. The search-bypass audit logs 1 bypass in the router arm and 2 in the raw shell, where bypassing is allowed.
Rescored 4x96 released agent result.json files against gold; recomputed all tab:agent-wrapper cells, paired differences with query-level and repo-clustered bootstrap; GRIM on tab:agent rates; read coreb_search.py router code
All 26 arithmetic checks pass: the core and ext totals; candidates minus drops per pool; all 11 funnel column totals (2733 ... 1265); the repostats column totals (10200 files; 472/288/138/367); and Raw-Post files 9619 = 10200 - 581. The per-repository query counts in tab:repostats match the released harmonized rows (Raw-Post, Raw-Pre'23, Raw-Pre'22) and the canon202607 Cur-Pre per-query files for every repository. Lockbox (analysis/gen_tier_lockbox.json, labels as released): deepswe 109 queries / 88 repos, go 71/1, rust 200/1, ts 159/1, giving n=539 in 91 repos; TS/Go/Rust share 430/539 = 79.8%, against the claimed '80%'. Tolerance: exact integer counts; 0.5 pp on percentages. Notes: The figure of 2,236 raw candidates in the plan came from a hand sum. It does not appear in the tex as a single number, and the funnel totals it would come from all check out.
Integer arithmetic on all table totals (tab:cells, tab:funnel, tab:repostats) and cross-check of per-repository counts and lockbox composition against released per-query files
Generate-then-grep is cheaper than building a dense index below roughly 158 queries per repository (Qwen3-8B, ~1.5 s per call; ~4 min index for django)
The arithmetic is consistent: 240 s / 1.5 s = 160 and 240 s / 1.45 s (the producer default) = 166. 158 queries implies an index build of 229-237 s, i.e. 'about four minutes'. The index timing itself needs a GPU and the django clone, so it was not re-measured. Caveat on scope: the latency is for Qwen3-8B, which the paper says closes only 'a little over half' of the premium. The headline result (Table 3) uses qwen35-122B, whose per-call cost is not reported. The break-even therefore does not apply to the configuration that produces the headline numbers. It also ignores per-query embedding and BM25 indexing costs.
Recomputed the crossover from the stated inputs and from the default latency in the released producer scripts/measure_index_cost.py
The reference list is accurate (e.g., ma2023bm25dense supports lexical+dense hybrid pipelines).
tools/check_refs.py ran on all 54 references (work/refs_checked.json). Every reference resolves to an existing work: by DOI/Crossref, or by arXiv for the DataCite DOIs. The 8 web or misc entries had fuzzy Crossref misses, which are artefacts of the lookup. Two of them were spot-checked by web search, and both exist with matching authors: Terminal-Bench (arXiv 2601.11868, ICLR 2026) and SweRank (arXiv 2505.07849). 18_refs.log prints the bib entry and tex context for each flagged key. ma2023bm25dense is the bib entry Campese, Lauriola & Moschitti, 'Pre-Training Methods for Question Reranking' (EACL 2024, confirmed by Crossref). It is cited at L943 for pipelines that combine lexical and dense signals, which it does not support. Tolerance: n/a. Notes: Details are in work/ref_issues.json. Besides the mismatched citation, four tangential citations share co-author Siqiao Xue (WeaverBird, ShopRanker, FashionSigLIP2, Omnimodal survey) and support only generic statements in an 'Embeddings beyond code' paragraph.
Ran tools/check_refs.py on all 54 bib entries (Crossref/arXiv), web spot-checks of misc entries, and read tex context for flagged keys
Generate-then-grep closes the dense premium in every Python pool: tuned premiums +0.034/+0.059/+0.089/+0.125 become -0.081 (Cur-Pre, CI excludes 0), -0.054, -0.059, -0.062 after anchor expansion (Table 3).
All 20 Table 3 cells recompute within 0.0006. Cur-Pre comes from the per-query canon/bm25_sweep/gen_sweep files (n=472, 10 repos; recomputed nDCG equals the stored values exactly); the raw pools come from harmonized_rows.jsonl (n=288/138/367). Cur-Pre: dense 0.5320, BM25 0.4980, +anch 0.6134, premium +0.0340 [-0.024, +0.114], after -0.0814 with repo-clustered CI [-0.1199, -0.0229], which excludes 0 as the bold claims. Raw-Post after -0.0536 [-0.137, +0.034]; RA -0.0591 [-0.141, +0.046]; RB -0.0624 [-0.122, +0.011]; all cover 0, as the text says. BM25 gains from anchors are 0.115/0.112/0.148/0.188 (text: 0.11-0.19). The Cur-Pre c=1000 premium is +0.1209 (abstract +0.121). Tolerance: 0.0006 on 3-dp values. Notes: Minor: the text next to Table 3 (L621-623) gives 'with BM25 at the encoder's 1,000-character chunks, the premium after expansion is -0.052 to +0.012'. That range comes from the original-query subsets in genarm_rebase.json (B n=132: +0.0117; RB n=257: -0.0517), not from Table 3's full pools, where it is -0.048 to -0.012. The subset is not stated at that point.
Recomputed every Table 3 cell from released per-query files (canon202607, bm25_sweep, gen_sweep for Cur-Pre; harmonized_rows.jsonl for raw pools), with nDCG@10 recomputed from top-10 lists and qrels; repository-clustered bootstrap (10,000 draws)
DeepSWE (tab:external): jina premium +0.036 [-0.030,+0.100] 'not distinguishable from zero'; Qwen3-0.6B -0.078 [-0.144,-0.013]; BM25 wins 37.6% / 52.3%; table on 68 tasks in 56 repos (setup: 109 tasks, 88 repos)
The identical-corpus subset is reproduced exactly (68 tasks, 56 repos; jina dense 0.481, BM25 0.445, grep 0.435, prem +0.036 CI [-0.032,+0.100]; Qwen -0.078 CI [-0.143,-0.013]). But the 'BM25 wins' column is not from that subset: 37.6% and 52.3% are impossible for n=68 (GRIM) and equal 41/109 and 57/109; on the 68-task subset the win rates are 29/68 = 42.6% and 41/68 = 60.3%. So the text's '38-52%' is also from the 109-task set. On all 109 tasks (the set the Setup paragraph describes) the jina premium is +0.054 CI [+0.001,+0.104], which excludes zero, and Qwen's is -0.049 CI [-0.099,+0.000], which does not. The two significance verdicts flip with the task set, and the paper does not explain why the subset is used.
GRIM on win percentages; recomputed every column from released per-task files (deepswe_pull/retrieval/*) on all 109 tasks and on the identical-corpus subset; repository-clustered bootstrap, 10,000 draws, seed 20260812
Evaluation choices inflate the premium: whole-file BM25 cuts the curated premium +0.121 -> +0.034; counting tests as gold doubles the Raw-Post premium (+0.059 -> +0.136); under either symmetric label rule the curated and raw pools are indistinguishable (tab:test-gold); keeping tests raises every raw pool by 0.04-0.06 (tab:r8).
tab:test-gold reproduces from per-query canon/bm25_sweep files under the indexed source-only rule. Source rows: A +0.1209 / B(n=132) +0.1749, gap +0.0540 CI [-0.045, +0.198] (c=1000); tuned +0.0340 / +0.0740, gap +0.0400 CI [-0.059, +0.176]. Both are exact matches, using the producer's seed 20261010. The all-edited rows match analysis/test_gold_symmetric.json (A +0.1914 / B +0.2043, gap +0.0129 [-0.051, +0.122]; tuned +0.1652 / +0.1525, gap -0.0128 [-0.122, +0.096]). My recomputation, without the snapshot file-existence check, gives A +0.1896 / +0.1638. Mixed rows: +0.0834 and +0.1185 (tex +0.083, +0.118). Every symmetric-rule gap CI covers 0. The full pools reproduce from harmonized202610 out/ and qrels, with a guard that the source premiums equal harmonized_rows to 1e-16. tab:r8 tests-kept c=1000: RA +0.1279 -> +0.1913 and RB +0.1912 -> +0.2448, both exact. Tolerance: 0.0006 on 3-dp values. Notes: Minor issues: (a) Raw-Post tests-kept is +0.1857 at c=1000 (tex +0.192) and +0.1301 tuned (tex +0.136). The tuned value is still a 2.2x rise from +0.0588. I could not find a label variant that gives the paper's value (tried .py tests, any-extension tests, all .py files). (b) The tab:r8 rises are +0.033 (recomputed B) / +0.064 (RA) / +0.054 (RB). The caption's '0.04-0.06' excludes RA's 0.064 even with the paper's own numbers. (c) The text's '+0.025 -> +0.102' gap (L589-590) uses full-pool Raw-Post (0.0588 - 0.034 = 0.0248; 0.136 - 0.034 = 0.102), while tab:test-gold uses the 132 original queries (+0.040, +0.118). Both are internally consistent, but they are two different query sets.
Rebuilt tab:test-gold and tab:r8 from per-query canon/bm25_sweep files and harmonized202610 outputs under source-only and all-edited label rules; repository-clustered bootstrap with the producer's seed; compared with analysis/test_gold_symmetric.json
Intro F1: 'Against whole-file BM25 the encoder still leads the raw pools ...; on curated queries its interval covers zero' (premiums +0.059, +0.089, +0.125)
The point estimates match exactly: +0.0588, +0.0890, +0.1251 vs claimed +0.059, +0.089, +0.125 (tolerance 5e-4). But with the paper's own repository-clustered intervals only Raw-Pre'22 excludes zero ([+0.053,+0.219]). Raw-Post gives [-0.026,+0.146] and Raw-Pre'23 [-0.026,+0.229], the same as the authors' harmonized_overview.json. The Intro contrasts the raw pools with the curated pool, whose 'interval covers zero', which implies the raw-pool intervals do not. That holds for one of three raw pools under clustering, and for all three only under a query-level bootstrap.
Recomputed dense(c=1000) minus BM25(whole) per raw pool from the 793 released per-query rows (harmonized_rows.jsonl); independent repository-clustered and query-level bootstraps (numpy, 10,000 draws)
Cur-Pre labels are 'unchanged ... since its gold patch has no tests' (tab:r8), yet tab:test-gold and Sec. 5.1 report Cur-Pre all-edited premiums (+0.191 at c=1000, +0.165 tuned) that differ from source-only (+0.121, +0.034).
This is not a numerical inconsistency. The Cur-Pre gold sets in canon202607/jina05_cellA_c1000 contain 0 test files, so 'unchanged' holds for tab:r8, which keeps only the raw pools' tests. tab:test-gold's 'all edited' rule instead adds the SWE-bench test_patch files (analysis/swebv_test_files.json) to every Cur-Pre gold set. This follows test_gold_symmetric.py; the released json reports 613 files added across 465 queries, and without the existence filter all 472 queries change. The resulting premiums reproduce: json +0.1914 / +0.1652; my recomputation without the existence filter gives +0.1896 / +0.1638. Tex: +0.191 / +0.165. Tolerance: 0.0006 (json); 0.003 for my recomputation without the clone-existence filter. Notes: Reporting gap: the paper never says that Cur-Pre's 'edited tests' come from the SWE-bench test_patch (not mentioned anywhere in the tex). Read alongside 'its gold patch has no tests' (L280, L479, L1001), a reader cannot tell how the Cur-Pre all-edited premium (+0.165) was built.
Counted test files in the Cur-Pre gold sets; traced the all-edited rule through test_gold_symmetric.py and analysis/swebv_test_files.json; recomputed the all-edited premiums
SPLADE and ColBERTv2 'gain less from the same anchors' than BM25 (tex L1400-1403) and 'stay below the canonical encoder' (tex L670-672).
All 28 table values (SPLADE, ColBERT, BM25 and jina means, 4 cells) match analysis/indexed/encoder2_splade.json to 3 dp, and the SPLADE/ColBERT means recompute exactly from smoke_test_results/{splade,colbert}_202610 per-query lists under the indexed source-only label rule (n=472/132/72/257). The claims do not hold in every cell, though. On Raw-Post (B) ColBERTv2 gains +0.1473 from the anchors (0.4223->0.5695), more than BM25's +0.1258 (0.5386->0.6644). Recomputed per query, ColBERT gain minus BM25 gain on B is +0.0215, repo-clustered CI [-0.047, +0.086]. ColBERT gains less on A (+0.031), RA (+0.089) and RB (+0.121); SPLADE gains less in all four cells. For 'stay below the canonical encoder': on Raw-Pre'23 SPLADE equals the encoder (0.5234 vs 0.5233; jina-splade -0.0000, CI [-0.150, +0.123]), and jina-ColBERT is +0.070 with CI [-0.074, +0.176]. On the other cells both are significantly below the encoder. Tolerance: 0.0005 on 3-dp table values; exact on recomputed means. Notes: The direction of the overall argument (anchors help BM25 most) mostly holds, but the blanket 'gain less' is false for ColBERTv2 on Raw-Post, and 'stay below' is not true for SPLADE on Raw-Pre'23 (a tie).
Recomputed SPLADE/ColBERTv2/BM25/jina means with and without anchors from smoke_test_results per-query lists (source-only labels); per-query gain differences with repository-clustered bootstrap CIs
A tuned BM25 lowers the premium by ~0.089 (Cur-Pre) and ~0.101 (Raw-Post) for all 13 encoders; seven of thirteen are significantly below zero on Cur-Pre; no encoder keeps a significantly positive premium; whole-file BM25 is within 0.002 of the best chunk size.
Recomputed from per-query top-10 lists (canon202607/<enc>_cell{A,B}_c1000; bm25_sweep202610), using the indexed source-only label rule, n=472/132. All 14 tab:r5 BM25 cells match (e.g. A c=10,000 0.4998, file 0.4980, a 0.0018 gap; B file 0.5386, best). All 52 point premiums in tab:chunk-rebase match within 0.0006, and also match analysis/indexed/chunk_rebase_ext.json. 50 of the 52 CI bounds match, using seed 20261002. The other two differ by 0.001: jina-1.5b A [-0.025, +0.076] vs tex [-0.026, +0.075], and Qwen3-4B A upper +0.019 vs +0.018; the released json agrees with my values. The drop from c=1000 to tuned is 0.0888 (A) and 0.1009 (B) for every encoder. Seven encoders have tuned CI < 0 on Cur-Pre (F2LLM-0.6B, e5-large, F2LLM-4B, Qwen3-0.6B, C2LLM-7B, C2LLM-0.5B, gte-Qwen2-1.5B). None has a CI above 0. Tolerance: 0.0006 on 3-dp values. Notes: 'Tuned' means c=10,000 on Cur-Pre in this table (canonical +0.032), but whole files in Table 3 and the abstract (+0.034). Both are labelled 'tuned'; the difference is 0.002.
Recomputed tab:r5 BM25 chunk sweep and all 52 tab:chunk-rebase premiums and CIs for 13 encoders from per-query top-10 lists (canon202607, bm25_sweep202610); repository-clustered bootstrap, seed 20261002
Lockbox (539 queries, 91 repos): RRF fusions beat dense by +0.019 and +0.045 (labels as released) and by +0.027 and +0.062 (source-file labels); the frozen router gains +0.005 over fusion, with a CI covering 0, against oracle headroom +0.077; tab:budget dev column (604 queries).
Lockbox (analysis/gen_tier_lockbox.json, decision_model_v2_lockbox.json; n=539, 91 repos): BM25 0.4320, dense 0.5327, RRF(d,BM25) 0.5513, gen 0.5345, RRF(d,gen) 0.5778, router 0.5567. All match tab:budget. Router - fusion is +0.0054 with CI [-0.0139, +0.0135], which covers 0. Oracle - fusion is +0.0770. Fusions minus dense: +0.0187 [0.007, 0.059] and +0.0452 [0.026, 0.070]. With source-file labels (indexed, n=525): +0.0274 and +0.0616; repo-weighted +0.054 and +0.057, both CIs excluding 0 ('still beat it when repositories are weighted equally'). Dev column recomputed per query, following harmonized_dev_budget.py (RRF k=60) on 472 Cur-Pre + 132 original Raw-Post queries (604, 10 repos): BM25 0.5069, dense 0.5496, RRF(d,BM25) 0.6092, gen 0.6245, RRF(d,gen) 0.6384. These match 0.507/0.550/0.609/0.625/0.638. Tolerance: 0.0006 on 3-dp values. Notes: The reranker dev value (0.574) was not checked. The lockbox table columns mix label rules as the caption states: dev uses source-file labels, the lockbox uses labels as released.
Recomputed lockbox means, fusion and router deltas and CIs from analysis/gen_tier_lockbox.json and decision_model_v2_lockbox.json; recomputed dev column per query with RRF k=60 following harmonized_dev_budget.py
No predictor picks the winner per query: AUROC 0.47-0.54 (tab:router-pred: GBT features 0.51, embedding 0.52, qwen35-122B judge 0.54, gemma judge 0.51; every interval covers 0.5)
Recomputing from the raw judge outputs reproduces the authors' 612-query values exactly: qwen 0.5255 and gemma 0.5111, with 137 BM25 wins and 448 non-tied queries, as reported. The 604-query (indexed) values used in the table are qwen 0.539 [0.461,0.575], gemma 0.508 [0.432,0.554], embedding 0.522 [0.411,0.600] and GBT (structural7+tau-hat+ids+len) 0.511 [0.479,0.621]. They match 0.54/0.51/0.52/0.51. The other pooled feature sets range 0.468-0.515, consistent with 'other ... 0.47-0.51'. All pooled CIs cover 0.5. Some per-cell values do not: the GBT structural7 model on Cur-Pre alone has 0.570 [0.506,0.613]. The paper does not claim per-cell results. The 604-query version could not be recomputed independently, because the released queries file lists 612 queries.
Recomputed the two LLM judges' AUROCs independently (Mann-Whitney, average ranks) from the released raw judge outputs (p_lexical) and per-query dense/BM25 nDCG; compared the other predictors with the released indexed/router_llm_judge.json and indexed/router_ceiling.json