<commit_before>task :promote_admin => :environment do
  user = User.first
  if user
    user.update_attributes(admin: true)
  else
    puts 'Unable to find a valid user to make admin.'
  end
end<commit_msg>Updates rake task to make first user admin and active.<commit_after>task :promote_admin => :environment do
  user = User.first
  if user
    user.update_attributes(admin: true, active: true)
  else
    puts 'Unable to find a valid user to make admin.'
  end
end
{'fraction_non_alphanumeric': 0.07494646680942184, 'fraction_numerical': 0.0, 'mean_word_length': 3.727272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5690318', 'n_tokens_mistral': 142, 'n_tokens_neox': 143, 'n_words': 56}