Skip to main content

Module classify

Module classify 

Source
Available on crate feature vcs-git only.
Expand description

Commit-message classification: bug-fix, security-fix, and revert detection via curated keyword regexes.

The keyword approach follows the commit-message classification literature (Pascarella/Bavota for bug-fix detection; the Sentence-Level VFC studies and PySecDB for security fixes). It is a coarse signal by design — full SZZ bug-inducing-commit detection is explicitly out of scope for v1 (issue #328) — so the patterns favour precision (word-boundary anchored, false-positive-aware) over recall.

Structs§

Classification
What a single commit message matched.

Functions§

classify
Classify a raw commit message.