<commit_before>FactoryGirl.define do
  factory :group do
    primary_number     { Faker::Number.number(3) }
    street_name        { Faker::Address.street_name }
    city_name          { Faker::Address.city }
    state_abbreviation { Faker::Address.state_abbr }
    zipcode            { Faker::Address.zip_code }
  end

  factory :user, aliases: [:candidate, :requester, :responder] do
    user_id    { Faker::Number.number(15)}
    first_name { Faker::Name.first_name }
    last_name  { Faker::Name.last_name }
    email      { Faker::Internet.email }
    association :group
  end

  factory :request do
    content { Faker::Lorem.paragraph }
    association :requester
    association :group

    trait :has_neighbor do
      association :responder
    end

    trait :is_fulfilled do
      is_fulfilled true
    end

    trait :created_one_day_ago do
      created_at { 1.day.ago }
    end

    factory :request_with_neighbor, traits: [:has_neighbor]
    factory :fulfilled_request , traits: [:has_neighbor, :is_fulfilled]
    factory :day_old_request, traits: [:created_one_day_ago]
  end

  factory :vote do
    association :request
    association :candidate
    value { [1, -1].sample }
  end
end<commit_msg>Remove fulfilled_request factory.<commit_after>FactoryGirl.define do
  factory :group do
    primary_number     { Faker::Number.number(3) }
    street_name        { Faker::Address.street_name }
    city_name          { Faker::Address.city }
    state_abbreviation { Faker::Address.state_abbr }
    zipcode            { Faker::Address.zip_code }
  end

  factory :user, aliases: [:candidate, :requester, :responder] do
    user_id    { Faker::Number.number(15)}
    first_name { Faker::Name.first_name }
    last_name  { Faker::Name.last_name }
    email      { Faker::Internet.email }
    association :group
  end

  factory :request do
    content { Faker::Lorem.paragraph }
    association :requester
    association :group

    trait :has_neighbor do
      association :responder
    end

    trait :created_one_day_ago do
      created_at { 1.day.ago }
    end

    factory :request_with_neighbor, traits: [:has_neighbor]
    factory :day_old_request, traits: [:created_one_day_ago]
  end

  factory :vote do
    association :request
    association :candidate
    value { [1, -1].sample }
  end
end
{'fraction_non_alphanumeric': 0.09232096635030199, 'fraction_numerical': 0.005176876617773943, 'mean_word_length': 2.9641025641025642, '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': '4778283', 'n_tokens_mistral': 764, 'n_tokens_neox': 754, 'n_words': 164}