<commit_before># desc "Explaining what the task does"
namespace :query_reviewer do
  desc "Create a default config/query_reviewer.yml"
  task :setup do
    FileUtils.copy(File.join(File.dirname(__FILE__), "../..", "query_reviewer_defaults.yml"), File.join(RAILS_ROOT, "config", "query_reviewer.yml"))
  end  
end<commit_msg>Cleanup rake task a bit<commit_after># desc "Explaining what the task does"
namespace :query_reviewer do
  desc "Create a default config/query_reviewer.yml"
  task :setup do
    defaults_path = File.join(File.dirname(__FILE__), "../..", "query_reviewer_defaults.yml")
    dest_path = File.join(RAILS_ROOT, "config", "query_reviewer.yml")
    FileUtils.copy(defaults_path, dest_path)
  end
end
{'fraction_non_alphanumeric': 0.12569832402234637, 'fraction_numerical': 0.0, 'mean_word_length': 5.128205128205129, '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': '2958880', 'n_tokens_mistral': 246, 'n_tokens_neox': 237, 'n_words': 57}