<commit_before><li id="<%= cookbook.name %>" class="cookbook_partial">
  <div class="cookbook_header">
    <div class="cookbook_partial_content_header">
      <h2 class="cookbook_title">
        <%= link_to cookbook, rel: 'cookbook' do %><%= cookbook.name %><% end %>
        <i class="fa fa-file"></i>
        <small><%= cookbook.latest_cookbook_version.version %></small>
      </h2>
      <span class="cookbook_dates">
        <i class="fa fa-clock-o"></i> Updated <%= cookbook.updated_at.to_s(:longish) %><br />
      </span>
      <div class="cookbook_owner">
        <%= link_to cookbook.owner do %>
          <%= gravatar_for cookbook.owner, size: 128 %>
          <h5><%= cookbook.owner.username %></h5>
        <% end %>
      </div>
    </div>
  </div>
  <div class="cookbook">
    <div class="cookbook_partial_content">
      <p>
        <%= cookbook.description %>
      </p>
      <code><pre>cookbook '<%= cookbook.name %>', '~&gt; <%= cookbook.latest_cookbook_version.version %>'</pre></code>
    </div>
  </div>
  <div class="cookbook_footer">
    <div class="cookbook_partial_content_footer">
      <div class="cookbook_platforms_content">
        <h5>Supported Platforms</h5>
        <ul class="cookbook_platforms show-for-medium-up">
          <% if cookbook.supported_platforms.present? %>
            <% cookbook.supported_platforms.each do |platform| %>
              <li class="cookbook_platform_icon has-tip" title="<%= platform.name %> <%= platform.version_constraint %>" data-tooltip data-icon="<%= supported_platform_icon(platform) %>">
                <span><%= platform.name %></span>
              </li>
            <% end %>
          <% else %>
            <li data-tooltip class="has-tip cookbook_no_platform_icon" title="Not specified">
              <span class="fa fa-question-circle"></span>
            </li>
          <% end %>
        </ul>
      </div>

      <ul class="cookbook_stats">
        <li>
          <i class="fa fa-inbox"></i>
          <%= cookbook.download_count %>
          <h5><%= "Download".pluralize(cookbook.download_count) %></h5>
        </li>
        <li>
          <i class="fa fa-group"></i>
          <%= cookbook.cookbook_followers_count %>
          <h5><%= "Follower".pluralize(cookbook.cookbook_followers_count) %></h5>
        </li>
        <li>
          <%= follow_button_for(cookbook) do |following| %>
            <%= following ? "Unfollow" : "Follow" %>
          <% end %>
        </li>
      </ul>
    </div>
  </div>
</li>
<commit_msg>Display cookbook version as cookbook updated at<commit_after><li id="<%= cookbook.name %>" class="cookbook_partial">
  <div class="cookbook_header">
    <div class="cookbook_partial_content_header">
      <h2 class="cookbook_title">
        <%= link_to cookbook, rel: 'cookbook' do %><%= cookbook.name %><% end %>
        <i class="fa fa-file"></i>
        <small><%= cookbook.latest_cookbook_version.version %></small>
      </h2>
      <span class="cookbook_dates">
        <i class="fa fa-clock-o"></i> Updated <%= cookbook.latest_cookbook_version.created_at.to_s(:longish) %><br />
      </span>
      <div class="cookbook_owner">
        <%= link_to cookbook.owner do %>
          <%= gravatar_for cookbook.owner, size: 128 %>
          <h5><%= cookbook.owner.username %></h5>
        <% end %>
      </div>
    </div>
  </div>
  <div class="cookbook">
    <div class="cookbook_partial_content">
      <p>
        <%= cookbook.description %>
      </p>
      <code><pre>cookbook '<%= cookbook.name %>', '~&gt; <%= cookbook.latest_cookbook_version.version %>'</pre></code>
    </div>
  </div>
  <div class="cookbook_footer">
    <div class="cookbook_partial_content_footer">
      <div class="cookbook_platforms_content">
        <h5>Supported Platforms</h5>
        <ul class="cookbook_platforms show-for-medium-up">
          <% if cookbook.supported_platforms.present? %>
            <% cookbook.supported_platforms.each do |platform| %>
              <li class="cookbook_platform_icon has-tip" title="<%= platform.name %> <%= platform.version_constraint %>" data-tooltip data-icon="<%= supported_platform_icon(platform) %>">
                <span><%= platform.name %></span>
              </li>
            <% end %>
          <% else %>
            <li data-tooltip class="has-tip cookbook_no_platform_icon" title="Not specified">
              <span class="fa fa-question-circle"></span>
            </li>
          <% end %>
        </ul>
      </div>

      <ul class="cookbook_stats">
        <li>
          <i class="fa fa-inbox"></i>
          <%= cookbook.download_count %>
          <h5><%= "Download".pluralize(cookbook.download_count) %></h5>
        </li>
        <li>
          <i class="fa fa-group"></i>
          <%= cookbook.cookbook_followers_count %>
          <h5><%= "Follower".pluralize(cookbook.cookbook_followers_count) %></h5>
        </li>
        <li>
          <%= follow_button_for(cookbook) do |following| %>
            <%= following ? "Unfollow" : "Follow" %>
          <% end %>
        </li>
      </ul>
    </div>
  </div>
</li>

{'fraction_non_alphanumeric': 0.17990562327959103, 'fraction_numerical': 0.005112072355485647, 'mean_word_length': 2.373342175066313, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 0, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1994966', 'n_tokens_mistral': 1742, 'n_tokens_neox': 1631, 'n_words': 286}