<commit_before><div class="center">
  <h2>Badger</h2>
  <p><%= t('home.index.welcome') %></p>
  <br>
    <% if can? :see_data, Entry %>
      <% if current_user.guest? %>   
        <div class="alert alert-success">
          <Strong><%= t('home.index.guest') %></strong><%= t('home.index.guest_msg') %>
        </div>
      <% end %>
      <% @companies.each_with_index do |company, index| %>
        <div class="<%= @panelclass %>">
            <div class="panel panel-default">
              <div class="panel-heading">
                <h4><%= company.title %></h4>
                <div class="simple-stats">
                <%= "#{@simple_stats[index][0]} #{'entry'.pluralize(@simple_stats[index][0])}" %>
                <br>
                <%= "#{@simple_stats[index][1]} #{'invoice'.pluralize(@simple_stats[index][1])}"%>
                </div>
              </div>
              <div class="list-group">
                <%= link_to(t('home.index.entries'), company_entries_path(company.id), :class => 'list-group-item') %>
                <%= if can :index, Invoices %>
                  <%= link_to(t('home.index.invoices'), company_invoices_path(company.id), :class => 'list-group-item') %>
                <% end %>
                <% if can? :manage, Stats %>
                  <%= link_to(t('home.index.stats'), company_stats_path(company.id), :class => 'list-group-item') %>
                <% end %>
                <% if can? :create, Entry %>
                  <%= link_to(t('home.index.batch'), batch_path(company.id), :class => 'list-group-item') %>
                <% end %>
                <% if can? :create, Type %>
                  <%= link_to(t('home.index.type'), company_types_path(company.id), :class => 'list-group-item') %>
                <% end %>
              </div>
            </div>
          </div>
      <% end %>
    <% else %>
      <%= t('home.index.no_company') %><a href=\"mailto:#{ENV['ADMIN_EMAIL']}\"><%= t('home.index.no_company_anchor') %></a>
    <% end %>
</div><commit_msg>3 typos, one line ;-;<commit_after><div class="center">
  <h2>Badger</h2>
  <p><%= t('home.index.welcome') %></p>
  <br>
    <% if can? :see_data, Entry %>
      <% if current_user.guest? %>   
        <div class="alert alert-success">
          <Strong><%= t('home.index.guest') %></strong><%= t('home.index.guest_msg') %>
        </div>
      <% end %>
      <% @companies.each_with_index do |company, index| %>
        <div class="<%= @panelclass %>">
            <div class="panel panel-default">
              <div class="panel-heading">
                <h4><%= company.title %></h4>
                <div class="simple-stats">
                <%= "#{@simple_stats[index][0]} #{'entry'.pluralize(@simple_stats[index][0])}" %>
                <br>
                <%= "#{@simple_stats[index][1]} #{'invoice'.pluralize(@simple_stats[index][1])}"%>
                </div>
              </div>
              <div class="list-group">
                <%= link_to(t('home.index.entries'), company_entries_path(company.id), :class => 'list-group-item') %>
                <% if can? :index, Invoice %>
                  <%= link_to(t('home.index.invoices'), company_invoices_path(company.id), :class => 'list-group-item') %>
                <% end %>
                <% if can? :manage, Stats %>
                  <%= link_to(t('home.index.stats'), company_stats_path(company.id), :class => 'list-group-item') %>
                <% end %>
                <% if can? :create, Entry %>
                  <%= link_to(t('home.index.batch'), batch_path(company.id), :class => 'list-group-item') %>
                <% end %>
                <% if can? :create, Type %>
                  <%= link_to(t('home.index.type'), company_types_path(company.id), :class => 'list-group-item') %>
                <% end %>
              </div>
            </div>
          </div>
      <% end %>
    <% else %>
      <%= t('home.index.no_company') %><a href=\"mailto:#{ENV['ADMIN_EMAIL']}\"><%= t('home.index.no_company_anchor') %></a>
    <% end %>
</div>
{'fraction_non_alphanumeric': 0.21571041615365674, 'fraction_numerical': 0.004186161044077813, 'mean_word_length': 1.905579399141631, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 123, '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': '4527154', 'n_tokens_mistral': 1429, 'n_tokens_neox': 1280, 'n_words': 203}