<commit_before># gem install jaro_winkler fuzzystringmatch amatch hotwater

require "../src/jaro_winkler"

ary = [{"al", "al"}, {"martha", "marhta"}, {"jones", "johnson"},
  {"abcvwxyz", "cabvwxyz"}, {"dwayne", "duane"}, {"dixon", "dicksonx"}, {"fvie", "ten"}]

jaro = JaroWinkler.new

def test(jaro, str1, str2, n = 100000)<commit_msg>formatter<commit_after># gem install jaro_winkler fuzzystringmatch amatch hotwater

require "../src/jaro_winkler"

ary = [{"al", "al"}, {"martha", "marhta"}, {"jones", "johnson"},
       {"abcvwxyz", "cabvwxyz"}, {"dwayne", "duane"}, {"dixon", "dicksonx"}, {"fvie", "ten"}]

jaro = JaroWinkler.new

def test(jaro, str1, str2, n = 100000)
{'fraction_non_alphanumeric': 0.22585438335809807, 'fraction_numerical': 0.0237741456166419, 'mean_word_length': 6.020833333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5061033', 'n_tokens_mistral': 300, 'n_tokens_neox': 271, 'n_words': 63}