<commit_before><% path = request.path_info.split('/')[1] %>

<div class="topbar">
  <div class="fill">
    <div class="container">
      
      <a href="/" class="brand">
        Sequences
      </a>

      <% if @user %>
      
      <ul class="nav">
        <li class="<%= 'active' if path =~ /^experiment/ %>"><a href="/experiments">Experiments</a></li>
        <li class="<%= 'active' if path =~ /^user/ %>"><a href="/users">Users</a></li>
      </ul>
      
      <form class="pull-left" action="/search/" method="get">
        <input type="text" name="q" placeholder="<%= params[:q] ? params[:q] : 'Search' %>" />
      </form>
      
      <% end %>
      
      <ul class="nav secondary-nav">
        <% if !@user %>
          <li class="<%= 'active' if path =~ /^session/%>"><a href="/session/new">Login</a></li>
        <% else %>
          <li><a href="/user/<%= @user.id %>"><%= @user.name %></a></li>
          <li><a href="/session/destroy">Logout</a></li>
        <% end %>
      </ul>
        
    </div>
  </div>
</div><commit_msg>topbar<commit_after><% path = request.path_info.split('/')[1] %>

<div class="navbar navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container">
      
      <a href="/" class="brand">
        Sequences
      </a>
      
      <% if @user %>
        <div class="nav-collapes">
          <ul class="nav">
            <li class="<%= 'active' if path =~ /^experiment/ %>"><a href="/experiments">Experiments</a></li>
            <li class="<%= 'active' if path =~ /^user/ %>"><a href="/users">Users</a></li>
          </ul>
        </div>
      
        <form class="navbar-search" action="/search/" method="get">
          <input type="text" name="q" placeholder="<%= params[:q] ? params[:q] : 'Search' %>" />
        </form>
      <% end %>
      
      <ul class="nav pull-right">
        <% if !@user %>
          <li class="<%= 'active' if path =~ /^session/%>"><a href="/session/new">Login</a></li>
        <% else %>
          <li><a href="/user/<%= @user.id %>"><%= @user.name %></a></li>
          <li><a href="/session/destroy">Logout</a></li>
        <% end %>
      </ul>
        
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.2524093620927031, 'fraction_numerical': 0.0009178522257916476, 'mean_word_length': 2.0446927374301676, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '1828823', 'n_tokens_mistral': 782, 'n_tokens_neox': 737, 'n_words': 149}