<commit_before><% date_class_prefix ||= "" %>
<% ot(:timespan, "%{start_at} *to* %{end_at}", :start_at => capture { %>
    <td class="start_date">
      <div class="show_term">
        <span class="<%= date_class_prefix %>start_at"><%= date_string(object.try(:start_at), :long) || (whenever[0] ? t('date.unspecified', "whenever") : t('date.term_start', "term start")) %></span>
      </div>
      <div class="edit_term">
        <input type="text" name="enrollment_term<%= key %>[start_at]" value="<%= date_string(object.try(:start_at), :long) %>" title="<%= start_tooltip %>" class="date_field" style="width: 120px;"/>
      </div>
    </td>
  <% }, :wrapper => capture { %>
    <td>
      &nbsp;\1&nbsp;
    </td>
  <% }, :end_at => capture { %>
    <td class="end_date">
      <div class="show_term">
        <span class="<%= date_class_prefix %>end_at"><%= date_string(object.try(:end_at), :long) || (whenever[1] ? t('date.unspecified', "whenever") : t('date.term_end', "term end")) %></span>
      </div>
      <div class="edit_term">
        <input type="text" name="enrollment_term<%= key %>[end_at]" value="<%= date_string(object.try(:end_at), :long) %>" title="<%= end_tooltip %>" class="date_field" style="width: 120px;"/>
      </div>
    </td>
  <% }) %><commit_msg>Make term editing dates accessible<commit_after><% date_class_prefix ||= "" %>
<% ot(:timespan, "%{start_at} *to* %{end_at}", :start_at => capture { %>
    <td class="start_date">
      <div class="show_term">
        <span class="<%= date_class_prefix %>start_at"><%= date_string(object.try(:start_at), :long) || (whenever[0] ? t('date.unspecified', "whenever") : t('date.term_start', "term start")) %></span>
      </div>
      <div class="edit_term">
        <div class="date_field_container">
          <label class="screenreader-only" id="<%= key %>_start_at_label">
            <%= start_tooltip %> <%= datepicker_screenreader_prompt %>
          </label>
          <input type="text"
            name="enrollment_term<%= key %>[start_at]"
            value="<%= date_string(object.try(:start_at), :long) %>"
            title="<%= accessible_date_format %>"
            class="date_field"
            style="width: 120px;"
            aria-labelledby="<%= key %>_start_at_label"
            data-tooltip />
        </div>
      </div>
    </td>
  <% }, :wrapper => capture { %>
    <td>
      &nbsp;\1&nbsp;
    </td>
  <% }, :end_at => capture { %>
    <td class="end_date">
      <div class="show_term">
        <span class="<%= date_class_prefix %>end_at"><%= date_string(object.try(:end_at), :long) || (whenever[1] ? t('date.unspecified', "whenever") : t('date.term_end', "term end")) %></span>
      </div>
      <div class="edit_term">
        <div class="date_field_container">
          <label class="screenreader-only" id="<%= key %>_end_at_label">
            <%= end_tooltip %> <%= datepicker_screenreader_prompt %>
          </label>
          <input
            type="text"
            name="enrollment_term<%= key %>[end_at]"
            value="<%= date_string(object.try(:end_at), :long) %>"
            title="<%= accessible_date_format %>"
            class="date_field"
            style="width: 120px;"
            aria-labelledby="<%= key %>_end_at_label"
            data-tooltip />
        </div>
      </div>
    </td>
  <% }) %>

{'fraction_non_alphanumeric': 0.21509886159376873, 'fraction_numerical': 0.005392450569203115, 'mean_word_length': 2.9940191387559807, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 95, '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': '1988863', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1121, 'n_words': 204}