<commit_before>require 'faker'

FactoryGirl.define do
  factory :user, class: User do
    email Faker::Internet.email
    name Faker::Lorem.characters(8)
    password_digest Faker::Internet.password(8)
    level '1'
  end
end

FactoryGirl.define do
  factory :admin, class: User do
    email Faker::Internet.email
    name Faker::Lorem.characters(8)
    password_digest <PASSWORD>.password(8)
    level 'Admin'
  end
end<commit_msg>Changed user factory for create correctly the users<commit_after>require 'faker'

FactoryGirl.define do
  factory :user, class: User do
    sequence(:email) { |n| "<EMAIL>" }
    name Faker::Lorem.characters(8)
    password_digest Faker::<PASSWORD>.password(8)
    level '1'
  end
end

FactoryGirl.define do
  factory :admin, class: User do
    sequence(:email) { |n| "<EMAIL>" }
    name Faker::Lorem.characters(8)
    password_digest Faker::Internet.password(8)
    level 'Admin'
  end
end
{'fraction_non_alphanumeric': 0.11267605633802817, 'fraction_numerical': 0.010834236186348862, 'mean_word_length': 4.076923076923077, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4974319', 'n_tokens_mistral': 318, 'n_tokens_neox': 306, 'n_words': 80}