<commit_before>FactoryGirl.define do

  factory :event do
    start { rand(100).days.from_now.change hour: rand(7..19) }
    duration { rand(1..5).hours }

    factory :participatable_event do
      coordinator
    end

    factory :full_event do
      name { Faker::Lorem.words(rand 2..5).join(' ').capitalize }
      description { Faker::Lorem.sentences(rand 1..5).join('. ') }
    end

  end

  factory :past_event, class: Event do
    start { (rand(100)+1).days.ago.change hour: rand(7..19) }
    duration { rand(1..5).hours }

    factory :full_past_event do
      name { Faker::Lorem.words(rand 2..5).join(' ').capitalize }
      description { Faker::Lorem.sentences(rand 1..5).join('. ') }
    end

    factory :participatable_past_event do
      coordinator
    end

  end<commit_msg>tiny fix to event factory just as in user factory in previous commit<commit_after>FactoryGirl.define do

  factory :event do
    start { rand(100).days.from_now.change hour: rand(7..19) }
    duration { rand(1..5).hours }

    factory :participatable_event do
      coordinator
    end

    factory :full_event do
      name { Faker::Lorem.words(rand 2..5).join(' ').capitalize }
      description { Faker::Lorem.sentences(rand 1..5).join(' ') }
    end

  end

  factory :past_event, class: Event do
    start { (rand(100)+1).days.ago.change hour: rand(7..19) }
    duration { rand(1..5).hours }

    factory :full_past_event do
      name { Faker::Lorem.words(rand 2..5).join(' ').capitalize }
      description { Faker::Lorem.sentences(rand 1..5).join(' ') }
    end

    factory :participatable_past_event do
      coordinator
    end

  end
{'fraction_non_alphanumeric': 0.13683567501527183, 'fraction_numerical': 0.030543677458766034, 'mean_word_length': 2.80046403712297, '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': '4519902', 'n_tokens_mistral': 589, 'n_tokens_neox': 532, 'n_words': 123}