<commit_before>!!! 5
%html(lang="en")
  %head
    %meta(charset="utf-8")
    %title= content_for?(:title) ? "#{yield(:title)} - Ticket" : "Ticket"
    = stylesheet_link_tag "//fonts.googleapis.com/css?family=Lato:300,400,700,900"
    = stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true
    = csrf_meta_tags
    / Le HTML5 shim, for IE6-8 support of HTML elements
    /[if lt IE 9]
      = javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js"
  %body
    .navbar.navbar-default.navbar-fixed-top
      .container
        .navbar-header
          %button.navbar-toggle(type="button" data-toggle="collapse" data-target=".navbar-collapse")
            %span.icon-bar
            %span.icon-bar
            %span.icon-bar
          %a.navbar-brand(href=root_path) Ticket
        .navbar-collapse.collapse
          %ul.nav.navbar-nav.navbar-right
            - if user_signed_in?
              %li= link_to "Sign out", destroy_user_session_path, method: :delete
            - else
              %li= link_to "Sign up", new_user_registration_path
              %li= link_to "Sign in", new_user_session_path

    %p.notice= notice
    %p.alert= alert
<commit_msg>Improve nav bar links to go back to the project<commit_after>!!! 5
%html(lang="en")
  %head
    %meta(charset="utf-8")
    %title= content_for?(:title) ? "#{yield(:title)} - Ticket" : "Ticket"
    = stylesheet_link_tag "//fonts.googleapis.com/css?family=Lato:300,400,700,900"
    = stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true
    = csrf_meta_tags
    / Le HTML5 shim, for IE6-8 support of HTML elements
    /[if lt IE 9]
      = javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js"
  %body
    .navbar.navbar-default.navbar-fixed-top
      .container
        .navbar-header
          %button.navbar-toggle(type="button" data-toggle="collapse" data-target=".navbar-collapse")
            %span.icon-bar
            %span.icon-bar
            %span.icon-bar
          - if @project
            %a.navbar-brand{ href: project_path(@project) }= @project.name
          - elsif user_signed_in?
            %a.navbar-brand{ href: projects_path } Ticket
          - else
            %a.navbar-brand{ href: root_path } Ticket
        .navbar-collapse.collapse
          - if @project
            %ul.nav.navbar-nav
              %li= link_to "All Projects", projects_path
          %ul.nav.navbar-nav.navbar-right
            - if user_signed_in?
              %li= link_to "Sign out", destroy_user_session_path, method: :delete
            - else
              %li= link_to "Sign up", new_user_registration_path
              %li= link_to "Sign in", new_user_session_path

    %p.notice= notice
    %p.alert= alert

{'fraction_non_alphanumeric': 0.1321900678813862, 'fraction_numerical': 0.016434440871739908, 'mean_word_length': 2.341288782816229, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3002073', 'n_tokens_mistral': 992, 'n_tokens_neox': 921, 'n_words': 176}