<commit_before>module Fezzik
  COLORS = { red: 1, green: 2 }
  def self.color_string(string, color)
    return string unless STDOUT.isatty
    "\e[01;#{COLORS[color]+30}m#{string}\e[m"
  end
end<commit_msg>Don't use 1.9 style hash for 1.8 compat<commit_after>module Fezzik
  COLORS = { :red => 1, :green => 2 }
  def self.color_string(string, color)
    return string unless STDOUT.isatty
    "\e[01;#{COLORS[color]+30}m#{string}\e[m"
  end
end
{'fraction_non_alphanumeric': 0.15090090090090091, 'fraction_numerical': 0.036036036036036036, 'mean_word_length': 4.174418604651163, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4471292', 'n_tokens_mistral': 184, 'n_tokens_neox': 176, 'n_words': 40}