<commit_before>namespace :sisyphus do
  desc "Import repocop reports to database"
  task :repocops => :environment do
    require 'open-uri'
    puts Time.now.to_s + ": import repocop reports"
    Repocop.update_repocop
    Repocop.update_repocop_cache
    puts Time.now.to_s + ": end"
  end

  desc "Update repocop status cache"
  task :update_repocop_cache => :environment do
    require 'open-uri'
    puts Time.now.to_s + ': update repocop cache'
    Repocop.update_repocop_cache
    puts Time.now.to_s + ': end'
  end

  desc "Import repocop patches list to database"
  task :repocop_patches => :environment do
    require 'open-uri'
    puts Time.now.to_s + ': import repocop patches'
    RepocopPatch.update_repocop_patches
    puts Time.now.to_s + ': end'
  end
end<commit_msg>Cleanup<commit_after>namespace :sisyphus do
  desc "Import repocop reports to database"
  task :repocops => :environment do
    puts Time.now.to_s + ": import repocop reports"
    Repocop.update_repocop
    Repocop.update_repocop_cache
    puts Time.now.to_s + ": end"
  end

  desc "Update repocop status cache"
  task :update_repocop_cache => :environment do
    puts Time.now.to_s + ': update repocop cache'
    Repocop.update_repocop_cache
    puts Time.now.to_s + ': end'
  end

  desc "Import repocop patches list to database"
  task :repocop_patches => :environment do
    require 'open-uri'
    puts Time.now.to_s + ': import repocop patches'
    RepocopPatch.update_repocop_patches
    puts Time.now.to_s + ': end'
  end
end
{'fraction_non_alphanumeric': 0.08959156785243742, 'fraction_numerical': 0.0, 'mean_word_length': 3.4808259587020647, 'pattern_counts': {'":': 4, '<': 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': '4297409', 'n_tokens_mistral': 546, 'n_tokens_neox': 545, 'n_words': 137}