<commit_before> <table class="races">
      {% for race in races %}
      <tr class="race dontsplit">
          <td class="pickup {% if race.is_called() and race.party_changed() %} party-change{% endif %}{% if race.is_called() %} {{ race.get_winning_party() }}{% endif %}"></td>
          <td class="state{% if race.is_called() %} {{ race.get_winning_party() }}{% else %} {{ race.previous_party }}{% endif %} ">
              {{ race.state_postal }}{% if seat_number %}<span class="seat_number">-{{ race.seat_number }}</span>
              {% endif %}
          </td>
          <td class="results-status{% if race.is_called() %} called{% elif race.is_reporting() %} reporting{% endif %}">
              {% if race.is_called() %}
                  {{ race.precincts_reporting_percent()|format_percent }}
              {% elif race.is_reporting() %}
                  {{ race.precincts_reporting_percent()|format_percent }}
              {% else %}
                  &mdash;
              {% endif %}
          </td>
          {% set candidate = race.top_candidates()[0] %}
          {% if candidate %}
          <td class="candidate {{ candidate.get_party() }} id-{{ candidate.candidate_id }}{% if candidate.is_winner() %} winner{% endif %}{% if candidate.incumbent %} incumbent{% endif %}"><span class="fname">{{ candidate.first_name }}</span> <span class="lname">{{ candidate.last_name }}</span>{% if candidate.get_party() == "other" %} <span class="party">IND</span>{% endif %}{% if candidate.incumbent %}<img src="/assets/incumbent.svg"/>{% endif %}</td>
          <td class="candidate-total {{ candidate.get_party() }}{% if candidate.is_winner() %} winner{% endif %}{% if race.is_reporting() %} reporting{% endif %}">{% if race.is_reporting() %}{{ candidate.vote_percent()|format_percent }}{% else %}--{% endif %}</td>
          {% else %}
          <td class="candidate"></td>
          <td class="candidate-total"></td>
          {% endif %}
          {% set candidate = race.top_candidates()[1] %}
          {% if candidate %}
          <td class="candidate-total {{ candidate.get_party() }}{% if candidate.is_winner() %} winner{% endif %}{% if candidate.incumbent %} incumbent{% endif %}{% if race.is_reporting() %} reporting{% endif %}">{% if race.is_reporting() %}{{ candidate.vote_percent()|format_percent }}{% else %}--{% endif %}</td>
          <td class="candidate {{ candidate.get_party() }} id-{{ candidate.candidate_id }}{% if candidate.is_winner() %} winner{% endif %}"><span class="fname">{{ candidate.first_name }}</span> <span class="lname">{{ candidate.last_name }}</span>{% if candidate.get_party() == "other" %} <span class="party">IND</span>{% endif %}</td>
          {% else %}
          <td class="candidate-total"></td>
          <td class="candidate"></td>
          {% endif %}
      </tr>
      {% endfor %}
  </table><commit_msg>republicans were missing incumbent icon, closes #591<commit_after> <table class="races">
      {% for race in races %}
      <tr class="race dontsplit">
          <td class="pickup {% if race.is_called() and race.party_changed() %} party-change{% endif %}{% if race.is_called() %} {{ race.get_winning_party() }}{% endif %}"></td>
          <td class="state{% if race.is_called() %} {{ race.get_winning_party() }}{% else %} {{ race.previous_party }}{% endif %} ">
              {{ race.state_postal }}{% if seat_number %}<span class="seat_number">-{{ race.seat_number }}</span>
              {% endif %}
          </td>
          <td class="results-status{% if race.is_called() %} called{% elif race.is_reporting() %} reporting{% endif %}">
              {% if race.is_called() %}
                  {{ race.precincts_reporting_percent()|format_percent }}
              {% elif race.is_reporting() %}
                  {{ race.precincts_reporting_percent()|format_percent }}
              {% else %}
                  &mdash;
              {% endif %}
          </td>
          {% set candidate = race.top_candidates()[0] %}
          {% if candidate %}
          <td class="candidate {{ candidate.get_party() }} id-{{ candidate.candidate_id }}{% if candidate.is_winner() %} winner{% endif %}{% if candidate.incumbent %} incumbent{% endif %}"><span class="fname">{{ candidate.first_name }}</span> <span class="lname">{{ candidate.last_name }}</span>{% if candidate.get_party() == "other" %} <span class="party">IND</span>{% endif %}{% if candidate.incumbent %}<img src="/assets/incumbent.svg"/>{% endif %}</td>
          <td class="candidate-total {{ candidate.get_party() }}{% if candidate.is_winner() %} winner{% endif %}{% if race.is_reporting() %} reporting{% endif %}">{% if race.is_reporting() %}{{ candidate.vote_percent()|format_percent }}{% else %}--{% endif %}</td>
          {% else %}
          <td class="candidate"></td>
          <td class="candidate-total"></td>
          {% endif %}
          {% set candidate = race.top_candidates()[1] %}
          {% if candidate %}
          <td class="candidate-total {{ candidate.get_party() }}{% if candidate.is_winner() %} winner{% endif %}{% if candidate.incumbent %} incumbent{% endif %}{% if race.is_reporting() %} reporting{% endif %}">{% if race.is_reporting() %}{{ candidate.vote_percent()|format_percent }}{% else %}--{% endif %}</td>
          <td class="candidate {{ candidate.get_party() }} id-{{ candidate.candidate_id }}{% if candidate.is_winner() %} winner{% endif %}{% if candidate.incumbent %} incumbent{% endif %}"><span class="fname">{{ candidate.first_name }}</span> <span class="lname">{{ candidate.last_name }}</span>{% if candidate.get_party() == "other" %} <span class="party">IND</span>{% endif %}{% if candidate.incumbent %}<img src="/assets/incumbent.svg"/>{% endif %}</td>
          {% else %}
          <td class="candidate-total"></td>
          <td class="candidate"></td>
          {% endif %}
      </tr>
      {% endfor %}
  </table>
{'fraction_non_alphanumeric': 0.2085670576236614, 'fraction_numerical': 0.0011898691143974163, 'mean_word_length': 3.010906612133606, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 86, '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': '3933581', 'n_tokens_mistral': 1972, 'n_tokens_neox': 1711, 'n_words': 372}