Repository navigation
msbuddy 1.1.0
All four replacement models improve paired top-1 accuracy on 2,589 held-out spectra (2,048 formulas), with positive formula-block confidence intervals.
| Evidence | Previous top-1 | New top-1 | Candidate limit |
|---|---|---|---|
| MS1 + MS2 | 83.93% | 89.65% | 50 |
| MS1 only | 83.08% | 85.28% | 50 |
| MS2 only | 75.55% | 82.46% | 25 |
| Mass only | 72.65% | 73.66% | 75 |
MS1-only and mass-only replacements use validation-selected ensembles. Halogen accuracy improves in every evidence mode; enable halogen=True or --halogen.
Confidence now reserves probability for an absent correct formula. Weak singleton candidates no longer become certain through normalization. Pooled calibration is not a guarantee for every chemical/adduct subgroup; multimer results require particular care. See the attached report and model card.
Adds max_candidates / --max-candidates, bounded fragment matching, verified atomic model downloads, preserved configuration updates, and legacy compatibility.
Validation: 107 regression tests across multiple environments; 272 real-model API and 96 CLI comparisons; isolated wheel/source installation and strict documentation checks.
Install with python -m pip install --upgrade msbuddy==1.1.0. Model assets are versioned in the model-data release.