<commit_before><form action="<%= scoped_search_path %>" class="navbar-form navbar-left" style="margin: 7px 12px 7px 0; padding-left: 3px;">
  <div class="form-group has-feedback">
    <div class="input-group input-group-search">
      <% if @product %>
        <label class="control-label">This product</label>
      <% end %>
      <input type="search" name="q" value="<%= params[:q] %>" placeholder="Search" class="form-control" autocomplete="off" />
      <span class="icon icon-magnifier form-control-feedback"></span>
    </div>
    <input type="hidden" name="type" value="<%= @type %>">
  </div>
  <button type="submit" class="btn btn-default sr-only">Search</button>
</form><commit_msg>Only show product search on real products<commit_after><form action="<%= scoped_search_path %>" class="navbar-form navbar-left" style="margin: 7px 12px 7px 0; padding-left: 3px;">
  <div class="form-group has-feedback">
    <div class="input-group input-group-search">
      <% if @product && @product.persisted? %>
        <label class="control-label">This product</label>
      <% end %>
      <input type="search" name="q" value="<%= params[:q] %>" placeholder="Search" class="form-control" autocomplete="off" />
      <span class="icon icon-magnifier form-control-feedback"></span>
    </div>
    <input type="hidden" name="type" value="<%= @type %>">
  </div>
  <button type="submit" class="btn btn-default sr-only">Search</button>
</form>
{'fraction_non_alphanumeric': 0.19693806541405706, 'fraction_numerical': 0.008350730688935281, 'mean_word_length': 4.406015037593985, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '4101951', 'n_tokens_mistral': 491, 'n_tokens_neox': 448, 'n_words': 104}