Commit Graph
2 Commits
Author SHA1 Message Date
Claude b3b8d301ff Fix #287 (complex fallback) and #288 (species epithet scoring bias)
#287: as.mo() now strips " complex" from input when that exact complex
is not in the taxonomy and retries with the bare name, so inputs like
"Proteus vulgaris complex" no longer return NA.

#288: mo_matching_score() applies a ×2 bonus when the input has an
abbreviated genus (≤3 chars) and the candidate's species epithet exactly
matches the input species epithet. This ensures "S. apiospermum" resolves
to Scedosporium apiospermum rather than Staphylococcus aureus, overcoming
the kingdom/prevalence denominator bias in favour of common bacteria.

https://claude.ai/code/session_01VH4Ju4Xq9aW1AHuoVbjGEo
2026-05-06 15:11:31 +00:00
Claude 9707450b89 Fix emend. author bug in get_author_year() and update ref documentation
Strip emend. and everything after it so the ref column retains the
combination authority, not the emendation author. Update data.R and
mo_property.R docs to describe the correct semantics of the ref field.

https://claude.ai/code/session_01VH4Ju4Xq9aW1AHuoVbjGEo
2026-05-02 14:34:45 +00:00