Skip to content

Treat explicit [Bugfix] / Bugfix: markers as fixes; recall 11 → 12 of 71 - #56

Merged
Sym-jay merged 1 commit into
mainfrom
bugfix-tag
Nov 27, 2026
Merged

Sym-jay merged 1 commit into
mainfrom
bugfix-tag

Conversation

@Sym-jay

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

Copy link
Copy Markdown
Owner

This is the first rule change judged on recall as well as precision.

The bug: [Bugfix] Dropped updates inside a suspended tree (#18384) was rated a feature. The [Tag] skip added in 0.5.0 for subjects like [DevTools] upgrade … read [Bugfix] as a project tag, then read "Dropped" as a feature verb.

The rule: an explicit bug-fix marker at the start of the subject makes a commit a fix, unless it's routine work (docs, tests). The markers are [Bugfix], [Bug fix], [Bug], [Hotfix], [Fix], Bugfix: and Hotfix: (_FIX_MARKER in classify.py).

  • About 60 commits in the five reference repos carry one, almost all in React.
  • Django has none, so its results can't change, and I didn't re-run it.
Before With the rule
Real regressions warned on target 11/71 12/71 (17%)
Within Blot's model 11/25 12/27 (44%)
Precision (labelled replays) 69/124 (55.6%) 69/125 (55.2%)

Recall changes (bench/regressions/facebook-react.json):

  • 553440bd1 "Remove blocking mode" was a miss and is now a hit, on target. Blot warns on removing code from fix #19164, and the bug was that removal (an API still used internally).
  • 6c4bbc783 "[Re-land] prerendering" was a miss and is now a hit, elsewhere. Its revert names no bug location, and Measure recall on real regressions (15% raw, 44% within Blot's model) #53's convention counts such reverts as "elsewhere".
  • 0f1856c49 gained a second warning and stays "hit, elsewhere".
  • Two of these were "outside the model" only because the classifier didn't recognise Bugfix: commits.

Precision: there is one new replay warning, labelled noise: React e730b5e65, an assignment chain reflowed onto other lines. Flask, requests and Express replays are unchanged.

Decision: keep it. Precision slips by one noise warning, but the rule is about as narrow as a rule can be, and the recall gain is real. bench/RESULTS.md and CLAUDE.md record the trade-off.

Checked:

  • pytest passes, with 5 new classifier cases (including [DevTools] Dropped … staying a non-fix).
  • Recall was re-run for Flask, requests, Express and React; only React's results changed.

🤖 Generated with Claude Code

…f 71

The [Tag] skip for feature subjects read "[Bugfix] Dropped updates ..." as a
project tag plus a feature verb. An explicit bug-fix marker now makes a commit
a fix unless it is routine. Measured on both sides: one more real regression
warned on target (React 553440bd1), two React misses move inside Blot's model,
and precision goes from 69/124 to 69/125 (one reflow warning, labelled noise).
@Sym-jay
Sym-jay merged commit d33108b into main Nov 27, 2026
7 checks passed
@Sym-jay
Sym-jay deleted the bugfix-tag branch November 27, 2026 16:08
@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