<commit_before>FactoryGirl.define do
  factory :user do
    first_name Faker::Name.first_name
    last_name Faker::Name.last_name
    sequence(:email, 100) { |n| "person#{n}@#{Faker::Internet.domain_name}" }
    password "password"
    password_confirmation "password"
    sign_in_count 1

    trait :admin do
      admin true
      approved true
    end

    trait :super_user do
      super_user true
      approved true
    end

    trait :volunteer do
      admin false
      super_user false
      approved true
    end
  end
end<commit_msg>Fix tests<commit_after>FactoryGirl.define do
  factory :user do
    first_name Faker::Name.first_name
    last_name Faker::Name.last_name
    sequence(:email, 100) { |n| "person#{n}@#{Faker::Internet.domain_name}" }
    password "password"
    password_confirmation "password"
    sign_in_count 1

    trait :admin do
      admin true
      approved true
    end

    trait :super_user do
      super_user true
      approved true
    end

    trait :volunteer do
      admin false
      super_user false
      approved true
    end

    trait :volunteer do
      admin false
      super_user false
    end
  end
end
{'fraction_non_alphanumeric': 0.06626506024096386, 'fraction_numerical': 0.0068846815834767644, 'mean_word_length': 2.534954407294833, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1321446', 'n_tokens_mistral': 372, 'n_tokens_neox': 363, 'n_words': 102}