<commit_before><%- content_for :sidebar do -%>
  <%= render :partial => 'sidebar' %>
<%- end -%>
<h1>Awards</h1>
<hr />
<h3>Sweepstakes Results</h3>
<%- [:large, :small].each do |klass| -%>
  <div class="span-7 <%= klass == :large ? 'colborder' : 'last' %>">
    <table>
      <tr>
        <td colspan="3" class="separator"><%= klass.to_s.capitalize %> Schools</td>
      </tr>
      <tr>
        <th>School</th>
        <th>Score</th>
      </tr>
      <%- @schools.send(klass).each do |school| -%>
        <tr class="<%= cycle('even', 'odd') %>">
          <td><%= h school.name %></td>
          <td><%= school.school_score %></td>
        </tr>
      <%- end -%>
    </table>
  </div>
<%- end -%>
<%- [:wizard, :apprentice].each do |level| -%>
  <hr />
  <h3><%= level.to_s.capitalize %> Team Results</h3>
  <%- [:large, :small].each do |klass| -%>
    <div class="span-7 <%= klass == :large ? 'colborder' : 'last' %>">
      <table>
        <tr>
          <td colspan="3" class="separator"><%= klass.to_s.capitalize %> Schools</td>
        </tr>
        <tr>
          <th>School</th>
          <th>Score</th>
        </tr>
        <%- @schools.send(klass).map { |s| s.teams.winners }.flatten.sort_by(&:team_score).reverse.each do |team| -%>
          <tr class="<%= cycle('even', 'odd') %>">
            <td><%= h team.school.name %></td>
            <td><%= team.team_score %></td>
          </tr>
        <%- end -%>
      </table>
    </div>
  <%- end -%>
<%- end -%><commit_msg>forgot bout that little thing<commit_after><%- content_for :sidebar do -%>
  <%= render :partial => 'sidebar' %>
<%- end -%>
<h1>Awards</h1>
<hr />
<h3>Sweepstakes Results</h3>
<%- [:large, :small].each do |klass| -%>
  <div class="span-7 <%= klass == :large ? 'colborder' : 'last' %>">
    <table>
      <tr>
        <td colspan="3" class="separator"><%= klass.to_s.capitalize %> Schools</td>
      </tr>
      <tr>
        <th>School</th>
        <th>Score</th>
      </tr>
      <%- @schools.send(klass).each do |school| -%>
        <tr class="<%= cycle('even', 'odd') %>">
          <td><%= h school.name %></td>
          <td><%= school.school_score %></td>
        </tr>
      <%- end -%>
    </table>
  </div>
<%- end -%>
<%- [:wizard, :apprentice].each do |level| -%>
  <hr />
  <h3><%= level.to_s.capitalize %> Team Results</h3>
  <%- [:large, :small].each do |klass| -%>
    <div class="span-7 <%= klass == :large ? 'colborder' : 'last' %>">
      <table>
        <tr>
          <td colspan="3" class="separator"><%= klass.to_s.capitalize %> Schools</td>
        </tr>
        <tr>
          <th>School</th>
          <th>Score</th>
        </tr>
        <%- @schools.send(klass).map { |s| s.teams.send(level).winners }.flatten.sort_by(&:team_score).reverse.each do |team| -%>
          <tr class="<%= cycle('even', 'odd') %>">
            <td><%= h team.school.name %></td>
            <td><%= team.team_score %></td>
          </tr>
        <%- end -%>
      </table>
    </div>
  <%- end -%>
<%- end -%>
{'fraction_non_alphanumeric': 0.2559920106524634, 'fraction_numerical': 0.006657789613848202, 'mean_word_length': 2.0788934426229506, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 149, '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': '2477277', 'n_tokens_mistral': 1235, 'n_tokens_neox': 1162, 'n_words': 218}