<commit_before>FactoryGirl.define do

  valid_units = %w{kg lt m pkg oz ml}
  factory :product do
    sequence(:product_title) { |n| "Product Name#{n}" }
    net_price 99
    in_stock (1..100).to_a.sample
    units valid_units
    unit valid_units.sample

    factory :another_product, class: AnotherProduct do

    end
  end


end<commit_msg>extend products factory<commit_after>FactoryGirl.define do

  valid_units = %w{kg lt m pkg oz ml}
  factory :product do
    sequence(:product_title) { |n| "Product Name#{n}" }
    net_price 99
    in_stock (1..100).to_a.sample
    units valid_units
    unit valid_units.sample
    amount (1..10).to_a.sample
    factory :another_product, class: AnotherProduct do
    end
  end


end
{'fraction_non_alphanumeric': 0.09379310344827586, 'fraction_numerical': 0.020689655172413793, 'mean_word_length': 3.2958579881656807, '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': '5752571', 'n_tokens_mistral': 261, 'n_tokens_neox': 239, 'n_words': 67}