<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title><%= content_for?(:title) ? yield(:title) : "DemBoyz-Overflow" %></title>

    <%= stylesheet_link_tag    "application" %>
    <%= javascript_include_tag "vendor/modernizr" %>
    <%= csrf_meta_tags %>
  </head>

  <body>
    <nav class='top-bar'>
      <ul class='title-area'>
        <li class='name'>
          <h1><%= link_to 'DemBoyz-Overflow', root_path %></h1>
        </li>
      </ul>
      <section class='top-bar-section'>
        <ul class='center'>
          <li><%= form_tag(questions_path, :method => "get", id: "search-form") do %>
              <%= text_field_tag :search, params[:search], placeholder: "Search Questions", size: 60 %></li>
          <li> | </li>
          <li><%= submit_tag "Search", :name => nil %></li>
          <% end %>
        </ul>
        <ul class='right'>
          <% if current_user %>
            <div class='loggedIn'>
              <div>
                <li><%= link_to("Create Question", new_question_path) %></li>
                <li><%= link_to "Logout", logout_path %></li>
              </div>
            </div>
          <% else %>
            <li>
              <div class='login'>
                <%= form_for :welcome, url: login_path do |f| %>
                  <li><%= f.text_field :email,   placeholder: "Email" %></li>
                  <li> | </li>
                  <li><%= f.password_field :password,   placeholder: "Password" %></li>
                  <li> | </li>
                  <li><%= f.submit "Login" %></li>
                <% end %>
                <li><%= link_to "Signup", new_user_path %></li>
              </div>
            </li>
          <% end %>
        </ul>
      </div>
    </nav>

    <%= yield %>
    <%= javascript_include_tag "application" %>
  </body>
</html>
<commit_msg>Add profile link in nav bar<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title><%= content_for?(:title) ? yield(:title) : "DemBoyz-Overflow" %></title>

    <%= stylesheet_link_tag    "application" %>
    <%= javascript_include_tag "vendor/modernizr" %>
    <%= csrf_meta_tags %>
  </head>

  <body>
    <nav class='top-bar'>
      <ul class='title-area'>
        <li class='name'>
          <h1><%= link_to 'DemBoyz-Overflow', root_path %></h1>
        </li>
      </ul>
      <section class='top-bar-section'>
        <ul class='center'>
          <li><%= form_tag(questions_path, :method => "get", id: "search-form") do %>
              <%= text_field_tag :search, params[:search], placeholder: "Search Questions", size: 60 %></li>
          <li> | </li>
          <li><%= submit_tag "Search", :name => nil %></li>
          <% end %>
        </ul>
        <ul class='right'>
          <% if current_user %>
            <div class='loggedIn'>
              <div>
                <li><%= link_to "Profile", user_path(session[:user_id]) %></li>
                <li><%= link_to "Create Question", new_question_path %></li>
                <li><%= link_to "Logout", logout_path %></li>
              </div>
            </div>
          <% else %>
            <li>
              <div class='login'>
                <%= form_for :welcome, url: login_path do |f| %>
                  <li><%= f.text_field :email,   placeholder: "Email" %></li>
                  <li> | </li>
                  <li><%= f.password_field :password,   placeholder: "Password" %></li>
                  <li> | </li>
                  <li><%= f.submit "Login" %></li>
                <% end %>
                <li><%= link_to "Signup", new_user_path %></li>
              </div>
            </li>
          <% end %>
        </ul>
      </div>
    </nav>

    <%= yield %>
    <%= javascript_include_tag "application" %>
  </body>
</html>

{'fraction_non_alphanumeric': 0.19572327044025156, 'fraction_numerical': 0.003522012578616352, 'mean_word_length': 1.7553707553707554, 'pattern_counts': {'":': 0, '<': 160, '<?xml version=': 0, '>': 164, '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': '7573845', 'n_tokens_mistral': 1387, 'n_tokens_neox': 1264, 'n_words': 275}