<commit_before># frozen_string_literal: true

Spree::Sample.load_sample("option_values")
Spree::Sample.load_sample("products")

solidus_tshirt = Spree::Product.find_by!(name: "Solidus T-Shirt")
solidus_long = Spree::Product.find_by!(name: "Solidus Long Sleeve")
solidus_snapback_cap = Spree::Product.find_by!(name: "Solidus Snapback Cap")
solidus_hoodie = Spree::Product.find_by!(name: "Solidus Hoodie Zip")
ruby_hoodie = Spree::Product.find_by!(name: "Ruby Hoodie")
ruby_hoodie_zip = Spree::Product.find_by!(name: "Ruby Hoodie Zip")
ruby_polo = Spree::Product.find_by!(name: "Ruby Polo")
solidus_mug = Spree::Product.find_by!(name: "Solidus Mug")
ruby_mug = Spree::Product.find_by!(name: "Ruby Mug")
solidus_tote = Spree::Product.find_by!(name: "Solidus Tote")
ruby_tote = Spree::Product.find_by!(name: "Ruby Tote")
solidus_girly = Spree::Product.find_by!(name: "Solidus Girly")

small = Spree::OptionValue.find_by!(name: "Small")
medium = Spree::OptionValue.find_by!(name: "Medium")
large = Spree::OptionValue.find_by!(name: "Large")
extra_large = Spree::OptionValue.find_by!(name: "Extra Large")

red = Spree::OptionValue.find_by!(name: "Red")
blue = Spree::OptionValue.find_by!(name: "Blue")
green = Spree::OptionValue.find_by!(name: "Green")
black = Spree::OptionValue.find_by!(name: "Black")
white = Spree::OptionValue.find_by!(name: "White")

variants = [
  {
    product: solidus_tshirt,
    option_values: [small, blue],<commit_msg>Remove unused option value assignment<commit_after># frozen_string_literal: true

Spree::Sample.load_sample("option_values")
Spree::Sample.load_sample("products")

solidus_tshirt = Spree::Product.find_by!(name: "Solidus T-Shirt")
solidus_long = Spree::Product.find_by!(name: "Solidus Long Sleeve")
solidus_snapback_cap = Spree::Product.find_by!(name: "Solidus Snapback Cap")
solidus_hoodie = Spree::Product.find_by!(name: "Solidus Hoodie Zip")
ruby_hoodie = Spree::Product.find_by!(name: "Ruby Hoodie")
ruby_hoodie_zip = Spree::Product.find_by!(name: "Ruby Hoodie Zip")
ruby_polo = Spree::Product.find_by!(name: "Ruby Polo")
solidus_mug = Spree::Product.find_by!(name: "Solidus Mug")
ruby_mug = Spree::Product.find_by!(name: "Ruby Mug")
solidus_tote = Spree::Product.find_by!(name: "Solidus Tote")
ruby_tote = Spree::Product.find_by!(name: "Ruby Tote")
solidus_girly = Spree::Product.find_by!(name: "Solidus Girly")

small = Spree::OptionValue.find_by!(name: "Small")
medium = Spree::OptionValue.find_by!(name: "Medium")
large = Spree::OptionValue.find_by!(name: "Large")
extra_large = Spree::OptionValue.find_by!(name: "Extra Large")

blue = Spree::OptionValue.find_by!(name: "Blue")
black = Spree::OptionValue.find_by!(name: "Black")
white = Spree::OptionValue.find_by!(name: "White")

variants = [
  {
    product: solidus_tshirt,
    option_values: [small, blue],
{'fraction_non_alphanumeric': 0.16381766381766383, 'fraction_numerical': 0.0, 'mean_word_length': 8.332225913621263, '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': '2987530', 'n_tokens_mistral': 1087, 'n_tokens_neox': 1024, 'n_words': 179}