lietzsche;perron

updated 2026-11-26·5 min read

Hub-Gold & SWE-bench Benchmarks

Hub-Gold Dissection Benchmark partitions (H vs N), HEADLINE macro-averaging, CLI execution, and N = 344 SWE-bench Verified localization findings.

Here is the honest punchline from the Hub-Gold Dissection Benchmark (data_release/hubgold_v1.json) before reading any table: on the heldout partition (N = 150), every single method scored 0.0% on hub-located defects (Acc@10(H)), and plain Okapi BM25 (18.1% on non-hubs, 9.1% HEADLINE) still beat Perron Static (11.4%, 5.7% HEADLINE).

Turns out, most of Standard PPR’s early collapse (dropping to 1.0% on dev_val and 10.1% in Lite ablations) wasn’t purely hub topology. Simply adding a sharp top-25 softmax prior and masking out test nodes jumped Standard PPR to 48.5%, right next to Perron’s 47.7%. Perron works best as a sub-5 ms stabilizer when priors are noisy or uncalibrated.

Hub-Blindness vs. Hub-Collapse

In large Python codebases, fewer than 1%1\% of symbols attract most incoming call and import edges. Graph retrievers usually fail in one of two ways:

  1. Stationary Hub Collapse: Unnormalized walks (Standard PPR) pile mass on global hubs (HSI≤60%\text{HSI} \le 60\%), burying localized bugs under logger and helper boilerplate.
  2. Hard Blocklist Blindness: Dropping high-degree nodes pushes HSI\text{HSI} near 99%99\%, albeit at the cost of 0.0% accuracy whenever a bug actually sits inside a high-degree dispatcher.

To catch both failure modes at once, Hub-Gold averages accuracy equally across hub targets (HH) and non-hub targets (NN) via HEADLINE=12(Acc@10(H)+Acc@10(N))\text{HEADLINE} = \frac{1}{2}(\text{Acc}@10(H) + \text{Acc}@10(N)).

perron bench --method perron --split dev_val
perron bench --method bm25 --split heldout

Hub-Gold Results (data_release/hubgold_v1.json)

Dev-Val Partition (N=100N = 100)

MethodAcc@10(H)\text{Acc}@10(H)Acc@10(N)\text{Acc}@10(N)HSI@10\text{HSI}@10HEADLINE\text{HEADLINE}
BM25 (Lexical)33.3%19.6%99.7%26.5%
Standard PPR33.3%1.0%60.0%17.2%
Degree-Norm PPR0.0%3.1%97.1%1.5%
Perron Static0.0%13.4%92.3%6.7%
Perron Adaptive33.3%7.2%82.4%20.3%

Held-out Partition (N=150N = 150)

MethodAcc@10(H)\text{Acc}@10(H)Acc@10(N)\text{Acc}@10(N)HSI@10\text{HSI}@10HEADLINE\text{HEADLINE}
BM25 (Lexical)0.0%18.1%99.9%9.1%
Standard PPR0.0%0.0%59.0%0.0%
Degree-Norm PPR0.0%3.4%96.9%1.7%
Perron Static0.0%11.4%93.2%5.7%
Perron Adaptive0.0%9.4%82.2%4.7%

SWE-bench Verified Localization (N=344N = 344)

Moving from retrieval to full Gemma 4 localization across 344 callable Verified tasks (K≤4,096K \le 4,096 tokens), upstream candidate recall drops 41.6 pp41.6\text{ pp} before the LLM even sees a prompt, whereas downstream reranking only loses 11.3 pp11.3\text{ pp} (3.68×3.68\times smaller).

Four-stage candidate retention funnel showing 100 percent to 51.2 percent seeds, 58.4 percent 1-hop graph reachability, and 47.1 percent top-5 reranking retention
four-stage candidate localization attrition across 344 swe-bench verified tasks, isolating the 3.68x upstream retrieval bottleneck.
Retrieval & Localization ArmPool (MM)Acc@5 (Hits)Δ\Delta vs BM25Statistical / Structural NoteHSI@10
Depth BM25 (A2)M≤50M \le 5045.06% (155/344)Ref.Baseline reference0.0%
Perron Pointwise (A4, 1-Hop)M≤50M \le 5047.09% (162/344)+2.03 ppHolm p=0.2869p = 0.2869, McNemar p=0.1435p = 0.143599.5%
Perron Multi-Step (A6, Spectral)M≤50M \le 5045.64% (157/344)+0.58 ppTransitive distractor dilution (t≥2t \ge 2)99.5%
Top-10 Oracle Union (A1 U A4)M≤50M \le 5054.36% (187/344)+9.30 ppUpstream boundary ceiling99.5%
Monograph page 5 presenting Table 1 protocol locks and Table 2 SWE-bench Verified N=344 reranking results
monograph page 5 documenting protocol locks (table 1) and swe-bench verified n = 344 candidate reranking arms (table 2).

On un-named Stratum C tasks (N=131N = 131), switching Gemma 4 E4B from listwise JSON generation to pointwise log-odds scoring over pruned A4[:15] pools hits 22.90% Acc@5, 12.21% Top-1, and MRR 0.1740 (p=0.0129p = 0.0129 vs. listwise C1 at 15.27%15.27\%). One caveat on that number: the lift comes from pointwise scoring replacing listwise generation (where unbackfilled JSON syntax broke on 90.8% of tasks and positional primacy dropped from 75.0% in slots 1-5 to 0.0% in slots 11-15), whereas matched depth BM25 (A2[:25]) still hit 23.66% vs A4[:25] at 22.90% (p=1.0000p = 1.0000), and B0[:50] hit 34.35%.

Cutting the listwise pool down to M=15M = 15 (AUC∗=0.714\text{AUC}^\ast = 0.714, 40%40\% fewer stub tokens) alongside short native reasoning (≤180\le 180 tokens) does help 4B listwise selection, lifting Top-1 from 4.58%4.58\% to 9.92%9.92\% (13/13113/131, p=0.0156p = 0.0156) and tightening mean target rank from 5.88→5.32→3.745.88 \to 5.32 \to 3.74.

Proceed to Baseline Audit & Diagnostic Ledger for the 14-baseline toy graph and dev_val diagnostic matrix.

Search wiki and portfolio

type to search across all entries.