Skip to content

docs, ui: update Linux benchmark detection rate to 75.8% with Carbon - #891

Merged
rgushchin merged 1 commit into
mainfrom
docs-carbon-benchmark
Nov 13, 2026
Merged

rgushchin merged 1 commit into
mainfrom
docs-carbon-benchmark

Conversation

@rgushchin

Copy link
Copy Markdown
Member

Summary

Updates the Linux kernel benchmark summary in README.md and static/index.html with the results of the full 999-entry benchmark run on Sashiko v0.9.3 (558b43bbe174) using Gemini 4 Carbon (gemini-4-carbon) at high reasoning effort (75.8% / 747 / 986 detected, up from 67.5% / 666 / 986 with Gemini 4 Argon).


Executive Comparison: Gemini 4 Carbon (v0.9.3) vs Gemini 4 Argon (v0.9.0)

Both runs evaluated the identical 999-entry projects/linux/benchmarks/benchmark.json suite (986 evaluated entries across 886 unique commits; 879 reviewed, 12 not reviewed due to baseline/patch application, 1 skipped without description) at effort = "high":

Metric Gemini 4 Argon (v0.9.0, fc1145f41926) Gemini 4 Carbon (v0.9.3, 558b43bbe174) Delta
Total Detected (DETECTED + PARTIAL) 666 / 986 (67.5%) 747 / 986 (75.8%) +81 bugs (+8.3 pp)
Missed 320 / 986 (32.5%) 239 / 986 (24.2%) -81 bugs (-25.3% fewer misses)
— not_raised (never raised by any stage) 277 177 -100 (-36.1%)
— wrongly_dismissed (raised, then dismissed) 34 52 +18
— preexisting_filtered 9 10 +1
Detected (Exact) (judged by run's model) 638 (64.7%) 517 (52.4%) -121 (see Judge Calibration note)
Partially Detected (judged by run's model) 28 (2.8%) 230 (23.4%) +202 (see Judge Calibration note)
Total Patch Findings 3,916 (4.5 avg/commit) 7,451 (8.5 avg/commit) +3,535 (+4.0 avg/commit)
Matched Target Findings 647 728 +81
Unmatched / Extra Findings 3,269 6,723 +3,454
Clean Target-Only Commits 136 / 879 (15.5%) 77 / 879 (8.8%) -59
Findings by Severity (C / H / M / L) 95 / 1,413 / 1,811 / 597 264 / 2,156 / 3,584 / 1,447 +169 / +743 / +1,773 / +850
Candidate Concerns Raised 18,485 36,197 +17,712 (1.96x)
Candidate Concerns Dismissed 1,682 7,228 +5,546 (4.30x)
Concern-to-Finding Conversion 21.2% 20.6% -0.6 pp

Note on Exact vs. Partial Judge Split: Phase 3 (evaluate_benchmark) runs the AI judge using the same model as the review run (gemini-4-carbon vs gemini-4-argon). Of the 650 bugs detected by both models, gemini-4-carbon-as-judge graded 178 of Argon's DETECTED entries as PARTIALLY_DETECTED whenever the finding framed downstream symptoms or caller paths slightly differently from the one-sentence ground-truth string, even when [F#] pinpointed the exact function and defect. Because Total Detected (DETECTED + PARTIALLY_DETECTED) is Sashiko's standard benchmark recall metric, the headline 75.8% (747 / 986) is invariant to the stricter exact-vs-partial split.


Head-to-Head Entry Transition Matrix (986 Evaluated Entries)

Argon Outcome \ Carbon Outcome Carbon DETECTED Carbon PARTIALLY_DETECTED Carbon MISSED Argon Total
Argon DETECTED 451 178 9 638
Argon PARTIALLY_DETECTED 4 17 7 28
Argon MISSED 62 35 223 320
Carbon Total 517 230 239 986
  • Detected by both models: 650 / 986 (65.9%)
  • Detected by Carbon only (Argon MISSED -> Carbon DETECTED/PARTIAL): 97 bugs (9.8%) (62 exact + 35 partial)
  • Detected by Argon only (Argon DETECTED/PARTIAL -> Carbon MISSED): 16 bugs (1.6%) (9 exact + 7 partial)
  • Win ratio (Carbon-only vs. Argon-only): 6.1 : 1 (97 vs 16), yielding a net gain of +81 bugs (+8.3 pp)
  • Union (detected by either model): 763 / 986 (77.4%)
  • Missed by both models: 223 / 986 (22.6%)

Stage Attribution & False Dismissal Breakdown

Detections by Analysis Stage (Multi-Stage Overlap Credit)

Specialist Stage Argon (v0.9.0) Carbon (v0.9.3) Delta
implementation 594 686 +92 (+15.5%)
execution-flow 596 683 +87 (+14.6%)
goal 578 678 +100 (+17.3%)
resources 528 660 +132 (+25.0%)
security 517 645 +128 (+24.8%)
locking 455 603 +148 (+32.5%)
hardware 337 492 +155 (+46.0%)

False Dismissals by Consolidation Stage (wrongly_dismissed)

Consolidation Stage Argon (34 total) Carbon (52 total)
verification (sharded verification + verification-1..3) 26 29 (9 + 9 + 10 + 1)
post-verification (post-verification-1..5) 8 (7 + 1) 23 (14 + 4 + 1 + 2 + 2)

Resource & Latency Distributions (Per Unique Reviewed Commit, n = 879)

Metric Model Total Mean P50 (Median) P90 Max Carbon / Argon (Mean)
Tokens In Argon 10.81B 12.30M 7.81M 29.05M 122.90M 1.00x
Carbon 30.12B 34.26M 27.90M 65.79M 218.38M 2.78x
Tokens Cached Argon 9.74B (90.1%) 11.09M 6.72M 26.74M 115.07M 1.00x
Carbon 27.62B (91.7%) 31.42M 25.57M 60.45M 186.36M 2.83x
Uncached Tokens In Argon 1.07B 1.22M 1.09M 2.31M 7.83M 1.00x
Carbon 2.50B 2.84M 2.33M 5.34M 32.02M 2.33x
Tokens Out (incl. thinking) Argon 156.16M 177.7k 156.0k 343.2k 677.9k 1.00x
Carbon 462.83M 526.5k 484.2k 837.0k 1.52M 2.96x
Turns Argon 131,211 149.3 129 266 580 1.00x
Carbon 343,420 390.7 372 598 1,343 2.62x
Duration (s) Argon 850,981s 968.1s (16.1m) 884s (14.7m) 1,671s (27.9m) 3,244s (54.1m) 1.00x
Carbon 2,435,704s 2,771.0s (46.2m) 2,629s (43.8m) 3,898s (65.0m) 12,707s (211.8m) 2.86x
  • Token budget headroom on Carbon (high effort): Out of 879 reviewed commits, 31 commits (3.5%) exceeded 1,000,000 output+thinking tokens (max 1,522,349), and 10 commits (1.1%) exceeded 10,000,000 uncached input+output tokens (max 33,064,943).

Top Subsystem Comparison (>= 8 Evaluated Bugs)

Subsystem Total Bugs Argon Detected Carbon Detected Delta
net 57 41 (71.9%) 48 (84.2%) +12.3 pp (+7)
mm 56 39 (69.6%) 43 (76.8%) +7.2 pp (+4)
rust 23 12 (52.2%) 17 (73.9%) +21.7 pp (+5)
gpio 19 11 (57.9%) 12 (63.2%) +5.3 pp (+1)
platform/x86 18 12 (66.7%) 13 (72.2%) +5.5 pp (+1)
drm/xe 16 12 (75.0%) 14 (87.5%) +12.5 pp (+2)
idpf 15 9 (60.0%) 11 (73.3%) +13.3 pp (+2)
ASoC 14 5 (35.7%) 9 (64.3%) +28.6 pp (+4)
can 14 12 (85.7%) 12 (85.7%) 0.0 pp
usb 14 8 (57.1%) 9 (64.3%) +7.2 pp (+1)
iio 13 11 (84.6%) 11 (84.6%) 0.0 pp
nfs 13 9 (69.2%) 9 (69.2%) 0.0 pp
arm64: dts 11 5 (45.5%) 7 (63.6%) +18.1 pp (+2)
net/mlx5e 11 6 (54.5%) 6 (54.5%) 0.0 pp
phy 11 8 (72.7%) 8 (72.7%) 0.0 pp
btrfs 10 8 (80.0%) 8 (80.0%) 0.0 pp
drm/amdgpu 10 7 (70.0%) 7 (70.0%) 0.0 pp
sched 10 9 (90.0%) 9 (90.0%) 0.0 pp
ALSA 9 5 (55.6%) 7 (77.8%) +22.2 pp (+2)
block 9 6 (66.7%) 8 (88.9%) +22.2 pp (+2)
nfsd 9 8 (88.9%) 8 (88.9%) 0.0 pp
riscv 9 6 (66.7%) 7 (77.8%) +11.1 pp (+1)
scripts 9 6 (66.7%) 7 (77.8%) +11.1 pp (+1)
ice 8 8 (100.0%) 7 (87.5%) -12.5 pp (-1)
scsi 8 5 (62.5%) 7 (87.5%) +25.0 pp (+2)
selftests 8 5 (62.5%) 8 (100.0%) +37.5 pp (+3)

Update the Review Quality benchmark table in README.md and the What's
New summary in static/index.html to record the 75.8% Linux kernel
benchmark detection rate achieved with Sashiko v0.9.3 and Gemini 4
Carbon at high reasoning effort.

On the full 999-entry Linux kernel benchmark suite (986 evaluated
entries across 886 unique commits, 879 reviewed) using Sashiko v0.9.3
(558b43b) with Gemini 4 Carbon and high reasoning effort, Sashiko
detected 747 of 986 bugs (75.8%, consisting of 517 exact and 230
partial matches, up from 666 of 986 / 67.5% on Gemini 4 Argon),
cutting missed bugs by 25.3% (320 down to 239) and unraised misses by
36.1% (277 down to 177).

Signed-off-by: Roman Gushchin <roman@kernel.org>
@sashiko-bot

sashiko-bot Bot commented Nov 13, 2026

Copy link
Copy Markdown

Sashiko review

✓ No issues found across 1 commit.

Full review log on sashiko.sashiko.dev

@rgushchin
rgushchin merged commit b43d088 into main Nov 13, 2026
1 check passed
@rgushchin
rgushchin deleted the docs-carbon-benchmark branch November 16, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant