Breakwater

Breakwater / Codeflash

Corpus · merged AI-written speedups · Codeflash

Every one of these PRs says it's faster.

10 speedup PRs written by an AI optimiser and merged by maintainers. There is no list of known bugs here: Breakwater gets the same diff a reviewer saw, and the question is simply how many change behaviour or don't deliver. Claims are the PR titles; measurements are cachegrind instruction counts.

10
merged AI speedup PRs audited
opened by the Codeflash bot, merged by maintainers
4/10
change behaviour
every class adjudicated; regression tests verified
1
reverses on valid input
complexity regression, up to 363× the instructions
$0.88
Nemotron cost of these results
Token Factory, backtest + adjudication; excludes superseded runs

Every PR

PRChangeClaimVerdictClaimed path Worst valid input familyTestsBackendCost
Math-Interpreter#1⚡️ Speed up method Lexer.generate_number by 11%hoopinwhoopin/Math-Interpreter · 2025-02-0911% fasterBLOCK0.88×1.05×Each call to generate_number now creates a list and calls ''.join for 3Sandboxes$0.066
micropie#3⚡️ Speed up method Server._parse_cookies by 6%hoopinwhoopin/micropie · 2025-02-036% fasterREVIEW1.01×1.60×many_empty_segments–Sandboxes$0.053
caddy-feeds#4⚡️ Speed up function is_excluded by 17,376%fabriziosalmi/caddy-feeds · 2025-02-0917,376% fasterBLOCK0.0032×–1Sandboxes$0.055
patterns#9⚡️ Speed up function validate_regex by 9,172%fabriziosalmi/patterns · 2025-02-099,172% fasterno divergence0.23×––Sandboxes$0.031
patterns#12⚡️ Speed up function sanitize_pattern by 11,547%fabriziosalmi/patterns · 2025-02-0911,547% fasterBLOCK0.058×–1Sandboxes$0.067
rendercv#17 †⚡️ Speed up function validate_typst_dimension by 59%IanHollow/rendercv · 2026-08-1059% fasterno divergence0.56×––Sandboxes$0.032
rendercv#18 †⚡️ Speed up function validate_date_field by 47%IanHollow/rendercv · 2026-08-1047% fasterPASS0.64×1.11×present_literal–Sandboxes$0.084
rendercv#19 †⚡️ Speed up function validate_start_and_end_date_fields by 34%IanHollow/rendercv · 2026-08-1034% fasterno divergence0.46×––Sandboxes$0.13
json_repair#113⚡️ Speed up method ObjectComparer.is_same_object by 109%mangiucugna/json_repair · 2025-05-16109% fasterBLOCK0.56×363.31× complexityswap position of the mismatched key within dict ordering–Sandboxes$0.23
pyhs3#154perf: Speed up function parse_expression by 785%scipp-atlas/pyhs3 · 2026-01-26785% fasterno divergenceunmeasuredunmeasured: caching makes per-call cost depend on hit rate–Sandboxes$0.13