[issue46667] SequenceMatcher & autojunk - false negative
Jonathan
report at bugs.python.org
Sun Feb 6 17:06:38 EST 2022
Jonathan <bugreports at lightpear.com> added the comment:
(Like the idiot I am, the example code is wrong. `autojunk` parameter should *not* be set for either of them to get the stated wrong results).
In place of "UNIQUESTRING", any unique 3 character string triggers it (QQQ, EEE, ZQU...). And in those cases you get a ratio of 0.008! (and 0.993 in the other direction!)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46667>
_______________________________________
More information about the Python-bugs-list
mailing list