<commit_before>namespace :db do
  desc "Create an admin user." 
  task :create_admin => :environment do

    u = User.new(:login => "admin", :name => "Super User", :login => "super",
      :email => "<EMAIL>", :role_id => Role.find(:first, :order => "level DESC").id,
      :active => true, :language_id => Language.english.id)
    u.password = u.password_confirmation = '<PASSWORD>'
    u.save
  end
end<commit_msg>fixed bug in create admin<commit_after>namespace :db do
  desc "Create an admin user." 
  task :create_admin => :environment do

    u = User.new(:login => "admin", :name => "Super User", :login => "super",
      :email => "<EMAIL>", :role => Role.highest,
      :active => true, :language_id => Language.english.id)
    u.password = u.password_confirmation = '<PASSWORD>'
    u.save
  end
end
{'fraction_non_alphanumeric': 0.17058096415327564, 'fraction_numerical': 0.0, 'mean_word_length': 3.550561797752809, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 24, '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': '6013752', 'n_tokens_mistral': 265, 'n_tokens_neox': 258, 'n_words': 74}