<commit_before><% if signed_in? %>
  <p class="signed_in_notification_container">Signed in as: <%= link_to current_user.user_name, current_user, class: "signed_in_notification" %></p>
<% end %>

<div class="page_content">

  <h1 class="link_to_home_header_container"><%= link_to 'Classtronomy', root_path, class: "link_to_home_header" %></h1>

  <h2 class="course_index_header">Choose a Course:</h2>

  <% @courses.each do |course| %>
    <div class="course_index_wrapper">
      <%= link_to course.name, course, class: 'course_name' %>
    </div>
  <% end %>

  <nav>
    <%= link_to 'Back Home', root_path, class: "nav_link" %>
    <% if signed_in? %>
      <%= link_to 'Profile Page', current_user, class: "nav_link" %></p>
    <% end %>
    <% if current_user.try(:admin?) %>
      <%= link_to 'Create New Course', new_course_path, class: "nav_link" %><commit_msg>deleted excess closing p tag<commit_after><% if signed_in? %>
  <p class="signed_in_notification_container">Signed in as: <%= link_to current_user.user_name, current_user, class: "signed_in_notification" %></p>
<% end %>

<div class="page_content">

  <h1 class="link_to_home_header_container"><%= link_to 'Classtronomy', root_path, class: "link_to_home_header" %></h1>

  <h2 class="course_index_header">Choose a Course:</h2>

  <% @courses.each do |course| %>
    <div class="course_index_wrapper">
      <%= link_to course.name, course, class: 'course_name' %>
    </div>
  <% end %>

  <nav>
    <%= link_to 'Back Home', root_path, class: "nav_link" %>
    <% if signed_in? %>
      <%= link_to 'Profile Page', current_user, class: "nav_link" %>
    <% end %>
    <% if current_user.try(:admin?) %>
      <%= link_to 'Create New Course', new_course_path, class: "nav_link" %>
{'fraction_non_alphanumeric': 0.17687464224384658, 'fraction_numerical': 0.0045792787635947334, 'mean_word_length': 4.602564102564102, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 0, '>': 50, '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': '5427370', 'n_tokens_mistral': 672, 'n_tokens_neox': 616, 'n_words': 135}