<commit_before><table class="datatable-wide table table-stripped table-bordered">
  <thead>
    <tr>
      <%# <th>Equipment model</th> %><%# Setting black-outs on a per-model basis has been disabled %>
      <% if request.path == blackouts_path %>
        <th>Start Date</th>
        <th>End Date</th>
        <th>Recurring?</th>
      <% elsif params[:action] == "show" %>
        <th>Date</th>
      <% end %>
      <th>Notice</th>
      <th>Last Edited By</th> <%# This field cannot be manually updated. %>
      <th>Type</th>
      <% unless params[:action] == "show" %>
        <th class="no_sort"></th> <%# show %>
      <% end %>
      <th class="no_sort"></th> <%# edit %>
      <th class="no_sort">
        <% if params[:action] == "show" %>
          <%= link_to "Delete all", destroy_recurring_blackout_path, :data => {:confirm => 'Are you sure?' }, :method => :delete, :class => 'btn btn-danger' %>
        <% end %>
      </th> <%# destroy %>
    </tr>
  </thead>
  <tbody>
    <% blackouts.each do |blackout| %>
      <tr>
        <!-- <td><%# (blackout.equipment_model_id == 0) ? "All Equipment Models" : EquipmentModel.find(blackout.equipment_model_id).name %></td> -->
        <td>
          <% if params[:action] == "show" %>
            <%= link_to blackout[:start_date].strftime('%m/%d/%Y'), blackout %>
          <% else %><commit_msg>Remove old blackouts view code<commit_after><table class="datatable-wide table table-stripped table-bordered">
  <thead>
    <tr>
      <% if request.path == blackouts_path %>
        <th>Start Date</th>
        <th>End Date</th>
        <th>Recurring?</th>
      <% elsif params[:action] == "show" %>
        <th>Date</th>
      <% end %>
      <th>Notice</th>
      <th>Last Edited By</th> <%# This field cannot be manually updated. %>
      <th>Type</th>
      <% unless params[:action] == "show" %>
        <th class="no_sort"></th> <%# show %>
      <% end %>
      <th class="no_sort"></th> <%# edit %>
      <th class="no_sort">
        <% if params[:action] == "show" %>
          <%= link_to "Delete all", destroy_recurring_blackout_path, :data => {:confirm => 'Are you sure?' }, :method => :delete, :class => 'btn btn-danger' %>
        <% end %>
      </th> <%# destroy %>
    </tr>
  </thead>
  <tbody>
    <% blackouts.each do |blackout| %>
      <tr>
        <td>
          <% if params[:action] == "show" %>
            <%= link_to blackout[:start_date].strftime('%m/%d/%Y'), blackout %>
          <% else %>
{'fraction_non_alphanumeric': 0.20725806451612902, 'fraction_numerical': 0.0004032258064516129, 'mean_word_length': 2.389344262295082, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 107, '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': '4650677', 'n_tokens_mistral': 904, 'n_tokens_neox': 829, 'n_words': 181}