<commit_before><div id="thread-title" class="sub-navigation clearfix">
  <h1>{% if result.data.metadata[result.thread_ids[-1]].subject %}{{ result.data.metadata[result.thread_ids[-1]].subject|nice_subject }}{% else %}{{_('No Subject')}}{% endif %}</h1>
  <ul class="horizontal">
    <li><a href="#"><span class="icon-inbox"></span> {{ result.data.metadata|length }} {{_("Messages")}}</a></li>
    <li><a class="show-thread-people" data-toggle="modal" data-target="#myModal" href="#"><span class="icon-user"></span> {{ result.data.addresses|length }} {{_("People")}}</a></li>
    <!-- <li><a class="show-thread-security" href="#"><span class="icon-lock-open"></span> Partially Secure</a></li> -->
    <li><a class="show-thread-tags" data-toggle="modal" data-target="#myModal" href="#"><span class="icon-tag"></span> {{_("Tags")}}</a></li>
  </ul>
</div>
{%- set hard_coded_selection_actions = safe('
  <li><a class="bulk-action" href="#" data-action="later" title="' + _("Move Thread to Later") + '"><span class="icon-later"></span></a></li>
  <li><a class="bulk-action" href="#" data-action="assign-tags" title="' + _("Assign Tags to Thread") + '"><span class="icon icon-tag"></span></a></li>
  <li><a class="bulk-action" href="#" data-action="archive" title="' + _("Archive Thread") + '"><span class="icon icon-archive"></span></a></li>
  <li><a class="bulk-action" href="#" data-action="trash" title="' + _("Delete Thread") + '"><span class="icon icon-trash"></span></a></li>
') -%}
{%- set tools_disable_checkbox = True -%}
{%- set tools_all_in_bulk_actions = True -%}
{%- include('partials/tools_default.html') -%}


{#- ####### OLD STUFF #########
<div class="bulk-actions clearfix">
  <div class="left">{{ result.data.metadata|length }} {{_("Messages")}}</div>
  <ul class="horizontal right">
    <li><a class="bulk-action" href="#" data-action="later" title="{{_("Move Thread to Later")}}"><span class="icon-later"></span></a></li>
    <li><a class="bulk-action" href="#" data-action="assign-tags" title="{{_("Assign Tags to Thread")}}"><span class="icon icon-tag"></span></a></li>
    <li><a class="bulk-action" href="#" data-action="archive" title="{{_("Archive Thread")}}"><span class="icon icon-archive"></span></a></li>
    <li><a class="bulk-action" href="#" data-action="trash" title="{{_("Delete Thread")}}"><span class="icon icon-trash"></span></a></li>
  </ul>  
</div>
#}
<commit_msg>Commented out Message thread bulk actions as none actually do anything, and curious to role with it for reducing UI clutter<commit_after><div id="thread-title" class="sub-navigation clearfix">
  <h1>{% if result.data.metadata[result.thread_ids[-1]].subject %}{{ result.data.metadata[result.thread_ids[-1]].subject|nice_subject }}{% else %}{{_('No Subject')}}{% endif %}</h1>
  <ul class="horizontal">
    <li><a href="#"><span class="icon-inbox"></span> {{ result.data.metadata|length }} {{_("Messages")}}</a></li>
    <li><a class="show-thread-people" data-toggle="modal" data-target="#myModal" href="#"><span class="icon-user"></span> {{ result.data.addresses|length }} {{_("People")}}</a></li>
    <!-- <li><a class="show-thread-security" href="#"><span class="icon-lock-open"></span> Partially Secure</a></li> -->
    <li><a class="show-thread-tags" data-toggle="modal" data-target="#myModal" href="#"><span class="icon-tag"></span> {{_("Tags")}}</a></li>
  </ul>
</div>
{# - set hard_coded_selection_actions = safe('
  <li><a class="bulk-action" href="#" data-action="later" title="' + _("Move Thread to Later") + '"><span class="icon-later"></span></a></li>
  <li><a class="bulk-action" href="#" data-action="assign-tags" title="' + _("Assign Tags to Thread") + '"><span class="icon icon-tag"></span></a></li>
  <li><a class="bulk-action" href="#" data-action="archive" title="' + _("Archive Thread") + '"><span class="icon icon-archive"></span></a></li>
  <li><a class="bulk-action" href="#" data-action="trash" title="' + _("Delete Thread") + '"><span class="icon icon-trash"></span></a></li>
') -%}
{%- set tools_disable_checkbox = True -%}
{%- set tools_all_in_bulk_actions = True -%}
{%- include('partials/tools_default.html') -%}
#}

{#- ####### OLD STUFF #########
<div class="bulk-actions clearfix">
  <div class="left">{{ result.data.metadata|length }} {{_("Messages")}}</div>
  <ul class="horizontal right">
    <li><a class="bulk-action" href="#" data-action="later" title="{{_("Move Thread to Later")}}"><span class="icon-later"></span></a></li>
    <li><a class="bulk-action" href="#" data-action="assign-tags" title="{{_("Assign Tags to Thread")}}"><span class="icon icon-tag"></span></a></li>
    <li><a class="bulk-action" href="#" data-action="archive" title="{{_("Archive Thread")}}"><span class="icon icon-archive"></span></a></li>
    <li><a class="bulk-action" href="#" data-action="trash" title="{{_("Delete Thread")}}"><span class="icon icon-trash"></span></a></li>
  </ul>  
</div>
#}

{'fraction_non_alphanumeric': 0.27679479357331704, 'fraction_numerical': 0.0016270083384177345, 'mean_word_length': 5.792817679558011, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 173, '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': '1208445', 'n_tokens_mistral': 1708, 'n_tokens_neox': 1667, 'n_words': 310}