<commit_before><ul class='tags' id='annotation_categories'>
  <%# First, output the list of annotation categories %>
  <% @annotation_categories.each do |annotation_category| %>
    <li class='annotation_category' id='annotation_category_<%= annotation_category.id %>'>
      <%= truncate(annotation_category.annotation_category_name, length: 40) %>

      <div id='annotation_text_list_<%= annotation_category.id %>'>
          <%= render partial: 'annotations/annotation_list',
                     locals: { annotation_category: annotation_category } %>
      </div>
    </li>
  <% end %>
</ul><commit_msg>Prevent default click behaviour so that text stays selected when you need to choose a tag.<commit_after><ul class='tags' id='annotation_categories'>
  <%# First, output the list of annotation categories %>
  <% @annotation_categories.each do |annotation_category| %>
    <li class='annotation_category'
        id='annotation_category_<%= annotation_category.id %>'
        onclick='return false;'
        onmousedown='return false;'>
      <%= truncate(annotation_category.annotation_category_name, length: 40) %>

      <div id='annotation_text_list_<%= annotation_category.id %>'
           onclick='return false;'
           onmousedown='return false;'>
          <%= render partial: 'annotations/annotation_list',
                     locals: { annotation_category: annotation_category } %>
      </div>
    </li>
  <% end %>
</ul>
{'fraction_non_alphanumeric': 0.13217993079584775, 'fraction_numerical': 0.002768166089965398, 'mean_word_length': 3.7100977198697067, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '7553612', 'n_tokens_mistral': 428, 'n_tokens_neox': 385, 'n_words': 88}