<commit_before><li class="box-item resource-item">
<!--IMG resource-->
  <div class="container-img">
      <div class="dummy"></div>
      <div class="element resource-center">

        <%if resource.class==Link%>
          <%= link_to "<i class='icon-link'></i>".html_safe, completeURL(resource.url), :target => "_blank" %>
        <%elsif resource.class==Embed%>
          <%= link_to "<i class='icon-code'></i>".html_safe, resource %>
        <%else%>
          <%= link_to icon(resource), resource, :title => resource.file_file_name %>
        <%end%>

      </div>
  </div>

  <%if resource.respond_to?(:type) && resource.type =="Picture"%>
    <script>
      $("#document-<%=resource.id%>").addClass("img-box");
      $("#document-<%=resource.id%>").backstretch("<%=resource.file.to_s%>?style=500");  
    </script>
  <%end%>
<!--INFO resource-->
  <div class="info">
<!--Title -->
    <div class="name">
        <%if resource.class==Link%>
          <%= link_to resource.title, completeURL(resource.url) %>
        <%else%>
          <%= link_to resource.title, resource %><commit_msg>bmp bug fixed<commit_after><li class="box-item resource-item">
<!--IMG resource-->
  <div class="container-img">
      <div class="dummy"></div>
      <div class="element resource-center">

        <%if resource.class==Link%>
          <%= link_to "<i class='icon-link'></i>".html_safe, completeURL(resource.url), :target => "_blank" %>
        <%elsif resource.class==Embed%>
          <%= link_to "<i class='icon-code'></i>".html_safe, resource %>
        <%else%>
          <%= link_to icon(resource), resource, :title => resource.file_file_name %>
        <%end%>

      </div>
  </div>

  <%if resource.respond_to?(:type) && resource.type =="Picture"%>
    <script>
      $("#document-<%=resource.id%>").addClass("img-box");
      $("#document-<%=resource.id%>").backstretch("<%= thumb_file_for(resource, '500') %>");  
    </script>
  <%end%>
<!--INFO resource-->
  <div class="info">
<!--Title -->
    <div class="name">
        <%if resource.class==Link%>
          <%= link_to resource.title, completeURL(resource.url) %>
        <%else%>
          <%= link_to resource.title, resource %>
{'fraction_non_alphanumeric': 0.22704431247144816, 'fraction_numerical': 0.002740977615349475, 'mean_word_length': 2.981818181818182, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 75, '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': '4216618', 'n_tokens_mistral': 754, 'n_tokens_neox': 708, 'n_words': 124}