<commit_before>namespace :reports do
  desc "nightly cron email reports: followed user's recent activity and cards"
  task followers: :environment do
    # get users who sent report
    users = User.includes(:follower).where(subscribed: true)

    users.each do |user|
      next if Time.now.in_time_zone(user.time_zone).hour != 14<commit_msg>followers report:  move from sidekiq to task<commit_after>namespace :reports do
  desc "nightly cron email reports: followed user's recent activity and cards"
  task followers: :environment do
    # get users who sent report
    users = User.includes(:follower).where(subscribed: true)

    users.each do |user|
      next if Time.now.in_time_zone(user.time_zone).hour != 1
{'fraction_non_alphanumeric': 0.08798882681564246, 'fraction_numerical': 0.004189944134078212, 'mean_word_length': 4.195652173913044, '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': '5683316', 'n_tokens_mistral': 217, 'n_tokens_neox': 203, 'n_words': 71}