<commit_before>%div(data-hook='homepage_products')
  = home_page_cms_content

  - if @products
    #products= render 'spree/shared/products', :products => @products, :taxon => @taxon
  - else
    #products-local
      %h2= "Products at #{current_distributor.name}"
      = render 'spree/shared/products', :products => @products_local, :taxon => @taxon<commit_msg>Display correct product splitting criteria<commit_after>%div(data-hook='homepage_products')
  = home_page_cms_content

  - if @products
    #products= render 'spree/shared/products', :products => @products, :taxon => @taxon
  - else
    #products-local
      %h2
        Products
        = "in #{current_order_cycle.name}" if current_order_cycle
        = "at #{current_distributor.name}" if current_distributor
      = render 'spree/shared/products', :products => @products_local, :taxon => @taxon
{'fraction_non_alphanumeric': 0.13588850174216027, 'fraction_numerical': 0.0023228803716608595, 'mean_word_length': 4.070588235294117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '4624635', 'n_tokens_mistral': 274, 'n_tokens_neox': 267, 'n_words': 55}