Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

fuzz.partial_ratio('abc', 'abacabca') #236

Open
ypw-rich opened this issue May 8, 2019 · 2 comments
Open

fuzz.partial_ratio('abc', 'abacabca') #236

ypw-rich opened this issue May 8, 2019 · 2 comments

Comments

@ypw-rich
Copy link

ypw-rich commented May 8, 2019

fuzz.partial_ratio('abc', 'abacabca')
# 67

It should return 100.

@ypw-rich
Copy link
Author

ypw-rich commented May 8, 2019

After pip uninstall python-Levenshtein it returns 100.

@ypw-rich
Copy link
Author

ypw-rich commented May 8, 2019

another problem:

fuzz.partial_ratio('ABCDE', """
CDaaEABEBEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
ABCDE
AB""")
# 40

should return 100.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant