<commit_before><% if current_district.id == enrolled_student.student.district_id %>
  <% cache ["student_index",enrolled_student, enrolled_student.student] do %>
  <tr class="<%= cycle('', 'list-line-even') %>">
    <td style="text-align:center;">
      <%= check_box_tag('id[]', enrolled_student.student.id,false,:id=>dom_id(enrolled_student.student)) %>
    </td>

    <td style="text-align:left;">
      <%= label_tag(dom_id(enrolled_student.student),"#{enrolled_student.student.last_name}, #{enrolled_student.student.first_name}") %>
    </td>
    <td style="text-align: center;">
      <%= enrolled_student.student.number %>
    </td>
    <td style="text-align: center;">
      <%= enrolled_student.grade %>
    </td>
    <td style="text-align: center;">
      <%= yes_or_no enrolled_student.student.esl %>
    </td>
    <td style="text-align: center;">
      <%= yes_or_no enrolled_student.student.special_ed %>
    </td>

    <td>
      <%=status_display(enrolled_student.student) %>
    </td>
  </tr>
<% end %>
<% end %><commit_msg>fix caching of student rows, the css cycle should not be cached<commit_after><% if current_district.id == enrolled_student.student.district_id %>
  <tr class="<%= cycle('', 'list-line-even') %>">
  <% cache ["student_index",enrolled_student, enrolled_student.student] do %>
    <td style="text-align:center;">
      <%= check_box_tag('id[]', enrolled_student.student.id,false,:id=>dom_id(enrolled_student.student)) %>
    </td>

    <td style="text-align:left;">
      <%= label_tag(dom_id(enrolled_student.student),"#{enrolled_student.student.last_name}, #{enrolled_student.student.first_name}") %>
    </td>
    <td style="text-align: center;">
      <%= enrolled_student.student.number %>
    </td>
    <td style="text-align: center;">
      <%= enrolled_student.grade %>
    </td>
    <td style="text-align: center;">
      <%= yes_or_no enrolled_student.student.esl %>
    </td>
    <td style="text-align: center;">
      <%= yes_or_no enrolled_student.student.special_ed %>
    </td>

    <td>
      <%=status_display(enrolled_student.student) %>
    </td>
<% end %>
  </tr>
<% end %>
{'fraction_non_alphanumeric': 0.19295774647887323, 'fraction_numerical': 0.0, 'mean_word_length': 3.865296803652968, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 61, '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': '404636', 'n_tokens_mistral': 795, 'n_tokens_neox': 716, 'n_words': 111}