<commit_before><% if milestone.is_virtual == false %>
  <a name="<%= milestone.id %>"></a>
<% end %>
<div class="lesson-plan-item">
  <table class="table-top-align">
    <tr>
      <td>
        <h2><%= milestone.title %></h2>
        <% entries = milestone.entries.sort { |a, b| a.start_at <=> b.start_at } %>
        <% if milestone.end_at %>
          <h3>Period ending on <%= milestone.end_at.strftime("%A, %d %B %Y") %></h3>
        <% end %>
        <% if milestone.description %>
        <p>
        <%= milestone.description.html_safe %>
        </p>
        <% end %>
      </td>
      <td style="width: 20%; text-align: right">
        <a href="#top">Back to Top</a>
        <% if entries.length > 0 %>
          <a class="lesson-plan-hide-entries btn"><i class="icon-minus-sign"></i></a>
          <a class="lesson-plan-show-entries btn" style="display: none;"><i class="icon-plus-sign"></i></a><commit_msg>Move "Back to Top" link to above each milestone's header.<commit_after><% if milestone.is_virtual == false %>
  <a name="<%= milestone.id %>"></a>
<% end %>
<div class="lesson-plan-item">
  <a href="#top">Back to Top</a>
  <table class="table-top-align">
    <tr>
      <td>
        <h2><%= milestone.title %></h2>
        <% entries = milestone.entries.sort { |a, b| a.start_at <=> b.start_at } %>
        <% if milestone.end_at %>
          <h3>Period ending on <%= milestone.end_at.strftime("%A, %d %B %Y") %></h3>
        <% end %>
        <% if milestone.description %>
        <p>
          <% if milestone.is_virtual %>
            <%= milestone.description.truncate %>
          <% else %>
            <%= milestone.description.html_safe %>
          <% end %>
        </p>
        <% end %>
      </td>
      <td style="width: 13%; text-align: right">
        <% if entries.length > 0 %>
          <a class="lesson-plan-hide-entries btn"><i class="icon-minus-sign"></i></a>
          <a class="lesson-plan-show-entries btn" style="display: none;"><i class="icon-plus-sign"></i></a>
{'fraction_non_alphanumeric': 0.2112605879422023, 'fraction_numerical': 0.006975585450921774, 'mean_word_length': 2.3080724876441514, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 83, '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': '2876887', 'n_tokens_mistral': 742, 'n_tokens_neox': 658, 'n_words': 141}