<commit_before><main id="track-exercises" class="col-md-8">
  <% unless mark_as_read_url.empty? %>
    <form action="<%= mark_as_read_url % [stream.track_id, stream.slug]%>" method="POST" class="mark-all">
      <button type="submit" class="btn btn-link discrete">mark all as read</button>
    </form>
  <% end %>
  <h2><%= stream.title %></h2>

  <% if stream.exercises.any? %>
    <ul class="active-exercises">
      <% stream.exercises.each do |exercise| %>
      <li class="<%= 'unread' if exercise.unread? %>">
        <span class="col-md-10">
          <a href="/exercises/<%= exercise.uuid %>" class="exercise list-group-item">
            <img src="<%= exercise.avatar_url%>" width="60" height="60" alt="" class="avatar">
            <div class="inbox-text">
              <h4>
                <%= exercise.problem.name %>
                <span class="profile"> <%= exercise.username %> </span>
              </h4>
              <p>
                <%= exercise.iteration_count %> <%= "iteration".pluralize(exercise.iteration_count) %>
                &middot;
                <%= exercise.comment_count %> <%= "comments".pluralize(exercise.comment_count) %>
              </p>
              <p><%= ago(exercise.at.to_time) %></p>
            </div>
          </a>
        </span>
        <span class="col-md-2">
          <% if exercise.unread? %>
          <form action="/exercises/<%= exercise.uuid %>/views?redirect=<%= request.path_info %>" method="POST">
            <button type="submit" class="btn btn-link discrete">mark as read</button>
          </form>
          <% end %>
        </span>
      </li>
      <% end %>
    </ul>
  <% end %>

  <div class="pagination">
    <%= will_paginate stream.pagination, renderer: BootstrapPagination::Sinatra %>
  </div>
</main><commit_msg>Use singular version of "comment" as receiver of call to pluralize.<commit_after><main id="track-exercises" class="col-md-8">
  <% unless mark_as_read_url.empty? %>
    <form action="<%= mark_as_read_url % [stream.track_id, stream.slug]%>" method="POST" class="mark-all">
      <button type="submit" class="btn btn-link discrete">mark all as read</button>
    </form>
  <% end %>
  <h2><%= stream.title %></h2>

  <% if stream.exercises.any? %>
    <ul class="active-exercises">
      <% stream.exercises.each do |exercise| %>
      <li class="<%= 'unread' if exercise.unread? %>">
        <span class="col-md-10">
          <a href="/exercises/<%= exercise.uuid %>" class="exercise list-group-item">
            <img src="<%= exercise.avatar_url%>" width="60" height="60" alt="" class="avatar">
            <div class="inbox-text">
              <h4>
                <%= exercise.problem.name %>
                <span class="profile"> <%= exercise.username %> </span>
              </h4>
              <p>
                <%= exercise.iteration_count %> <%= "iteration".pluralize(exercise.iteration_count) %>
                &middot;
                <%= exercise.comment_count %> <%= "comment".pluralize(exercise.comment_count) %>
              </p>
              <p><%= ago(exercise.at.to_time) %></p>
            </div>
          </a>
        </span>
        <span class="col-md-2">
          <% if exercise.unread? %>
          <form action="/exercises/<%= exercise.uuid %>/views?redirect=<%= request.path_info %>" method="POST">
            <button type="submit" class="btn btn-link discrete">mark as read</button>
          </form>
          <% end %>
        </span>
      </li>
      <% end %>
    </ul>
  <% end %>

  <div class="pagination">
    <%= will_paginate stream.pagination, renderer: BootstrapPagination::Sinatra %>
  </div>
</main>
{'fraction_non_alphanumeric': 0.19101123595505617, 'fraction_numerical': 0.006577144423129624, 'mean_word_length': 2.2473309608540926, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, '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': '7027240', 'n_tokens_mistral': 1261, 'n_tokens_neox': 1144, 'n_words': 219}