<commit_before><%= content_for(:title) do %>
  Maps by <%= @name %> on CartoDB
<% end %>

<%= content_for(:description) do %>
  <%= @name %> is creating maps and visualizations using CartoDB
<% end %>

<ul class="u-inner">
  <% @visualizations.each do |vis| %>
    <li class="Maps-listItem">
      <div class="MapCard Maps-listItemCard">
        <div class="MapCard-header">
        </div>
        <div class="MapCard-content Maps-listItemCardContent">
          <div class="MapCard-contentBody">
            <div class="MapCard-contentBodyRow MapCard-contentBodyRow--flex">
              <h3 class="MapCard-contentBodyTitle DefaultTitle u-ellipsLongText">
                <a class="DefaultTitle-link" title="<%= vis[:title] %>"><%= vis[:title] %></a>
              </h3>
            </div>

            <div class="MapCard-contentBodyRow MapCard-contentBodyRow--flex">
              <% if vis[:description] %>
                <p class="DefaultDescription" title="<%= vis[:description] %>"><%= raw truncate(vis[:description]) %></p>
              <% else %>
                <span class="DefaultDescription is--empty"></span>
              <% end %>
            </div>

            <div class="DefaultTags MapCard-contentBodyRow">
              <% if vis[:tags].size > 0 %>
                <% formatted_tags(vis[:tags]) do |tag| %>
                  <a class="DefaultTags-item js-tag-link" href="<%= public_tag_url(user_domain: params[:user_domain], tag: tag) %>"><%= tag %></a>
                <% end %>
              <% else %>
                <span class="DefaultTags-item is--empty">No tags</span>
              <% end %>
            </div>
          </div>
          <div class="MapCard-contentFooter">
            <div class="MapCard-contentFooterDetails--left">
              <div class="MapCard-contentFooterTimeDiff DefaultTimeDiff">
                <i class="iconFont iconFont-Clock DefaultTimeDiff-icon"></i>
                X day ago <%#.. by owner? %>
              </div>
            </div>
            <div class="MapCard-contentFooterDetails--right">
              <%# likes %>
            </div>
          </div>
        </div>
      </div>
    </li>
  <% end %>
</ul>

<commit_msg>Truncate description around 2 lines<commit_after><%= content_for(:title) do %>
  Maps by <%= @name %> on CartoDB
<% end %>

<%= content_for(:description) do %>
  <%= @name %> is creating maps and visualizations using CartoDB
<% end %>

<ul class="u-inner">
  <% @visualizations.each do |vis| %>
    <li class="Maps-listItem">
      <div class="MapCard Maps-listItemCard">
        <div class="MapCard-header">
        </div>
        <div class="MapCard-content Maps-listItemCardContent">
          <div class="MapCard-contentBody">
            <div class="MapCard-contentBodyRow MapCard-contentBodyRow--flex">
              <h3 class="MapCard-contentBodyTitle DefaultTitle u-ellipsLongText">
                <a class="DefaultTitle-link" title="<%= vis[:title] %>"><%= vis[:title] %></a>
              </h3>
            </div>

            <div class="MapCard-contentBodyRow MapCard-contentBodyRow--flex">
              <% if vis[:description] %>
                <p class="DefaultDescription" title="<%= vis[:description] %>"><%= raw truncate(vis[:description], :length => 85) %></p>
              <% else %>
                <span class="DefaultDescription is--empty"></span>
              <% end %>
            </div>

            <div class="DefaultTags MapCard-contentBodyRow">
              <% if vis[:tags].size > 0 %>
                <% formatted_tags(vis[:tags]) do |tag| %>
                  <a class="DefaultTags-item js-tag-link" href="<%= public_tag_url(user_domain: params[:user_domain], tag: tag) %>"><%= tag %></a>
                <% end %>
              <% else %>
                <span class="DefaultTags-item is--empty">No tags</span>
              <% end %>
            </div>
          </div>
          <div class="MapCard-contentFooter">
            <div class="MapCard-contentFooterDetails--left">
              <div class="MapCard-contentFooterTimeDiff DefaultTimeDiff">
                <i class="iconFont iconFont-Clock DefaultTimeDiff-icon"></i>
                X day ago <%#.. by owner? %>
              </div>
            </div>
            <div class="MapCard-contentFooterDetails--right">
              <%# likes %>
            </div>
          </div>
        </div>
      </div>
    </li>
  <% end %>
</ul>


{'fraction_non_alphanumeric': 0.16738100609068352, 'fraction_numerical': 0.0020302278366794496, 'mean_word_length': 1.9325396825396826, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 134, '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': '3217256', 'n_tokens_mistral': 1375, 'n_tokens_neox': 1248, 'n_words': 260}