<commit_before>module Helper
  HOOKS = Dir['hooks/*'].map{|path| path.split('/').last}
  HOOKS_PATH = '.git/hooks/'


  def error(str)
    $stderr.puts "\033[31m#{str}\033[0m"
  end

  def success(str)
    puts "\033[32m#{str}\033[0m"
  end


  def all_repos<commit_msg>Don't use $stderr for error output<commit_after>module Helper
  HOOKS = Dir['hooks/*'].map{|path| path.split('/').last}
  HOOKS_PATH = '.git/hooks/'


  def error(str)
    puts "\033[31m#{str}\033[0m"
  end

  def success(str)
    puts "\033[32m#{str}\033[0m"
  end


  def all_repos
{'fraction_non_alphanumeric': 0.18806509945750452, 'fraction_numerical': 0.0650994575045208, 'mean_word_length': 3.432, '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': '279076', 'n_tokens_mistral': 255, 'n_tokens_neox': 230, 'n_words': 42}