<commit_before><div class="subnav subnav-fixed">
  <ul class="nav nav-pills">
    <% failed.each do |f| %>
    <li><a href="#<%= sanitize_attr(f['type']) %>" data-toggle="tab"><%= f['type'] %> (<%= f['total'] %>)</a></li>
    <% end %>
  </ul>
</div>

<div id="alerts" style="margin-top: 40px"></div>

<% if failed.empty? %>
  <div class="page-header">
    <h1>No Failed Jobs <small>You Have Done Well!</small></h1>
  </div>
<% else %>
  <div class="page-header">
    <h1>Failed Jobs <small>Failure is a Part of Success!</small></h1>
  </div>
<% end %>

<div class="tab-content">
  <% failed.sort_by { |f| -f['total'] }.each do |f| %>
  <div class="tab-pane active" id="<%= sanitize_attr(f['type']) %>">
    <div class="page-header">
      <div class="row">
        <div class="span8">
          <h2>
            <a href="<%= u "/failed/#{f['type']}" %>"><%= f['type'] %></a> | <%= f['total'] %> <small>Jobs</small<commit_msg>Sorting the tabs in failed jobs.<commit_after><div class="subnav subnav-fixed">
  <ul class="nav nav-pills">
    <% failed.sort_by { |f| -f['total'] }.each do |f| %>
    <li><a href="#<%= sanitize_attr(f['type']) %>" data-toggle="tab"><%= f['type'] %> (<%= f['total'] %>)</a></li>
    <% end %>
  </ul>
</div>

<div id="alerts" style="margin-top: 40px"></div>

<% if failed.empty? %>
  <div class="page-header">
    <h1>No Failed Jobs <small>You Have Done Well!</small></h1>
  </div>
<% else %>
  <div class="page-header">
    <h1>Failed Jobs <small>Failure is a Part of Success!</small></h1>
  </div>
<% end %>

<div class="tab-content">
  <% failed.sort_by { |f| -f['total'] }.each do |f| %>
  <div class="tab-pane active" id="<%= sanitize_attr(f['type']) %>">
    <div class="page-header">
      <div class="row">
        <div class="span8">
          <h2>
            <a href="<%= u "/failed/#{f['type']}" %>"><%= f['type'] %></a> | <%= f['total'] %> <small>Jobs</small
{'fraction_non_alphanumeric': 0.27540810953133227, 'fraction_numerical': 0.00842548709847288, 'mean_word_length': 3.513064133016627, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 91, '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': '4312007', 'n_tokens_mistral': 790, 'n_tokens_neox': 724, 'n_words': 159}