<commit_before><script type="text/javascript">
         loadTooltips();
</script>
                  <div class="plansummary">
                      <h3>{{ plan.name }}</h3>
                    {% for key,value in aggregate.items %}
                      <div><label>{{ key }}</label> <span id="totalpop" class="value">{{ value  }}</span></div>
                    {% endfor %}
                  </div>
                  <div class="plantable header">
                     <table>
                      <thead>
                         {% if district_values %}
                          <tr>
                              <th class="celldist cell1">Dist.</th>
                              <th class="celldemo cell2">{{ name }}</th>
                              <th class="cellcontig cell3">Contiguity</th>
                              <th class="cellcompact cell4">Compactness</th>
                          </tr>
                        {% endif %}
                      </thead>
                   </table>
                  </div>
                  <div class="plantable body">
                    {% if district_values %}
                       <table>
                          <tbody>
                              {% for key, stat in district_values.items %}
                              <tr class="{% cycle 'odd' 'even' %}">
                                  <td class="celldist cell1">{{ key }}</td>
                                  <td class="celldemo cell2">
                                    <span class="popstatus {{ value.css_class }}"> 
                                         {{ stat.demo }}
                                    </span>
                                  </td>
                                  {% if stat.contiguity %}
                                  <td class="cellcontig cell3"><img class="yes-contiguous" src="/site-media/images/icon-check.png">
                                  {% else %}
                                  <td class="cellcontig cell3"><img class="no-contiguous" src="/site-media/images/icon-warning.png">
                                  {% endif %}
                                  <div class="tooltip">this is a tooltip</div>
                                  </td>                             
                                  <td class="cellcompact cell4">{{ stat.compactness }}</td>
                              </tr>
                              {% endfor %}
                          </tbody>
                      </table>
                    {% else %}
                        <div class="error"> Sorry, there is no geographic data for this plan</div>
                    {% endif %}                    
                  </div>
<div class="menu_footer">
                    <button id="stats_legend" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text">Stats Legend</span></button>
                    <div id="stats_legend_panel" class="tooltip">
                      <div class="legend_item">
                        <h5>Population</h5>
                        <ul>
                          <li><span class="swatch popstatus over"></span> Over target</li><commit_msg>Added classes for color-coded demos back in<commit_after><script type="text/javascript">
         loadTooltips();
</script>
                  <div class="plansummary">
                      <h3>{{ plan.name }}</h3>
                    {% for key,value in aggregate.items %}
                      <div><label>{{ key }}</label> <span id="totalpop" class="value">{{ value  }}</span></div>
                    {% endfor %}
                  </div>
                  <div class="plantable header">
                     <table>
                      <thead>
                         {% if district_values %}
                          <tr>
                              <th class="celldist cell1">Dist.</th>
                              <th class="celldemo cell2">{{ name }}</th>
                              <th class="cellcontig cell3">Contiguity</th>
                              <th class="cellcompact cell4">Compactness</th>
                          </tr>
                        {% endif %}
                      </thead>
                   </table>
                  </div>
                  <div class="plantable body">
                    {% if district_values %}
                       <table>
                          <tbody>
                              {% for key, stat in district_values.items %}
                              <tr class="{% cycle 'odd' 'even' %}">
                                  <td class="celldist cell1">{{ key }}</td>
                                  <td class="celldemo cell2">
                                    <span class="popstatus {{ stat.css_class }}"> 
                                         {{ stat.demo }}
                                    </span>
                                  </td>
                                  {% if stat.contiguity %}
                                  <td class="cellcontig cell3"><img class="yes-contiguous" src="/site-media/images/icon-check.png">
                                  {% else %}
                                  <td class="cellcontig cell3"><img class="no-contiguous" src="/site-media/images/icon-warning.png">
                                  {% endif %}
                                  <div class="tooltip">this is a tooltip</div>
                                  </td>                             
                                  <td class="cellcompact cell4">{{ stat.compactness }}</td>
                              </tr>
                              {% endfor %}
                          </tbody>
                      </table>
                    {% else %}
                        <div class="error"> Sorry, there is no geographic data for this plan</div>
                    {% endif %}                    
                  </div>
<div class="menu_footer">
                    <button id="stats_legend" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text">Stats Legend</span></button>
                    <div id="stats_legend_panel" class="tooltip">
                      <div class="legend_item">
                        <h5>Population</h5>
                        <ul>
                          <li><span class="swatch popstatus over"></span> Over target</li>
{'fraction_non_alphanumeric': 0.1215240436318943, 'fraction_numerical': 0.003994469196497158, 'mean_word_length': 0.8836805555555556, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 44, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7247488', 'n_tokens_mistral': 1590, 'n_tokens_neox': 1414, 'n_words': 305}