<commit_before>

<% value.each do |link_code| %>
  <% 
    klass, id = link_code.split('-')
  %>
  <div class="chip js-load-page-name" data-klass="<%= klass %>" data-id="<%= id %>">
    <%= link_to content_class_from_name(klass) do %>
      <span class="<%= content_class_from_name(klass).color %>-text">
        <i class="material-icons left">
          <%= content_class_from_name(klass).icon %>
        </i>
      </span>
      <span class="name-container">
        <%= id %>
      </span>
    <% end %>
  </div>
<% end %>
<br/><br/>

<%#
  simple_format ContentFormatterService.show(
    text:         value.map { |link_code| "[[#{link_code}]]"}.join("\n"),
    viewing_user: current_user
  )
%>
<commit_msg>wrap up link autoload-name js<commit_after><% value.each do |link_code| %>
  <% 
    klass, id = link_code.split('-')
  %>
  <div class="chip js-load-page-name" data-klass="<%= klass %>" data-id="<%= id %>">
    <%= link_to send("#{klass.downcase}_path", id) do %>
      <span class="<%= content_class_from_name(klass).color %>-text">
        <i class="material-icons left">
          <%= content_class_from_name(klass).icon %>
        </i>
      </span>
      <span class="name-container">
        <em>Loading <%= klass %></em>
      </span>
    <% end %>
  </div>
<% end %>
<br/><br/>
{'fraction_non_alphanumeric': 0.21879815100154082, 'fraction_numerical': 0.0, 'mean_word_length': 2.754335260115607, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, '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': '6342414', 'n_tokens_mistral': 504, 'n_tokens_neox': 479, 'n_words': 85}