<commit_before><% content_for :title_bar do %>
  <% if policy(Project).new? %>
    <%= link_to t('projects.new project'), new_project_path, class: 'btn btn-primary' %>
  <% end %>
<% end %>

<div id="projects" class="projects-list">
  <div class="row item">
    <div class="col-md-12">
      <div class="col-md-8">
        <% cache "#{current_user.id}/projects/activities_group/view", expires: 5.minutes do %>
          <%= render 'activities_group', activities_group: Activity.grouped_activities(@projects, 1.week.ago) %>
        <% end %>
      </div>

      <div class="col-md-4">
        <ul class="list-group">
          <% cache "#{current_user.id}/projects/list", expires: 15.minutes do %>
            <%= render @projects %>
          <% end %>
        </ul>
      </div>
    </div>
  </div>
</div>

<commit_msg>fragment caching seems not to be expiring. Perhaps is the expires_in option<commit_after><% content_for :title_bar do %>
  <% if policy(Project).new? %>
    <%= link_to t('projects.new project'), new_project_path, class: 'btn btn-primary' %>
  <% end %>
<% end %>

<div id="projects" class="projects-list">
  <div class="row item">
    <div class="col-md-12">
      <div class="col-md-8">
        <% cache "#{current_user.id}/projects/activities_group/view", expires_in: 5.minutes do %>
          <%= render 'activities_group', activities_group: Activity.grouped_activities(@projects, 1.week.ago) %>
        <% end %>
      </div>

      <div class="col-md-4">
        <ul class="list-group">
          <% cache "#{current_user.id}/projects/list", expires_in: 10.minutes do %>
            <%= render @projects %>
          <% end %>
        </ul>
      </div>
    </div>
  </div>
</div>


{'fraction_non_alphanumeric': 0.1879391100702576, 'fraction_numerical': 0.00936768149882904, 'mean_word_length': 2.691144708423326, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '6417448', 'n_tokens_mistral': 620, 'n_tokens_neox': 554, 'n_words': 119}