py_string_similarity returns percentage correctly