<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">
  <title>Kinder</title>
  <%= favicon_link_tag 'kinder-favicon.png' %>
  <%= csrf_meta_tags %>
  <%= action_cable_meta_tag %>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
  <!-- Icons -->
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
</head>
<body>
   <div class="navbar-fixed">
  <nav class="orange darken-3 navbar-fixed">
    <a href="#" class="brand-logo center"><%= image_tag "kinder-icon-circle.png", :size => "40x40", class: 'header-logo' %></a>
    <!-- nav bar menu for web -->
    <ul class="hide-on-med-and-down">
    <% if current_user %>
      <li><%= link_to 'Dashboard', dashboard_path(current_user.id), class: "waves-effect"  %></li>
      <li><%= link_to 'Kinder', kinders_path, class: "waves-effect"  %></li>
      <li><%= link_to 'Profile', user_path(current_user.id), class: "waves-effect" %></li>
      <li><%= link_to 'Messages', user_chats_path(current_user.id), class: "waves-effect" %></li>
      <li><%= link_to 'Connections', user_connections_path(current_user.id), class: "waves-effect" %></li>
          </ul>
    <ul class="right hide-on-med-and-down">
      <li><%= link_to 'Logout', logout_path, class: "waves-effect"  %></li>
    <% else %>
      <li><%= link_to 'Login', login_path, class: "waves-effect" %></li>
      <li><%= link_to 'Register', new_user_path, class: "waves-effect" %></li>
    <% end %>
    </ul><commit_msg>Working badges on desktop view<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">
  <title>Kinder</title>
  <%= favicon_link_tag 'kinder-favicon.png' %>
  <%= csrf_meta_tags %>
  <%= action_cable_meta_tag %>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
  <!-- Icons -->
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <%= stylesheet_link_tag    'application', media: 'all' %>
  <%= javascript_include_tag 'application' %>
</head>
<body>
   <div class="navbar-fixed">
  <nav class="orange darken-3 navbar-fixed">
    <a href="#" class="brand-logo center"><%= image_tag "kinder-icon-circle.png", :size => "40x40", class: 'header-logo' %></a>
    <!-- nav bar menu for web -->
    <ul class="hide-on-med-and-down">
    <% if current_user %>
      <li><%= link_to 'Dashboard', dashboard_path(current_user.id), class: "waves-effect"  %></li>
      <li><%= link_to 'Kinder', kinders_path, class: "waves-effect"  %></li>
      <li><%= link_to 'Profile', user_path(current_user.id), class: "waves-effect" %></li>
       <li><%= link_to(user_chats_path(current_user.id), class: "waves-effect ") do %>
        Messages
        <% if current_user.find_unreads.length > 0 %>
        <span class='new badge grey lighten-2 black-text'><%= current_user.find_unreads.length %></span>
        <% end %>
        <% end %>
       </li>
      <li><%= link_to 'Connections', user_connections_path(current_user.id), class: "waves-effect" %></li>
          </ul>
    <ul class="right hide-on-med-and-down">
      <li><%= link_to 'Logout', logout_path, class: "waves-effect"  %></li>
    <% else %>
      <li><%= link_to 'Login', login_path, class: "waves-effect" %></li>
      <li><%= link_to 'Register', new_user_path, class: "waves-effect" %></li>
    <% end %>
    </ul>
{'fraction_non_alphanumeric': 0.2122503328894807, 'fraction_numerical': 0.005858854860186418, 'mean_word_length': 3.890625, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 124, 'https://': 4, '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': '3209041', 'n_tokens_mistral': 1457, 'n_tokens_neox': 1348, 'n_words': 260}