<commit_before><nav id="main-header">
  <div class="header-left">

    <div class="header-item">
      <%= link_to root_path do %>
        <p class="fiction-dock-logo logo-header">Fiction Dock</p>
      <% end %>
    </div>

    <div class="header-item">
      <div id="browse-button">
        <%= t(".browse") %>
        <span class="dropdown-caret"></span>
      </div>

      <div id="browse-tooltip" class="tooltip" data-showon="#browse-button">
        <ul>
          <li><%= link_to t(".authors"), users_path %>
          <li><%= link_to t(".stories"), stories_path %>
          <li><%= link_to t(".franchises"), franchises_path %>
          <li><%= link_to t(".characters"), "#" %>
        </ul>
      </div>
    </div>

  </div>

  <div class="header-right">
    
    <% if user_signed_in? %>

      <div class="header-item">
        <div id="dark-mode-toggle">
          <span class="octicon octicon-light-bulb"></span>
        </div>
      </div>

      <div class="header-item">
        <div id="create-button">
          <span class="octicon octicon-plus"></span>
          <span class="dropdown-caret"></span>
        </div>

        <div id="create-tooltip" class="tooltip" data-showon="#create-button">
          <ul>
            <li><%= link_to t(".create_new_story"), new_story_path %>
            <li><%= link_to t(".create_new_franchise"), new_franchise_path %>
          </ul>
        </div>
      </div>

      <div id="username" class="header-item header-item-with-flyout">
        <div class="header-item-title"><%= current_user.name %></div>

        <div class="header-profile-picture">
          
        </div>

        <div id="user-flyout" class="flyout">
          <ul>
            <li><%= link_to t(".profile"), user_path(current_user) %></li>

            <li><%= button_to t(".sign_out"), destroy_user_session_path, method: :delete %></li>
          </ul>
        </div>
      </div>

    <% else %>

      <div class="header-item">
        <div id="dark-mode-toggle"><commit_msg>Removing something I shouldn't gotten rid of a while ago<commit_after><nav id="main-header">
  <div class="header-left">

    <div class="header-item">
      <%= link_to root_path do %>
        <p class="fiction-dock-logo logo-header">Fiction Dock</p>
      <% end %>
    </div>

    <div class="header-item">
      <div id="browse-button">
        <%= t(".browse") %>
        <span class="dropdown-caret"></span>
      </div>

      <div id="browse-tooltip" class="tooltip" data-showon="#browse-button">
        <ul>
          <li><%= link_to t(".authors"), users_path %>
          <li><%= link_to t(".stories"), stories_path %>
          <li><%= link_to t(".franchises"), franchises_path %>
          <li><%= link_to t(".characters"), "#" %>
        </ul>
      </div>
    </div>

  </div>

  <div class="header-right">
    
    <% if user_signed_in? %>

      <div class="header-item">
        <div id="dark-mode-toggle">
          <span class="octicon octicon-light-bulb"></span>
        </div>
      </div>

      <div class="header-item">
        <div id="create-button">
          <span class="octicon octicon-plus"></span>
          <span class="dropdown-caret"></span>
        </div>

        <div id="create-tooltip" class="tooltip" data-showon="#create-button">
          <ul>
            <li><%= link_to t(".create_new_story"), new_story_path %>
            <li><%= link_to t(".create_new_franchise"), new_franchise_path %>
          </ul>
        </div>
      </div>

      <div id="username" class="header-item header-item-with-flyout">
        <div class="header-item-title"><%= current_user.name %></div>

        <div id="user-flyout" class="flyout">
          <ul>
            <li><%= link_to t(".profile"), user_path(current_user) %></li>

            <li><%= button_to t(".sign_out"), destroy_user_session_path, method: :delete %></li>
          </ul>
        </div>
      </div>

    <% else %>

      <div class="header-item">
        <div id="dark-mode-toggle">
{'fraction_non_alphanumeric': 0.1973980485364023, 'fraction_numerical': 0.0, 'mean_word_length': 2.18312101910828, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, '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': '4606304', 'n_tokens_mistral': 1386, 'n_tokens_neox': 1291, 'n_words': 247}