Support rapidfuzz>=2.8.0 #3202
Labels
1.x
breaking change
Contributions wanted!
Looking for external contributions
topic:dependencies
topic:eval
type:refactor
Not necessarily visible to the users
Is your feature request related to a problem? Please describe.
rapidfuzz 2.8.0
introduced a fix that should make the custom implementation ofboost_split_overlap
inhaystack.utils.calculate_context_similarity
obsolete.Describe the solution you'd like
rapidfuzz<2.8.0
boost_split_overlap
inhaystack.utils.calculate_context_similarity
others/test_utils.py
pass, set this threshold as default value tohaystack.utils.match_context
,haystack.utils.match_contexts
,haystack.Pipeline.eval
,haystack.Pipeline.execute_eval_run
andhaystack.Pipeline._build_eval_dataframe
numpy.random
by settingnumpy.random.seed
before executingDescribe alternatives you've considered
Additional context
Tests in
others/test_utils.py
about context similarity should not need to be changed. Getting rid of some imprecisions (e.g. accuracy assessments in tests from 99% to 100%) would be appreciatedThe text was updated successfully, but these errors were encountered: