Skip to content

Conversation

@rolandwalker
Copy link
Contributor

@rolandwalker rolandwalker commented Jan 21, 2026

Description

  • Don't attempt true fuzzy matches until the given text is 4+ characters.
  • Require a rapidfuzz WRatio score of 80+.
  • Limit rapidfuzz candidates to 20 or fewer.
  • Don't report rapidfuzz candidates which are much shorter than the given text.

Example:
last image

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format && uv run mypy --install-types . to lint and format the code.

@rolandwalker rolandwalker self-assigned this Jan 21, 2026
 * don't attempt true fuzzy matches until the given text is 4+
   characters
 * require a rapidfuzz WRatio score of 80+
 * limit rapidfuzz candidates to 20 or fewer
 * don't report rapidfuzz candidates which are much shorter than the
   given text
@rolandwalker rolandwalker force-pushed the RW/true-fuzzy-completions branch from 884a9c3 to 854e7df Compare January 21, 2026 15:29
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.

2 participants