<commit_before><% order = order_form.object %>
<%= render 'spree/shared/error_messages', target: order %>
<table id="cart-detail" data-hook>
  <thead>
    <tr data-hook="cart_items_headers">
      <th class="cart-item-description-header" colspan="2"><%= t('spree.item') %></th>
      <th class="cart-item-price-header"><%= t('spree.price') %></th>
      <th class="cart-item-quantity-header"><%= t('spree.qty') %></th>
      <th class="cart-item-total-header"><%= t('spree.total') %></th>
      <th class="cart-item-delete-header"></th>
    </tr>
  </thead>
  <tbody id="line_items" data-hook>
    <%= render partial: 'spree/orders/line_item', collection: order.line_items, locals: { order_form: order_form } %>
  </tbody>
  <% if order.adjustments.nonzero.exists? || order.line_item_adjustments.nonzero.exists? || order.shipment_adjustments.nonzero.exists? || order.shipments.any? %>
    <tr class="cart-subtotal">
      <td colspan="4" align='right'><h5><%= t('spree.cart_subtotal', count: order.line_items.sum(:quantity)) %></h5></th>
      <td colspan><h5><%= order.display_item_total %></h5></td>
      <td></td>
    </tr>
    <%= render "spree/orders/adjustments" %>
  <% end %>
  <tr class="cart-total">
    <td colspan="4" align='right'><h5><%= t('spree.total') %></h5></td>
    <td colspan><h5><%= order.display_total %></h5></td>
    <td></td>
  </tr>
</table><commit_msg>Fix closing td<commit_after><% order = order_form.object %>
<%= render 'spree/shared/error_messages', target: order %>
<table id="cart-detail" data-hook>
  <thead>
    <tr data-hook="cart_items_headers">
      <th class="cart-item-description-header" colspan="2"><%= t('spree.item') %></th>
      <th class="cart-item-price-header"><%= t('spree.price') %></th>
      <th class="cart-item-quantity-header"><%= t('spree.qty') %></th>
      <th class="cart-item-total-header"><%= t('spree.total') %></th>
      <th class="cart-item-delete-header"></th>
    </tr>
  </thead>
  <tbody id="line_items" data-hook>
    <%= render partial: 'spree/orders/line_item', collection: order.line_items, locals: { order_form: order_form } %>
  </tbody>
  <% if order.adjustments.nonzero.exists? || order.line_item_adjustments.nonzero.exists? || order.shipment_adjustments.nonzero.exists? || order.shipments.any? %>
    <tr class="cart-subtotal">
      <td colspan="4" align='right'><h5><%= t('spree.cart_subtotal', count: order.line_items.sum(:quantity)) %></h5></td>
      <td colspan><h5><%= order.display_item_total %></h5></td>
      <td></td>
    </tr>
    <%= render "spree/orders/adjustments" %>
  <% end %>
  <tr class="cart-total">
    <td colspan="4" align='right'><h5><%= t('spree.total') %></h5></td>
    <td colspan><h5><%= order.display_total %></h5></td>
    <td></td>
  </tr>
</table>
{'fraction_non_alphanumeric': 0.23580470162748643, 'fraction_numerical': 0.007956600361663653, 'mean_word_length': 4.093922651933702, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, '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': '2485886', 'n_tokens_mistral': 1062, 'n_tokens_neox': 1005, 'n_words': 167}