A little improvement on Fuzzy Scoring
Closed this issue · 0 comments
ShindouMihou commented
Currently, Fuzzy Scoring (the multiple one used in VelenUtils) has a little thing where if two participants have the same score, it will pick the first one which may sound normal but for cases like hel
-> hello
, help
, the scoring system will pick hello
instead of help
.
Solution:
Add a little if check to the scoring system where it will select the shortest length if an equals happens since the shortest length is more of a reasonable choice than the first one, instead of hel
-> hello
, help
, we'd instead get: hel
-> help
, hello
which sounds more correct to me.