<commit_before>%div{ class:"sidebar #{controller.controller_name}" }
  %span#sidebar-toggle
    %i.fa.fa-navicon
  .pusher
    - if Rails.configuration.hackathon['logo_asset']
      #logo-cta
        = link_to root_path do
          = image_tag Rails.configuration.hackathon['logo_asset'], id: 'logo', alt: "#{Rails.configuration.hackathon['name']} logo", title: Rails.configuration.hackathon['name']
    - if user_signed_in?
      %div
        - if current_user.admin?
          = btn_link_to "Manage", manage_root_path
        - else
          = btn_link_to "Review", new_questionnaires_path
    - else
      %div
        = btn_link_to "Sign In", new_user_session_path
      %div
        = btn_link_to "Sign Up", new_user_registration_path
    - if user_signed_in?
      %div
        = btn_link_to "Sign Out", destroy_user_session_path, method: :delete<commit_msg>Revise sidebar to be less button-sparse<commit_after>%div{ class:"sidebar #{controller.controller_name}" }
  %span#sidebar-toggle
    %i.fa.fa-navicon
  .pusher
    - if Rails.configuration.hackathon['logo_asset']
      #logo-cta
        = link_to root_path do
          = image_tag Rails.configuration.hackathon['logo_asset'], id: 'logo', alt: "#{Rails.configuration.hackathon['name']} logo", title: Rails.configuration.hackathon['name']
    %nav
      %ul.nav-list
        %li
          = link_to "Home", root_path, class: 'nav-link'
        - if user_signed_in?
          %li
            - if current_user.admin?
              = link_to "Manage", manage_root_path, class: 'nav-link'
            - else
              = link_to "My Account", new_questionnaires_path, class: 'nav-link'
          %li
            = link_to "Sign Out", destroy_user_session_path, method: :delete, class: 'nav-link'
        - else
          %li
            = link_to "Sign In", new_user_session_path, class: 'nav-link'
          %li
            = link_to "Sign Up", new_user_registration_path, class: 'nav-link'
{'fraction_non_alphanumeric': 0.1205927439959121, 'fraction_numerical': 0.0, 'mean_word_length': 2.579524680073126, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2631141', 'n_tokens_mistral': 640, 'n_tokens_neox': 634, 'n_words': 127}