<commit_before><div class="row">
  <div class="col-md-6">
    <h1>Manage Subscriptions</h1>
    <table class='table table-striped table-hover'>
      <% @subscriptions.each do |subscription| %>
        <tr class='project' style="border-color: <%= subscription.project.color %>;">
          <td>
            <h5>
              <%= link_to subscription.project, project_path(subscription.project.to_param) %>
              <small><%= subscription.project.latest_version %></small>
            </h5>
          </td>
          <td>
            <%= link_to 'Unsubscribe', subscription_path(subscription), method: :delete, class: 'btn btn-default pull-right' %>
          </td>
        </tr>
      <% end %>
    </table>
    <%= will_paginate @subscriptions, renderer: BootstrapPagination::Rails, page_links: false %>
  </div>
</div>
<commit_msg>Show last updated on subscriptions<commit_after><div class="row">
  <div class="col-md-8">
    <h1>Manage Subscriptions</h1>
    <table class='table table-striped table-hover'>
      <% @subscriptions.each do |subscription| %>
        <% latest_version = subscription.project.latest_version %>
        <tr class='project' style="border-color: <%= subscription.project.color %>;">
          <td>
            <h5>
              <%= link_to subscription.project, project_path(subscription.project.to_param) %>
              <small><%= latest_version %></small>
            </h5>
          </td>
          <td>
            <h5><small>Last updated <%= time_ago_in_words(latest_version && latest_version.published_at.present? ? latest_version.published_at.to_date : subscription.project.updated_at) %> ago</small></h5>
          </td>
          <td>
            <%= link_to 'Unsubscribe', subscription_path(subscription), method: :delete, class: 'btn btn-default pull-right' %>
          </td>
        </tr>
      <% end %>
    </table>
    <%= will_paginate @subscriptions, renderer: BootstrapPagination::Rails, page_links: false %>
  </div>
</div>

{'fraction_non_alphanumeric': 0.15826612903225806, 'fraction_numerical': 0.006048387096774193, 'mean_word_length': 2.6288848263254114, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '5816045', 'n_tokens_mistral': 622, 'n_tokens_neox': 596, 'n_words': 113}