<commit_before>FactoryGirl.define do
  factory :financial_transaction do
    rental
    amount 100
    adjustment 0
    note_field "Property of Factory Girl"
    created_at DateTime.now
    updated_at DateTime.now

    trait :with_transactable_incidental do
      association :transactable, factory: :incidental_type
    end

    trait :with_transactable_fee do
      association :transactable, factory: :fee_schedule
    end

    factory :incidental_type_transaction do
      with_transactable_incidental
    end

    factory :fee_schedule_transaction do
      with_transactable_fee
    end
  end
end
<commit_msg>Adding separation with transactions when there is no rentals<commit_after>FactoryGirl.define do
  factory :financial_transaction do
    amount 100
    adjustment 0
    note_field "Property of Factory Girl"
    created_at DateTime.now
    updated_at DateTime.now

    trait :with_rental do
      rental
    end

    trait :with_transactable_incidental do
      association :transactable, factory: :incidental_type
    end

    trait :with_transactable_fee do
      association :transactable, factory: :fee_schedule
    end

    factory :incidental_type_transaction do
      with_transactable_incidental
    end

    factory :fee_schedule_transaction do
      with_transactable_fee
    end
  end
end

{'fraction_non_alphanumeric': 0.03277439024390244, 'fraction_numerical': 0.006097560975609756, 'mean_word_length': 3.3766666666666665, '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': '3385775', 'n_tokens_mistral': 388, 'n_tokens_neox': 377, 'n_words': 106}