Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong score in Partial Ratio #106

Open
fedxyz opened this issue Mar 15, 2024 · 0 comments
Open

Wrong score in Partial Ratio #106

fedxyz opened this issue Mar 15, 2024 · 0 comments

Comments

@fedxyz
Copy link

fedxyz commented Mar 15, 2024

Hi,

I am using 1.4.0, this gives a wrong results with partial ratio:

FuzzySearch.partialRatio("ttttttttt virtuale ggggggggggggvo zizzrztuta mmmmmle", "virtuale"); 

the score is 50, it has to be 100 imho.

The python version returns 100 too:

>>> fuzz.partial_ratio("ttttttttt virtuale ggggggggggggvo zizzrztuta mmmmmle", "virtuale")
100

Thanks for the help

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

No branches or pull requests

1 participant