<commit_before>FactoryGirl.define do

  factory :metasploit_cache_auxiliary_license,
                 class: Metasploit::Cache::Licensable::License,
                 traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_auxiliary_instance
  end

  factory :metasploit_cache_encoder_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_encoder_instance
  end

  factory :metasploit_cache_exploit_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do

    association :licensable, factory: :metasploit_cache_exploit_instance
  end

  factory :metasploit_cache_nop_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do

    association :licensable, factory: :metasploit_cache_nop_instance
  end

  factory :metasploit_cache_payload_single_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do

    association :licensable, factory: :metasploit_cache_payload_single_instance
  end

  factory :metasploit_cache_payload_stage_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do

    association :licensable, factory: :metasploit_cache_payload_stage_instance
  end

  factory :metasploit_cache_payload_stager_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do

    association :licensable, factory: :metasploit_cache_payload_stager_instance
  end

  factory :metasploit_cache_payload_post_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do

    association :licensable, factory: :metasploit_cache_payload_post_instance
  end

  trait :metasploit_cache_licensable_license do
    association :license, factory: :metasploit_cache_license
  end

end<commit_msg>Reformat licensable/licenses.rb<commit_after>FactoryGirl.define do
  #
  # Factories
  #

  factory :metasploit_cache_auxiliary_license,
                 class: Metasploit::Cache::Licensable::License,
                 traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_auxiliary_instance
  end

  factory :metasploit_cache_encoder_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_encoder_instance
  end

  factory :metasploit_cache_exploit_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_exploit_instance
  end

  factory :metasploit_cache_nop_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_nop_instance
  end

  factory :metasploit_cache_payload_single_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_payload_single_instance
  end

  factory :metasploit_cache_payload_stage_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_payload_stage_instance
  end

  factory :metasploit_cache_payload_stager_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_payload_stager_instance
  end

  factory :metasploit_cache_payload_post_license,
          class: Metasploit::Cache::Licensable::License,
          traits: [:metasploit_cache_licensable_license] do
    association :licensable, factory: :metasploit_cache_payload_post_instance
  end

  #
  # Traits
  #

  trait :metasploit_cache_licensable_license do
    association :license, factory: :metasploit_cache_license
  end
end
{'fraction_non_alphanumeric': 0.07144482366325369, 'fraction_numerical': 0.0, 'mean_word_length': 4.814814814814815, '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': '7387603', 'n_tokens_mistral': 1448, 'n_tokens_neox': 1364, 'n_words': 216}