You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes making one small mistake can be interpreted as a much larger mistake. This is due to the diff algorithm used, which does not guarantee to find the smallest possible diff.
It may be necessary to implement a specialised diff algorithm rather than use difflib.
The text was updated successfully, but these errors were encountered:
As an example of the problem, here's a complete session:
$ python score.py "PWLU I.T MLSS.ST IRKJ .UTTMJ IRTSLMNU SI WWLJLU ..MWITJU TPOPAP.I MOW TSMMP AKL MTLRMO PATSSW KUO MNWPSULL KOAJ WKKLP J" "pwlu i.t mlss.st irkj .uttmj irtslmnu si wwljlu ..mwitju tlli mow tsmmp l mtlrmo passw kuo mnwpsull koaj wkklp j"
The same session with characters before the first mistake removed:
$ python score.py "..MWITJU TPOPAP.I MOW TSMMP AKL MTLRMO PATSSW KUO MNWPSULL KOAJ WKKLP J" "..mwitju tlli mow tsmmp l mtlrmo passw kuo mnwpsull koaj wkklp j"
Sometimes making one small mistake can be interpreted as a much larger mistake. This is due to the diff algorithm used, which does not guarantee to find the smallest possible diff.
It may be necessary to implement a specialised diff algorithm rather than use difflib.
The text was updated successfully, but these errors were encountered: