<commit_before><div class="row">
    <div class="span8">
        <h1>Exercises</h1>
    </div>
</div>&nbsp;
<div class="row">
    <div class="span6">
        <%= link_to "Add Exercise", new_exercise_path %></br>
        <h2>Standard Exercises</h2>
        <% if @officialExercises %>
          <% @officialExercises.each do |e| %>
            <% if e.exercise_category %>
              <%= link_to "#{e.exercise_category.category}", exercise_path(e) %>
              </br>
            <% end %>
          <% end %>
        <% end %>
        <% if @customExercises %>
          <h2>Custom Exercises</h2>
          <% @customExercises.each do |e| %>
            <% if e.exercise_category %>
              <%= link_to "#{e.exercise_category.category}", exercise_path(e) %>
              </br>
            <% end %>
          <% end %>
        <% else %>
          <p>You have no custom exercise at this time</p>
        <% end %>
    </div>
</div>
<commit_msg>sorted exercises just like workouts, only display the exercise id at the moment; need to finalize which fields to show<commit_after><div class="row">
    <div class="span8">
        <h1>Exercises</h1>
    </div>
</div>&nbsp;
<div class="row">
    <div class="span6">
        <%= link_to "Add Exercise", new_exercise_path %></br>
        <h2>Standard Exercises</h2>
        <% if @officialExercises %>
          <% @officialExercises.group_by(&:exercise_category).sort.each do |c,es| %>
            <br /><h3><%= c.category %></h3><br />
              <% es.each do |e| %>
                <%= link_to "#{e.id}", exercise_path(e) %><br />
              <% end %>
          <% end %>
        <% end %>
        <% if @customExercises %>
          <h2>Custom Exercises</h2>
          <% @customExercises.group_by(&:exercise_category).sort.each do |c,es| %>
            <br /><h3><%= c.category %></h3><br />
              <% es.each do |e| %>
                <%= link_to "#{e.id}", exercise_path(e) %><br />
              <% end %>
          <% end %>
        <% else %>
          <p>You have no custom exercise at this time</p>
        <% end %>
    </div>
</div>

{'fraction_non_alphanumeric': 0.18327822390174775, 'fraction_numerical': 0.00944733112895607, 'mean_word_length': 1.8015873015873016, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '953369', 'n_tokens_mistral': 757, 'n_tokens_neox': 676, 'n_words': 147}