<commit_before><tr>
  <td>
    <h1>
      <small>
        <% if entry.is_virtual %>
          <%= entry.entry_real_type %>
        <% else %>
          <%= LessonPlanEntry::ENTRY_TYPES[entry.entry_type][0] %>
        <% end %>
      </small>
    </h1>
  </td>
  <td>
    <h2><%= entry.title %></h2>
    <h3><%= entry.location %></h3>
    <h4>
      <% if entry.start_at %>
        <span class="icon-calendar"></span>
        <%= entry.start_at.strftime("%A, %d %B %Y %I:%M %p") %>
        <% if entry.end_at %> to 
          <% if entry.start_at.yday == entry.end_at.yday and entry.start_at.year == entry.end_at.year %>
            <%= entry.end_at.strftime("%I:%M %p") %>
          <% else %>
            <%= entry.end_at.strftime("%A, %d %B %Y %I:%M %p") %>
          <% end %>
        <% end %>
      <% end %>
    </h4>
    <p><%= entry.description.html_safe %></p>
  </td>
<% if (can? :manage, LessonPlanEntry) %>
<% if not entry.is_virtual %>
  <td width="10%">
    <%= link_to edit_course_lesson_plan_entry_path(@course, entry), class: 'btn' do %>
      <i class="icon-edit"></i>
    <% end %>
    <%= link_to course_lesson_plan_entry_path(@course, entry),
                method: :delete,
                data: { confirm: t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
                class: 'btn btn-danger' do %>
        <i class="icon-trash"></i>
    <% end %>
  </td><commit_msg>Use h3 for missions/trainings, h2 for everything else.<commit_after><tr>
  <td>
    <h1>
      <small>
        <% if entry.is_virtual %>
          <%= entry.entry_real_type %>
        <% else %>
          <%= LessonPlanEntry::ENTRY_TYPES[entry.entry_type][0] %>
        <% end %>
      </small>
    </h1>
  </td>
  <td>
    <% if entry.is_virtual %>
    <h3><%= entry.title %></h3>
    <% else %>
    <h2><%= entry.title %></h2>
    <% end %>
    <h3><%= entry.location %></h3>
    <h4>
      <% if entry.start_at %>
        <span class="icon-calendar"></span>
        <%= entry.start_at.strftime("%A, %d %B %Y %I:%M %p") %>
        <% if entry.end_at %> to 
          <% if entry.start_at.yday == entry.end_at.yday and entry.start_at.year == entry.end_at.year %>
            <%= entry.end_at.strftime("%I:%M %p") %>
          <% else %>
            <%= entry.end_at.strftime("%A, %d %B %Y %I:%M %p") %>
          <% end %>
        <% end %>
      <% end %>
    </h4>
    <p><%= entry.description.html_safe %></p>
  </td>
<% if (can? :manage, LessonPlanEntry) %>
<% if not entry.is_virtual %>
  <td width="10%">
    <%= link_to edit_course_lesson_plan_entry_path(@course, entry), class: 'btn' do %>
      <i class="icon-edit"></i>
    <% end %>
    <%= link_to course_lesson_plan_entry_path(@course, entry),
                method: :delete,
                data: { confirm: t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
                class: 'btn btn-danger' do %>
        <i class="icon-trash"></i>
    <% end %>
  </td>
{'fraction_non_alphanumeric': 0.2142379679144385, 'fraction_numerical': 0.008689839572192513, 'mean_word_length': 2.1112266112266114, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 111, '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': '958490', 'n_tokens_mistral': 1191, 'n_tokens_neox': 1077, 'n_words': 207}