<commit_before><div class="solve-links">
  <% if @solve.puzzle.garronizable? %>
    <div class="garron">
      <a href="<%=h garronize(@solve) %>">View on alg.garron</a>
    </div>
  <% end %>

  <% if @solve.puzzle.name =~ /3x3/ && !@solve.scramble.blank? %>
    <div class="ksim-link">
      <a href=<%=h ksim_link(@solve) %> target="_blank" >
        Try scramble on kSim
      </a>
    </div>
  <% end %>

  <% unless @solve.youtube.nil? || @solve.youtube.empty? %>
    <div class="youtube">
      <a href="http://www.youtube.com/watch?v=<%=h @solve.youtube %>" target="_blank" >
        View on YouTube
      </a>
    </div>
  <% end %>

  <% unless @solve.average.source_url.blank? %>
    <a href="<%= @solve.average.source_url %>">
      View source
    </a>
  <% end %>
</div>
<commit_msg>Make all links open in new window<commit_after><div class="solve-links">
  <% if @solve.puzzle.garronizable? %>
    <div class="garron solve-link">
      <%= link_to "alg.garron", garronize(@solve), target: "_blank" %>
    </div>
  <% end %>

  <% if @solve.puzzle.name =~ /3x3/ && !@solve.scramble.blank? %>
    <div class="ksim-link solve-link">
      <%= link_to "kSim", ksim_link(@solve), target: "_blank" %>
    </div>
  <% end %>

  <% unless @solve.youtube.nil? || @solve.youtube.empty? %>
    <div class="youtube solve-link">
      <%= link_to "YouTube",
        "http://www.youtube.com/watch?v=#{h @solve.youtube}",
      target: "_blank" %>
    </div>
  <% end %>

  <% unless @solve.average.source_url.blank? %>
    <div class="source solve-link">
      <%= link_to "Source", @solve.average.source_url,
        target: "_blank" %>
    </div>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.21869382863990414, 'fraction_numerical': 0.002396644697423607, 'mean_word_length': 2.8127853881278537, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6236013', 'n_tokens_mistral': 691, 'n_tokens_neox': 626, 'n_words': 117}