<commit_before>namespace :typus do

  PLUGIN_ROOT = File.dirname(__FILE__) + '/../'

  desc "Create TypusUser `rake typus:seed email=<EMAIL>`"
  task :seed => :environment do

    include Authentication

    ##
    # Create the new user with the params.
    #
    email = ENV['email']
    password = ENV['password'] || <PASSWORD>

    begin
      typus_user = TypusUser.new(:email => email, 
                                 :password => password, 
                                 :password_confirmation => password, 
                                 :roles => Typus::Configuration.options[:root], 
                                 :status => true)
      if typus_user.save<commit_msg>Updated message<commit_after>namespace :typus do

  PLUGIN_ROOT = File.dirname(__FILE__) + '/../'

  desc "Create TypusUser `rake typus:seed email=<EMAIL>`"
  task :seed => :environment do

    include Authentication

    ##
    # Create the new user with the params.
    #
    email = ENV['email']
    password = ENV['password'] || <PASSWORD>

    begin
      typus_user = TypusUser.new(:email => email, 
                                 :password => password, 
                                 :password_confirmation => password, 
                                 :roles => Typus::Configuration.options[:root], 
                                 :status => true)
      if typus_user.save
{'fraction_non_alphanumeric': 0.11062590975254731, 'fraction_numerical': 0.0, 'mean_word_length': 1.696078431372549, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '318787', 'n_tokens_mistral': 378, 'n_tokens_neox': 357, 'n_words': 86}