<commit_before>FactoryBot.define do

  factory :organization do
    customer_id { 1 }
    address1 { '100 Main St' }
    city { 'Harrisburg' }
    state { 'PA' }
    zip { '17120' }
    url { 'http://www.example.com' }
    phone { '9999999999' }
    grantor_id { 1 }
    organization_type { OrganizationType.find_by(:class_name => 'TransitOperator') rescue Rails.logger.info "ERROR: No seed data." }
    sequence(:name) { |n| "Org #{n}" }
    short_name {name}
    license_holder { true }
  end<commit_msg>[TTPLAT-1117] Add legal name to organization factories.<commit_after>FactoryBot.define do

  factory :organization do
    customer_id { 1 }
    address1 { '100 Main St' }
    city { 'Harrisburg' }
    state { 'PA' }
    zip { '17120' }
    url { 'http://www.example.com' }
    phone { '9999999999' }
    grantor_id { 1 }
    organization_type { OrganizationType.find_by(:class_name => 'TransitOperator') rescue Rails.logger.info "ERROR: No seed data." }
    sequence(:name) { |n| "Org #{n}" }
    short_name {name}
    legal_name {name}
    license_holder { true }
  end
{'fraction_non_alphanumeric': 0.13568773234200743, 'fraction_numerical': 0.04275092936802974, 'mean_word_length': 3.0641509433962266, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5606241', 'n_tokens_mistral': 401, 'n_tokens_neox': 354, 'n_words': 89}