<commit_before>FactoryGirl.define do
  factory :user do
    name "Test User"
    sequence(:email) { |n| "<EMAIL>" }
    password "<PASSWORD>"
    password_confirmation "<PASSWORD>"
    # required if the Devise Confirmable module is used
    confirmed_at Time.now
  end

  factory :admin, parent: :user do
    admin true
  end
end<commit_msg>Add username to User factory<commit_after>FactoryGirl.define do
  factory :user do
    name "Test User"
    sequence(:email) { |n| "<EMAIL>" }
    sequence(:username) { |n| "User #{n}" }
    password "<PASSWORD>"
    password_confirmation "<PASSWORD>"
    # required if the Devise Confirmable module is used
    confirmed_at Time.now
  end

  factory :admin, parent: :user do
    admin true
  end
end
{'fraction_non_alphanumeric': 0.10256410256410256, 'fraction_numerical': 0.0, 'mean_word_length': 3.44311377245509, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2324222', 'n_tokens_mistral': 231, 'n_tokens_neox': 226, 'n_words': 77}