<commit_before>desc "Clear latest likes"
task :clear_latest_likes => :environment do
  from = V3::Streams::TracksController::DURATION.ago
  to   = from + V3::Streams::TracksController::DURATION
  puts "Deleting latest #{TrackLike.period(from, to).count} likes..."
  TrackLike.period(from, to).destroy_all
  puts "Complete deleting. Current likes count is #{TrackLike.period(from, to).count}"
end
<commit_msg>Update clear_latest_likes.rake: Follow TrackLike -> EnclosureLike<commit_after>desc "Clear latest likes"
task :clear_latest_likes => :environment do
  from = V3::Streams::TracksController::DURATION.ago
  to   = from + V3::Streams::TracksController::DURATION
  puts "Deleting latest #{EnclosureLike.period(from, to).count} likes..."
  EnclosureLike.period(from, to).destroy_all
  puts "Complete deleting. Current likes count is #{EnclosureLike.period(from, to).count}"
end

{'fraction_non_alphanumeric': 0.12727272727272726, 'fraction_numerical': 0.004545454545454545, 'mean_word_length': 6.104838709677419, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4802940', 'n_tokens_mistral': 278, 'n_tokens_neox': 279, 'n_words': 66}