<commit_before>.topbar-wrapper
  .topbar{"data-dropdown" => "dropdown"}
    .topbar-inner
      .container-fluid
        %h3
          %a.brand{:href => '#'}
            Circle

        %ul.nav
          %li.active
            %a{:href => '#'}
              = @project.name

        %ul.nav.secondary-nav
          %li.dropdown
            %a.dropdown-toggle{:href => '#'}
              = current_user.email
            %ul.dropdown-menu
              %li
                %a{:href => '#'}
                  Logout

.container
  .content
    %h4
      = @project.name
    %h6
      = @project["vcs-url"]

    = render :partial => 'running'
    = render :partial => 'running'

    %table#recent-jobs
      %thead
        %tr
          %th
            Revision
          %th
            Author
          %th
            Success?
          %th
            \% complete

      = render @project.jobs.order_by([[:_id, :desc]]).limit(10), :partial => 'job'

-#  = form_for [@project, Job.new], :remote => true do |f|
-#    = f.submit "Trigger job"
<commit_msg>Make logout button actually logout.<commit_after>.topbar-wrapper
  .topbar{"data-dropdown" => "dropdown"}
    .topbar-inner
      .container-fluid
        %h3
          %a.brand{:href => '#'}
            Circle

        %ul.nav
          %li.active
            %a{:href => '#'}
              = @project.name

        %ul.nav.secondary-nav
          %li.dropdown
            %a.dropdown-toggle{:href => '#'}
              = current_user.email
            %ul.dropdown-menu
              %li
                %a{:href => '#'}
                  = link_to('Logout', destroy_user_session_path, :method => :delete)

.container
  .content
    %h4
      = @project.name
    %h6
      = @project["vcs-url"]

    = render :partial => 'running'
    = render :partial => 'running'

    %table#recent-jobs
      %thead
        %tr
          %th
            Revision
          %th
            Author
          %th
            Success?
          %th
            \% complete

      = render @project.jobs.order_by([[:_id, :desc]]).limit(10), :partial => 'job'

-#  = form_for [@project, Job.new], :remote => true do |f|
-#    = f.submit "Trigger job"

{'fraction_non_alphanumeric': 0.15004574565416284, 'fraction_numerical': 0.004574565416285453, 'mean_word_length': 1.3490870032223417, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 22, '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': '6518887', 'n_tokens_mistral': 703, 'n_tokens_neox': 672, 'n_words': 123}