<commit_before><span class="production-label">
  <h4><%=@production.name%> <br><%=@production.date%></h4>
</span>
<div id="channel-hookup" class="tab-pane fade in active">
  <h3 class="sheet-name">Channel Hookup</h3>
  <table class="table channel-hook-up">
    <thead>
      <tr>
        <th class="Chan-H">Channel</th>
        <th class="Dim-H">Dim</th>
        <th class="Pos-H">Position</th>
        <th class="Unit-H">Unit#</th>
        <th class="Inst-H">Instrument Type</th>
        <th class="Purp-H">Purpose</th>
        <th class="Col-H">Color</th>
        <th class="Swa-H">Swatch</th>
        <th class="Gobo-H">Gobo</th>
        <th class="Acc-H">Accessories</th>
      </tr>
    </thead>
    <tbody>
      <% @equipment_sorted_sliced_for_channel_view.each do |equipment_group| %>
        <tr><td colspan="11"><h4><%= equipment_group.first.channel %></h4></td></tr>
        <div class="chan-groups">
          <% equipment_group.each do |equip| %>
            <tr id="CH-Row<%= equip.id %>">
              <td class="e-ch"></td>
              <td class="e-dim"><%= equip.dimmer %></td>
              <td class="e-pos"><%= equip.position %></td>
              <td class="e-num"><%= equip.unit_number %></td>
              <td class="e-typ"><%= equip.instrument_type %></td>
              <td class="e-pur"><%= equip.purpose %></td>
              <td class="e-col"><%= equip.color %></td>
              <%if @colors%>
               <td><%if @colors.find_by_alias1(equip.color)%>
                <div class="color-box" style="background-color: #<%=@colors.find_by_alias1(equip.color).hex_code%>" display="inline"></div>
                <%end%>
                <%else%>
                <div class="color-box" display="inline"></div>
                <%end%></td>
              <td class="e-gob"><%= equip.gobo_1 %> <%= equip.gobo_2 %></td>
              <td class="e-acc"><%= equip.accessories_list %></td>
              <td><a class="deep-blue edit-button" href="/productions/<%= equip.production_id %>/equipments/<%= equip.id %>/edit"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></td>
              <%if current_user.user_type.name == "Administrator" || current_user.user_type.name == "Designer"%>
              <td><a class="deep-red delete-button" href="/productions/<%= equip.production_id %>/equipments/<%= equip.id %>"><span class="glyphicon glyphicon-remove" aria-hidden="true"></a></td>
              <%end%>
            </tr>
          <% end %>
         </div><!-- Close chan-groups -->
      <% end %>
    </tbody>
  </table>
</div> <!-- Close channel-hookup --><commit_msg>Clean up channel hook up<commit_after><span class="production-label">
  <h4><%=@production.name%> <br><%=@production.date%></h4>
</span>
<div id="channel-hookup" class="tab-pane fade in active">
  <h3 class="sheet-name">Channel Hookup</h3>
  <table class="table channel-hook-up">
    <thead>
      <tr>
        <th class="Chan-H">Channel</th>
        <th class="Dim-H">Dim</th>
        <th class="Pos-H">Position</th>
        <th class="Unit-H">Unit#</th>
        <th class="Inst-H">Instrument Type</th>
        <th class="Purp-H">Purpose</th>
        <th class="Col-H">Color</th>
        <th class="Swa-H">Swatch</th>
        <th class="Gobo-H">Gobo</th>
        <th class="Acc-H">Accessories</th>
      </tr>
    </thead>
    <tbody>
      <% @equipment_sorted_sliced_for_channel_view.each do |equipment_group| %>
        <tr><td colspan="11"><h4><%= equipment_group.first.channel %></h4></td></tr>
        <div class="chan-groups">
          <% equipment_group.each do |equip| %>
            <tr id="CH-Row<%= equip.id %>">
              <td class="e-ch"></td>
              <td class="e-dim"><%= equip.dimmer %></td>
              <td class="e-pos"><%= equip.position %></td>
              <td class="e-num"><%= equip.unit_number %></td>
              <td class="e-typ"><%= equip.instrument_type %></td>
              <td class="e-pur"><%= equip.purpose %></td>
              <td class="e-col"><%= equip.color %></td>
              <%if @colors%>
               <td><%if @colors.find_by_alias1(equip.color)%>
                    <div class="color-box" style="background-color: #<%=@colors.find_by_alias1(equip.color).hex_code%>" display="inline"></div>
                  <%end%>
                  <%else%>
                    <div class="color-box" display="inline"></div>
              <%end%></td>
              <td class="e-gob"><%= equip.gobo_1 %> <%= equip.gobo_2 %></td>
              <td class="e-acc"><%= equip.accessories_list %></td>
              <td><a class="deep-blue edit-button" href="/productions/<%= equip.production_id %>/equipments/<%= equip.id %>/edit"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></td>
              <%if current_user.user_type.name == "Administrator" || current_user.user_type.name == "Designer"%>
                <td><a class="deep-red delete-button" href="/productions/<%= equip.production_id %>/equipments/<%= equip.id %>"><span class="glyphicon glyphicon-remove" aria-hidden="true"></a></td>
              <%end%>
            </tr>
          <% end %><!-- End equipment_group -->
        </div><!-- Close chan-groups -->
      <% end %><!-- End @equipment_sorted_sliced_for_channel_view -->
    </tbody>
  </table>
</div> <!-- Close channel-hookup -->
{'fraction_non_alphanumeric': 0.2194069069069069, 'fraction_numerical': 0.0045045045045045045, 'mean_word_length': 2.3685208596713023, 'pattern_counts': {'":': 0, '<': 229, '<?xml version=': 0, '>': 229, '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': '5891115', 'n_tokens_mistral': 1891, 'n_tokens_neox': 1771, 'n_words': 302}