How it works
Bayes scanning
The Bayesian classifier is an ML classifier trained on patches (diffs) from projects. It learns statistical associations between code tokens/contexts and patch changes to score lines with a probability that they correspond to a defect. In practice this denotes suspicious lines in the ML heatmap and complements deterministic AST/heuristic checks. (See Karma Automated source code defect identification method.)
EngineBayesian classifier (ML)
TrainingML classifier trained on patches
UIML heatmap
ImportImport directly from the web in Karma Pro (paste full model URL) or use a local file
Models
Available Bayesian models
You can copy the full URL of any model below and import it directly from the web in Karma Pro.
Model fileSizeFull URL (copy)
If the list doesn’t load, open the Hugging Face page directly: cphr/KarmaPro/tree/main.