Skip to content

score_cutoff ? #209

Closed Answered by maxbachmann
shubhamscifi asked this question in Q&A
Apr 13, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Yes the output should not be None in this case. The reason for this issue is that I perform some calculations using the score_cutoff internally to figure out thresholds to quit execution early. I currently do not take into account the imprecision caused by floating point math. I still need to think about how to address this in an optimal way.

For now a workaround would be to select a slightly lower value like 79.99, which is not affected by this small imprecision. However this should definitely be fixed in RapidFuzz going forward.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shubhamscifi
Comment options

@maxbachmann
Comment options

Answer selected by maxbachmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants