<commit_before><div class="row">

  <aside class="span4">
    <nav>
      <ul class="nav nav-tabs nav-stacked">
        <% if language %>
          <% exercises = exercises_available_for(language) %>
          <% if exercises.any? %>
            <%= dashboard_assignment_nav(language) %>
            <% exercises.each do |exercise| %>
              <%= dashboard_assignment_nav(language, exercise.slug) %>
            <% end %>
          <% end %>
        <% end %>
      </ul>
    </nav>
    <%= erb :ongoing_assignments, locals: {ongoing: current_user.ongoing} %>
    <%= erb :completed_assignments, locals: {completed: current_user.done } %>
    </br>
    <div class="sidebar-panel">
      <p>Read about <a href="/cycle">the feedback cycle</a>.</p>

      <% if current_user.nitpicker? %>
        <p>Read about <a href="/nitpick">how to nitpick</a></p>
      <% end %>
    </div>

  </aside>
  <main id="pending-submissions" class="span8">
    <% if (language && current_user.nitpicks_trail?(language)) || current_user.nitpicker? %>
      <%= erb :pending, locals: {submissions: submissions, filters: filters, exercise: exercise} %>
    <% else %>
      <%= erb :about %>
    <% end %>
  </main>
</div><commit_msg>Fix edge case on welcome pages<commit_after><div class="row">

  <aside class="span4">
    <nav>
      <ul class="nav nav-tabs nav-stacked">
        <% if language %>
          <% exercises = exercises_available_for(language) %>
          <% if exercises.any? %>
            <%= dashboard_assignment_nav(language) %>
            <% exercises.each do |exercise| %>
              <%= dashboard_assignment_nav(language, exercise.slug) %>
            <% end %>
          <% end %>
        <% end %>
      </ul>
    </nav>
    <%= erb :ongoing_assignments, locals: {ongoing: current_user.ongoing} %>
    <%= erb :completed_assignments, locals: {completed: current_user.done } %>
    </br>
    <div class="sidebar-panel">
      <p>Read about <a href="/cycle">the feedback cycle</a>.</p>

      <% if current_user.nitpicker? %>
        <p>Read about <a href="/nitpick">how to nitpick</a></p>
      <% end %>
    </div>

  </aside>
  <main id="pending-submissions" class="span8">
    <% if (language && current_user.nitpicks_trail?(language)) || (!language && current_user.nitpicker?) %>
      <%= erb :pending, locals: {submissions: submissions, filters: filters, exercise: exercise} %>
    <% else %>
      <%= erb :about %>
    <% end %>
  </main>
</div>
{'fraction_non_alphanumeric': 0.17883211678832117, 'fraction_numerical': 0.0016220600162206002, 'mean_word_length': 2.5857558139534884, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '3597863', 'n_tokens_mistral': 858, 'n_tokens_neox': 763, 'n_words': 161}