Update REPL.fuzzyscore to use string distance (#50412)
The old heuristics were not particularly helpful. These new heuristics
should be easier to reason about, since the score is between 0 and 1,
and also yield much more intuitive results.
Closes #49466
See #49562
Co-authored-by: TEC <git@tecosaur.net>
Co-authored-by: matthieugomez <gomez.matthieu@gmail.com>