<commit_before><!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
  <ul class="nav navbar-nav side-nav">
    <li class="active">
      <a href="javascript:;" data-toggle="collapse" data-target="#demo"><i class="fa fa-fw fa-thumb-tack"></i> Posts <i class="fa fa-fw fa-caret-down"></i></a>
      <ul id="demo" class="collapse">
        <li>
          <%= link_to 'All', posts_path %>
        </li>
        <li>
          <%= link_to 'Pending', posts_path(status: 'pending') %>
        </li>
        <li>
          <%= link_to 'Drafts', posts_path(status: 'draft') %>
        </li>
        <li>
          <%= link_to 'Published', posts_path(status: 'published') %>
        </li>
      </ul>
    </li>
    <li>
      <%= link_to assets_path do %>
        <i class="fa fa-fw fa-image"></i>&nbsp;Media
      <%  end %>
    </li>
    <li>
      <a href="tables.html"><i class="fa fa-fw fa-globe"></i> Pages</a>
    </li>
    <li>
      <%= link_to(categories_path) do %>
        <%= icon('list') %>&nbsp;Categories
      <% end %>
    </li>
    <li>
      <a href="forms.html"><i class="fa fa-fw fa-user"></i> Users</a>
    </li>
  </ul>
</div>
<!-- /.navbar-collapse -->
<commit_msg>Fix for sidebar actives<commit_after><!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
  <ul class="nav navbar-nav side-nav">
    <li <%= 'class=active' if controller_name == "posts" %>>
      <a href="javascript:;" data-toggle="collapse" data-target="#demo"><i class="fa fa-fw fa-thumb-tack"></i> Posts <i class="fa fa-fw fa-caret-down"></i></a>
      <ul id="demo" class="collapse">
        <li>
          <%= link_to 'All', posts_path %>
        </li>
        <li>
          <%= link_to 'Pending', posts_path(status: 'pending') %>
        </li>
        <li>
          <%= link_to 'Drafts', posts_path(status: 'draft') %>
        </li>
        <li>
          <%= link_to 'Published', posts_path(status: 'published') %>
        </li>
      </ul>
    </li>
    <li <%= 'class=active' if controller_name == "assets" %>>
      <%= link_to assets_path do %>
        <i class="fa fa-fw fa-image"></i>&nbsp;Media
      <%  end %>
    </li>
    <li <%= 'class=active' if controller_name == "pages" %>>
      <a href="tables.html"><i class="fa fa-fw fa-globe"></i> Pages</a>
    </li>
    <li <%= 'class=active' if controller_name == "categories" %>>
      <%= link_to(categories_path) do %>
        <%= icon('list') %>&nbsp;Categories
      <% end %>
    </li>
    <li <%= 'class=active' if controller_name == "users" %>>
      <a href="forms.html"><i class="fa fa-fw fa-user"></i> Users</a>
    </li>
  </ul>
</div>
<!-- /.navbar-collapse -->

{'fraction_non_alphanumeric': 0.21132743362831857, 'fraction_numerical': 0.0007079646017699115, 'mean_word_length': 2.429611650485437, 'pattern_counts': {'":': 0, '<': 110, '<?xml version=': 0, '>': 110, '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': '1200658', 'n_tokens_mistral': 1022, 'n_tokens_neox': 964, 'n_words': 222}