<commit_before>- classes = 'product'
- classes += ' first' if product_counter == 0
- classes += ' last' if product_counter + 1 == count

= content_tag :tr, class: classes, :id => "product_#{product.id}" do
  %td.first
    = check_box_tag "product_ids[]", product.id
  %td.product
    .image-container
      - unless product.images.empty?
        = image_tag product.images.ordered.first.file.url(:thumbnail)
    = link_to product.title, edit_admin_store_product_path(product), :class => "name-link"
    .tags
      = product.tags.collect(&:name).join(', ')  
  %td.variants
    - unarchived_variants = product.variants.unarchived
    %span.badge
      = unarchived_variants.count
    - if unarchived_variants.any?
      - if unarchived_variants.published.count == 0<commit_msg>Added h4 to product table entry<commit_after>- classes = 'product'
- classes += ' first' if product_counter == 0
- classes += ' last' if product_counter + 1 == count

= content_tag :tr, class: classes, :id => "product_#{product.id}" do
  %td.first
    = check_box_tag "product_ids[]", product.id
  %td.product
    .image-container
      - unless product.images.empty?
        = image_tag product.images.ordered.first.file.url(:thumbnail)
    %h4
      = link_to product.title, edit_admin_store_product_path(product), :class => "name-link"
    .tags
      = product.tags.collect(&:name).join(', ')  
  %td.variants
    - unarchived_variants = product.variants.unarchived
    %span.badge
      = unarchived_variants.count
    - if unarchived_variants.any?
      - if unarchived_variants.published.count == 0
{'fraction_non_alphanumeric': 0.13463969658659924, 'fraction_numerical': 0.0050568900126422255, 'mean_word_length': 3.3608815426997247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6645037', 'n_tokens_mistral': 530, 'n_tokens_neox': 523, 'n_words': 101}