<commit_before>namespace :participants do
  task send_general_information_mails: :environment do |task, args|
    participants = Participant.where(approved_third_deadline: 1)
    counter = 0

    participants.each do |p|
      begin
        ParticipantMailer.general_information(a.user).deliver
        counter += 1
        puts "General information mail sent to #{p.user.email}"
      rescue
        puts "Failed sending mail to #{p.user.email}"
      end
    end

    puts "#{counter} mails sent"
  end
end<commit_msg>Hoxfix for mail<commit_after>namespace :participants do
  task send_general_information_mails: :environment do |task, args|
    participants = Participant.where(approved_third_deadline: 1)
    counter = 0

    participants.each do |p|
      begin
        ParticipantMailer.general_information(p.user).deliver
        counter += 1
        puts "General information mail sent to #{p.user.email}"
      rescue
        puts "Failed sending mail to #{p.user.email}"
      end
    end

    puts "#{counter} mails sent"
  end
end
{'fraction_non_alphanumeric': 0.08445297504798464, 'fraction_numerical': 0.005758157389635317, 'mean_word_length': 2.9657794676806084, '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': '4794269', 'n_tokens_mistral': 311, 'n_tokens_neox': 306, 'n_words': 87}