<commit_before><div class="panel panel-danger">
  <div class="panel-heading">Top 5 liked Podcasts</div>
  <div class="panel-body" style="margin-bottom: -20px;"">
  <% last_count = 0 %>
    <%= for {[count, id, title], rank} <- Enum.with_index(@liked_podcasts) do %>
      <p>
        <%= if count != last_count do %>
          <b><%= rank + 1 %>.</b>:
        <% else %>
          &nbsp; &nbsp; &nbsp;
        <% end %>
        <%= link [fa_icon("podcast"), " ", truncate(title, 50)],
                 to: podcast_frontend_path(@conn, :show, id),
                 class: "btn btn-default btn-xs",
                 style: "color: #000" %>
        <span class="pull-right"><%= count %> <%= fa_icon("user") %></span>
        <% last_count = count %>
      </p>
    <% end %>
</div>
<commit_msg>another approach with two generators...<commit_after><div class="panel panel-danger">
  <div class="panel-heading">Top 5 liked Podcasts</div>
  <div class="panel-body" style="margin-bottom: -20px;"">
    <%= for {[count, id, title], rank} <- Enum.with_index(@liked_podcasts),
             [last_count, _, _] <- [[0, nil, nil] | @liked_podcasts] do %>
      <p>
        <%= if count != last_count do %>
          <b><%= rank + 1 %>.</b>:
        <% else %>
          &nbsp; &nbsp; &nbsp;
        <% end %>
        <%= link [fa_icon("podcast"), " ", truncate(title, 50)],
                 to: podcast_frontend_path(@conn, :show, id),
                 class: "btn btn-default btn-xs",
                 style: "color: #000" %>
        <span class="pull-right"><%= count %> <%= fa_icon("user") %></span>
      </p>
    <% end %>
</div>

{'fraction_non_alphanumeric': 0.21085080147965474, 'fraction_numerical': 0.012330456226880395, 'mean_word_length': 2.2266401590457257, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 45, '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': '1558299', 'n_tokens_mistral': 597, 'n_tokens_neox': 524, 'n_words': 125}