<commit_before>json.repo @repo
json.compare @compare
json.compare_diff @compare_diff
json.commit @commit
json.commit_diff @commit_diff
json.commit_sha CurrentCommit<commit_msg>Force UTF-8 encoding and ignore errors<commit_after>json.repo @repo
json.compare @compare
json.compare_diff @compare_diff.encode("utf-8", :invalid => :replace, :undef => :replace, :replace => "?")
json.commit @commit
json.commit_diff @commit_diff.encode("utf-8", :invalid => :replace, :undef => :replace, :replace => "?")
json.commit_sha CurrentCommit
{'fraction_non_alphanumeric': 0.14231499051233396, 'fraction_numerical': 0.0056925996204933585, 'mean_word_length': 7.380952380952381, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4611966', 'n_tokens_mistral': 165, 'n_tokens_neox': 165, 'n_words': 38}