<commit_before><h2>
  Latest Content
  <%- if itemable.item_count > 3 %>
    | <small><%= link_to 'View all content', itemable_items_path(itemable) %> (<%= itemable.item_count %> items)</small>
  <%- end %>
  </h2>    
<ul class="media-list">
  <%- itemable.items.take(4).each do |item| %>
    <li class="clearfix media"><%= render item %></li>
  <%- end %>
</ul><commit_msg>Hide view all if items page won't show those items<commit_after><h2>
  Latest Content
  <%- if itemable.item_count > 4  && itemable.approved %>
    | <small><%= link_to 'View all content', itemable_items_path(itemable) %> (<%= itemable.item_count %> items)</small>
  <%- end %>
  </h2>    
<ul class="media-list">
  <%- itemable.items.take(4).each do |item| %>
    <li class="clearfix media"><%= render item %></li>
  <%- end %>
</ul>
{'fraction_non_alphanumeric': 0.21013597033374537, 'fraction_numerical': 0.009888751545117428, 'mean_word_length': 3.7093023255813953, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 35, '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': '2219396', 'n_tokens_mistral': 322, 'n_tokens_neox': 289, 'n_words': 67}