<commit_before># frozen_string_literal: true
# == Schema Information
#
# Table name: courses
#
#  id                :integer          not null, primary key
#  title             :string(255)
#  created_at        :datetime
#  updated_at        :datetime
#  start             :date
#  end               :date
#  school            :string(255)
#  term              :string(255)
#  character_sum     :integer          default(0)
#  view_sum          :integer          default(0)
#  user_count        :integer          default(0)
#  article_count     :integer          default(0)
#  revision_count    :integer          default(0)
#  slug              :string(255)
#  listed            :boolean          default(TRUE)
#  signup_token      :string(255)
#  assignment_source :string(255)
#  subject           :string(255)
#  expected_students :integer
#  description       :text(65535)
#  submitted         :boolean          default(FALSE)
#  passcode          :string(255)
#  timeline_start    :date
#  timeline_end      :date
#  day_exceptions    :string(2000)     default("")
#  weekdays          :string(255)      default("0000000")
#  new_article_count :integer
#  no_day_exceptions :boolean          default(FALSE)
#  trained_count     :integer          default(0)
#  cloned_status     :integer
#  type              :string(255)      default("ClassroomProgramCourse")
#

FactoryGirl.define do
  factory :course, class: 'ClassroomProgramCourse' do
    start Date.new(2015, 0o1, 0o1)
    self.end Date.new(2015, 0o6, 0o1)
    title 'Underwater basket-weaving'
    listed true
    school 'WINTR'
    term 'spring 2015'
    slug 'WINTR/Underwater_basket-weaving_(spring_2015)'
    passcode '<PASSWORD>'
    home_wiki_id 1
  end

  factory :basic_course, class: 'BasicCourse' do
    start Date.new(2015, 0o1, 0o1)
    self.end Date.new(2015, 0o6, 0o1)
    title 'Black life matters'
    listed true
    school 'none'
    term 'none'
    slug 'Black_life_matters'
    type 'BasicCourse'
    passcode '<PASSWORD>'
    home_wiki_id 1
  end

  factory :visiting_scholarship, class: 'VisitingScholarship' do
    start Date.new(2015, 0o1, 0o1)
    self.end Date.new(2015, 0o6, 0o1)
    title 'Basket-weaving scholarship'
    listed true
    school 'UNR'
    term 'spring 2015'
    slug 'UNR/Basket-weaving_scholarship_(spring_2015)'
    passcode '<PASSWORD>'
    type 'VisitingScholarship'
    home_wiki_id 1
  end

  factory :editathon, class: 'Editathon' do
    start Date.new(2015, 0o1, 0o1)
    self.end Date.new(2015, 0o6, 0o1)
    title 'Basket-weaving edit-a-thon'
    listed true
    school 'NARA'
    term 'spring 2015'
    slug 'NARA/Basket-weaving_edit-a-thon_(spring_2015)'
    passcode '<PASSWORD>'
    type 'Editathon'
    home_wiki_id 1
  end

  factory :legacy_course, class: 'LegacyCourse' do
    start Date.new(2013, 0o1, 0o1)
    self.end Date.new(2013, 0o6, 0o1)
    title 'Legacy basket-weaving'
    listed true
    school 'PBR'
    term 'spring 2013'
    slug 'PRB/Legacy_basket-weaving_edit-a-thon_(spring_2013)'
    passcode '<PASSWORD>'
    type 'LegacyCourse'
    home_wiki_id 1
  end
end<commit_msg>Those weren't supposed to be octal<commit_after># frozen_string_literal: true
# == Schema Information
#
# Table name: courses
#
#  id                :integer          not null, primary key
#  title             :string(255)
#  created_at        :datetime
#  updated_at        :datetime
#  start             :date
#  end               :date
#  school            :string(255)
#  term              :string(255)
#  character_sum     :integer          default(0)
#  view_sum          :integer          default(0)
#  user_count        :integer          default(0)
#  article_count     :integer          default(0)
#  revision_count    :integer          default(0)
#  slug              :string(255)
#  listed            :boolean          default(TRUE)
#  signup_token      :string(255)
#  assignment_source :string(255)
#  subject           :string(255)
#  expected_students :integer
#  description       :text(65535)
#  submitted         :boolean          default(FALSE)
#  passcode          :string(255)
#  timeline_start    :date
#  timeline_end      :date
#  day_exceptions    :string(2000)     default("")
#  weekdays          :string(255)      default("0000000")
#  new_article_count :integer
#  no_day_exceptions :boolean          default(FALSE)
#  trained_count     :integer          default(0)
#  cloned_status     :integer
#  type              :string(255)      default("ClassroomProgramCourse")
#

FactoryGirl.define do
  factory :course, class: 'ClassroomProgramCourse' do
    start Date.new(2015, 1, 1)
    self.end Date.new(2015, 6, 1)
    title 'Underwater basket-weaving'
    listed true
    school 'WINTR'
    term 'spring 2015'
    slug 'WINTR/Underwater_basket-weaving_(spring_2015)'
    passcode '<PASSWORD>'
    home_wiki_id 1
  end

  factory :basic_course, class: 'BasicCourse' do
    start Date.new(2015, 1, 1)
    self.end Date.new(2015, 6, 1)
    title 'Black life matters'
    listed true
    school 'none'
    term 'none'
    slug 'Black_life_matters'
    type 'BasicCourse'
    passcode '<PASSWORD>'
    home_wiki_id 1
  end

  factory :visiting_scholarship, class: 'VisitingScholarship' do
    start Date.new(2015, 1, 1)
    self.end Date.new(2015, 6, 1)
    title 'Basket-weaving scholarship'
    listed true
    school 'UNR'
    term 'spring 2015'
    slug 'UNR/Basket-weaving_scholarship_(spring_2015)'
    passcode '<PASSWORD>'
    type 'VisitingScholarship'
    home_wiki_id 1
  end

  factory :editathon, class: 'Editathon' do
    start Date.new(2015, 1, 1)
    self.end Date.new(2015, 6, 1)
    title 'Basket-weaving edit-a-thon'
    listed true
    school 'NARA'
    term 'spring 2015'
    slug 'NARA/Basket-weaving_edit-a-thon_(spring_2015)'
    passcode '<PASSWORD>'
    type 'Editathon'
    home_wiki_id 1
  end

  factory :legacy_course, class: 'LegacyCourse' do
    start Date.new(2013, 1, 1)
    self.end Date.new(2013, 6, 1)
    title 'Legacy basket-weaving'
    listed true
    school 'PBR'
    term 'spring 2013'
    slug 'PRB/Legacy_basket-weaving_edit-a-thon_(spring_2013)'
    passcode '<PASSWORD>'
    type 'LegacyCourse'
    home_wiki_id 1
  end
end
{'fraction_non_alphanumeric': 0.09846897663174858, 'fraction_numerical': 0.05124899274778404, 'mean_word_length': 2.459308807134894, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '3069338', 'n_tokens_mistral': 2322, 'n_tokens_neox': 2067, 'n_words': 498}