<commit_before>header
  nav.navbar.navbar-default
    .container
      .navbar-header
        button.navbar-toggle.collapsed type="button" data-toggle="collapse" data-target="#navbar-collapse"
          span.sr-only Toggle navigation
          span.icon-bar
          span.icon-bar
          span.icon-bar
        = link_to 'Viode', root_path, class: 'navbar-brand'

      .collapse.navbar-collapse#navbar-collapse
        ul.nav.navbar-nav
          li class=('active' if controller_name == 'questions' && action_name == 'index')
            = link_to 'Questions', questions_path
          li class=('active' if controller_name == 'categories' && action_name == 'index')
            = link_to 'Categories', categories_path
          li = link_to 'Users', '#'
          li class=('active' if controller_name == 'questions' && action_name == 'new')
            = link_to 'ASK', new_question_path
        ul.nav.navbar-nav.navbar-right
          - if user_signed_in?
            li.dropdown
              = link_to current_user.username, current_user, class: 'dropdown-toggle', data: { toggle: 'dropdown' }
              ul.dropdown-menu
                li = link_to 'Profile', current_user
                li = link_to 'Settings', settings_profile_path
                li.divider
                li = link_to 'Sign out', destroy_user_session_path, method: :delete
          - else
            li = link_to 'Sign in', new_user_session_path
<commit_msg>update 'ask' link position in header<commit_after>header
  nav.navbar.navbar-default
    .container
      .navbar-header
        button.navbar-toggle.collapsed type="button" data-toggle="collapse" data-target="#navbar-collapse"
          span.sr-only Toggle navigation
          span.icon-bar
          span.icon-bar
          span.icon-bar
        = link_to 'Viode', root_path, class: 'navbar-brand'

      .collapse.navbar-collapse#navbar-collapse
        ul.nav.navbar-nav
          li class=('active' if controller_name == 'questions' && action_name == 'index')
            = link_to 'Questions', questions_path
          li class=('active' if controller_name == 'categories' && action_name == 'index')
            = link_to 'Categories', categories_path
          li = link_to 'Users', '#'
        ul.nav.navbar-nav.navbar-right
          li class=('active' if controller_name == 'questions' && action_name == 'new')
            = link_to 'Ask question', new_question_path
          - if user_signed_in?
            li.dropdown
              = link_to current_user.username, current_user, class: 'dropdown-toggle', data: { toggle: 'dropdown' }
              ul.dropdown-menu
                li = link_to 'Profile', current_user
                li = link_to 'Settings', settings_profile_path
                li.divider
                li = link_to 'Sign out', destroy_user_session_path, method: :delete
          - else
            li = link_to 'Sign in', new_user_session_path

{'fraction_non_alphanumeric': 0.10982264665757162, 'fraction_numerical': 0.0, 'mean_word_length': 2.184581976112921, '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': '334723', 'n_tokens_mistral': 846, 'n_tokens_neox': 804, 'n_words': 184}