<commit_before>

# Rails.backtrace_cleaner.add_silencer do |line|
#   pp (line !~ line.gsub(Rails.root, '')), line, Rails.root
#   (line !~ Rails::BacktraceCleaner::APP_DIRS_PATTERN)
# end

Rails.backtrace_cleaner.remove_silencers!
Rails.backtrace_cleaner.add_filter { |line| line.gsub(Rails.root.to_s, '<root>') }
Rails.backtrace_cleaner.add_silencer { |line| line.index('<root>').nil? and line.index('/') == 0 }
Rails.backtrace_cleaner.add_silencer { |line| line.index('<root>/vendor/') == 0 }<commit_msg>.<commit_after>Rails.backtrace_cleaner.remove_silencers!
{'fraction_non_alphanumeric': 0.17584369449378331, 'fraction_numerical': 0.003552397868561279, 'mean_word_length': 6.621621621621622, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '7577737', 'n_tokens_mistral': 225, 'n_tokens_neox': 218, 'n_words': 28}