<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
  	<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
  	<%= csrf_meta_tags %>

    <title>PDS Competency Assessment</title>

  </head>

  <body>
  	<% if logged_in_user? %>
      <!-- If there is a logged in admin, render the admin partial. -->
      <%= render 'layouts/admin' %>
    <% else %>
      <!-- If there is not a logged in admin, render the user partial. -->
      <%= render 'layouts/user' %>
    <% end %>
    <script>
$(".nav li").on("click", function(){
  $(".nav .nabar-nav").find(".active").removeClass("active");
  $(this).parent().addClass("active");
});
</script>


  	<!-- Yield page content here --> 
    <div class="container" >
      <div class="page-container" ><commit_msg>user gets logged out when window closes<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
  	<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
  	<%= csrf_meta_tags %>

    <title>PDS Competency Assessment</title>

  </head>

  <body>
  	<% if logged_in_user? %>
      <!-- If there is a logged in admin, render the admin partial. -->
      <%= render 'layouts/admin' %>
    <% else %>
      <!-- If there is not a logged in admin, render the user partial. -->
      <%= render 'layouts/user' %>
    <% end %>
    <script>
$(".nav li").on("click", function(){
  $(".nav .nabar-nav").find(".active").removeClass("active");
  $(this).parent().addClass("active");
});

// the following code logs the admin out when they close the window
window.onbeforeunload = confirmExit;
function confirmExit()
{
    $.ajax({
      url: '/users/logout',
      method: 'get'
    });
}
</script>


  	<!-- Yield page content here --> 
    <div class="container" >
      <div class="page-container" >
{'fraction_non_alphanumeric': 0.19045911047345768, 'fraction_numerical': 0.002152080344332855, 'mean_word_length': 3.2386018237082066, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 65, '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': '5309702', 'n_tokens_mistral': 932, 'n_tokens_neox': 870, 'n_words': 239}