<commit_before><div class="container">
  <div class="row">
    <% @sectors.each do |sector| %>
      <div class="col-lg-4">
        <div class="panel panel-primary" id="<%= sector.id %>">
          <div class="panel-heading">
            <p><%= sector.name %><br />Average P/E: <%= sector.avg_pe %></p>
          </div>
          <div class="panel-body">
            <% sector.companies.each do |company| %>
              <%= link_to(company.name, user_sector_company_path(current_user.id, company.sector.id, company.id), html_options = {class: "button"}) %>
            <% end %>
          </div>
        </div>
      </div>
    <% end %>
  </div>
</div><commit_msg>put each row in its own row<commit_after><div class="container">
  <div class="row">
    <% @sectors[0..2].each do |sector| %>
      <div class="col-lg-4">
        <div class="panel panel-primary" id="<%= sector.id %>">
          <div class="panel-heading">
            <h3><%= sector.name %></h3><br /><p>Average P/E: <%= sector.avg_pe %></p>
          </div>
          <div class="panel-body">
            <% sector.companies.each do |company| %>
              <%= link_to(company.name, user_sector_company_path(current_user.id, company.sector.id, company.id), html_options = {class: "button"}) %>
            <% end %>
          </div>
        </div>
      </div>
    <% end %>
  </div>

  <div class="row">
    <% @sectors[3..5].each do |sector| %>
      <div class="col-lg-4">
        <div class="panel panel-primary" id="<%= sector.id %>">
          <div class="panel-heading">
            <h3><%= sector.name %></h3><br /><p>Average P/E: <%= sector.avg_pe %></p>
          </div>
          <div class="panel-body">
            <% sector.companies.each do |company| %>
              <%= link_to(company.name, user_sector_company_path(current_user.id, company.sector.id, company.id), html_options = {class: "button"}) %>
            <% end %>
          </div>
        </div>
      </div>
    <% end %>
  </div>

  <div class="row">
    <% @sectors[6..8].each do |sector| %>
      <div class="col-lg-4">
        <div class="panel panel-primary" id="<%= sector.id %>">
          <div class="panel-heading">
            <h3><%= sector.name %></h3><br /><p>Average P/E: <%= sector.avg_pe %></p>
          </div>
          <div class="panel-body">
            <% sector.companies.each do |company| %>
              <%= link_to(company.name, user_sector_company_path(current_user.id, company.sector.id, company.id), html_options = {class: "button"}) %>
            <% end %>
          </div>
        </div>
      </div>
    <% end %>
  </div>

  <div class="row">
    <% @sectors[9..10].each do |sector| %>
      <div class="col-lg-4">
        <div class="panel panel-primary" id="<%= sector.id %>">
          <div class="panel-heading">
            <h3><%= sector.name %></h3><br /><p>Average P/E: <%= sector.avg_pe %></p>
          </div>
          <div class="panel-body">
            <% sector.companies.each do |company| %>
              <%= link_to(company.name, user_sector_company_path(current_user.id, company.sector.id, company.id), html_options = {class: "button"}) %>
            <% end %>
          </div>
        </div>
      </div>
    <% end %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.20913016656384947, 'fraction_numerical': 0.006785934608266502, 'mean_word_length': 2.050799623706491, 'pattern_counts': {'":': 0, '<': 120, '<?xml version=': 0, '>': 120, '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': '4531558', 'n_tokens_mistral': 1178, 'n_tokens_neox': 1064, 'n_words': 211}