<commit_before>%table(cellpadding=0 cellspacing=0 class='sortable')
  %thead
    %tr
      %th.select= check_box_tag('table_select_all', 1, nil, :class => 'toggle')
      %th.boolean Published
      %th.boolean For Sale
      %th Product
      %th.indicator Stock Level
      %th.meta Updated At
  %tbody
    - @products.each do |product|
      %tr
        %td.select
          = check_box_tag('ids[]', product.id, selected?(product.id), :class => 'toggle')
        %td.boolean
          %span(class="boolean #{product.published?}")
            %span= friendly_bool(product.published?)
        %td.boolean
          %span(class="boolean #{product.for_sale?}")
            %span= friendly_bool(product.for_sale?)
        %td<commit_msg>Switch to showing status on products rather than a for sale bool.<commit_after>%table(cellpadding=0 cellspacing=0 class='sortable')
  %thead
    %tr
      %th.select= check_box_tag('table_select_all', 1, nil, :class => 'toggle')
      %th.boolean Published
      %th Status
      %th Product
      %th.indicator Stock Level
      %th.meta Updated At
  %tbody
    - @products.each do |product|
      %tr
        %td.select
          = check_box_tag('ids[]', product.id, selected?(product.id), :class => 'toggle')
        %td.boolean
          %span(class="boolean #{product.published?}")
            %span= friendly_bool(product.published?)
        %td
          %span.indicator= product.status.humanize
        %td
{'fraction_non_alphanumeric': 0.13595583160800553, 'fraction_numerical': 0.004140786749482402, 'mean_word_length': 2.5626535626535625, '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': '6714972', 'n_tokens_mistral': 446, 'n_tokens_neox': 444, 'n_words': 99}