langtest.utils.custom_types.helpers.is_pass_string_distance#

is_pass_string_distance(answer: str, prediction: str, selected_distance: str, threshold: float | None = None)#

Check if the sample passes based on string distance.