<commit_before><%= render 'catalog/form' %>

<div id="catalog-results">

  <ul id="product-list">
    <%= render 'catalog/products', :products => @products %>
  </ul>

  <%= render 'catalog/pagination' %>
</div><commit_msg>Only show search bar if there is products<commit_after><% if @products.present? %>
  <%= render 'catalog/form' %>

  <div id="catalog-results">

    <ul id="product-list">
      <%= render 'catalog/products', :products => @products %>
    </ul>

    <%= render 'catalog/pagination' %>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.21102661596958175, 'fraction_numerical': 0.0, 'mean_word_length': 3.790909090909091, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '3500009', 'n_tokens_mistral': 189, 'n_tokens_neox': 168, 'n_words': 39}