<commit_before>FactoryGirl.define do
  factory :course do
    department "EECS"
    course_number 132
    title "Intro to Java"

    trait :with_prereqs do
      transient do
        number_of_prereqs 2
      end

      after :create do |course, evaluator|
        prereqs = FactoryGirl.create_list(:course, evaluator.number_of_prereqs)
        Prerequisite.create(postreq_id: course.id, prereq_ids: prereqs.map(&:id))
      end
    end

    trait :with_course_instance do
      after :create do |course, evaluator|
        FactoryGirl.create(:course_instance, course: course)
      end
    end
  end
end<commit_msg>Marking unused (but necessary) var.<commit_after>FactoryGirl.define do
  factory :course do
    department "EECS"
    course_number 132
    title "Intro to Java"

    trait :with_prereqs do
      transient do
        number_of_prereqs 2
      end

      after :create do |course, evaluator|
        prereqs = FactoryGirl.create_list(:course, evaluator.number_of_prereqs)
        Prerequisite.create(postreq_id: course.id, prereq_ids: prereqs.map(&:id))
      end
    end

    trait :with_course_instance do
      after :create do |course, _evaluator|
        FactoryGirl.create(:course_instance, course: course)
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.07250996015936255, 'fraction_numerical': 0.006374501992031873, 'mean_word_length': 2.852760736196319, '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': '484793', 'n_tokens_mistral': 417, 'n_tokens_neox': 401, 'n_words': 103}