Skip to content

Measure --github on precision and recall; add regressions.py run --github - #55

Merged
Sym-jay merged 1 commit into
mainfrom
regressions-github
Nov 27, 2026
Merged

Sym-jay merged 1 commit into
mainfrom
regressions-github

Conversation

@Sym-jay

@Sym-jay Sym-jay commented Nov 27, 2026

Copy link
Copy Markdown
Owner

This PR re-measures what GitHub issue/PR labels do, on today's code (after #45), and for the first time against the recall set from #53. The only code change is a --github option for bench/regressions.py run, mirroring blot bench --replay --github: it enriches the replay index with issue/PR labels before checking. Blot itself is unchanged.

Without --github With --github
Precision, all five repos 69/124 (55.6%) 78/143 (54.5%): +9 useful, +10 noise
Real regressions warned on target 11/71 12/71
  • The four GitHub-tracked repos were re-run; Django's GitHub Issues are off, so it's unchanged.
  • Precision is about neutral: labels mostly upgrade commits (194 upgraded, 4 demoted), adding about as much noise as signal.
  • Recall gains one regression, React 553440bd1. The warning lands on the hunk the later fix touched, citing 9d67847 "[Bugfix] Dropped updates inside a suspended tree". Two other culprits now warn too, but both were judged "not a bug", so they don't count.
  • Decision: --github stays an opt-in.
  • A new offline lead: Blot misreads [Bugfix] … as a project tag like [DevTools], so a subject that plainly says "bug fix" isn't treated as one. That's worth measuring on its own.
  • Labels: the 6 new replay warnings are in bench/labels/: 2 useful (Express's improved open-redirect fix changing String(url) from fix #5554, on two branches) and 4 noise.
  • Write-ups: bench/RESULTS.md and the CLAUDE.md State section.

Checked: tests/test_regressions.py passes. The stored regression judgements are unchanged, because the --github run used copies of those files.

🤖 Generated with Claude Code

@Sym-jay
Sym-jay merged commit 7dc6b0f into main Nov 27, 2026
7 checks passed
@Sym-jay
Sym-jay deleted the regressions-github branch November 27, 2026 15:41
@Sym-jay Sym-jay mentioned this pull request Nov 27, 2026
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