<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>API Umbrella Admin</title>
    <%= stylesheet_link_tag "admin" %>
    <%= javascript_tag do %>
      webAdminAjaxApiKey = <%= ApiUser.where(:email => '<EMAIL>').order_by(:created_at.asc).first.api_key.to_json.html_safe %>;
      currentAdmin = <%= current_admin.attributes.slice("username", "superuser").to_json.html_safe %>
    <% end %>
    <link href='//fonts.googleapis.com/css?family=Oswald:400,700' rel='stylesheet' type='text/css'>
    <%= javascript_include_tag "admin/locales/#{I18n.locale}" %>
    <%= javascript_include_tag "admin" %>
    <%= javascript_include_tag "//www.google.com/jsapi" %>
    <%= javascript_tag do %>
      google.load("visualization", "1", {packages:["corechart", "geochart"]});
    <% end %>
    <%= csrf_meta_tag %>
    <% if(Rails.env.test?) %>
      <%= stylesheet_link_tag "admin_test" %>
      <%= javascript_include_tag "admin_test" %>
    <% end %>
  </head>
  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <span class="brand">API Umbrella</span>
          <%= tabs_tag(:builder => BootstrapNavbarTabBuilder, :link_current => true, :open_tabs => { :class => "nav" }) do |tab| %>
            <%= tab.home t("admin.nav.dashboard"), admin_path, :class => "nav-home" %>
            <% if(current_admin.can?("analytics")) %>
              <%= tab.analytics(%(#{t("admin.nav.analytics")} <b class="caret"></b>).html_safe, "#", :class => "dropdown nav-analytics", :link_html => { :class => "dropdown-toggle", "data-toggle" => "dropdown" }) do %>
                <ul class="dropdown-menu">
                  <li><%= link_to(%(<i class="fa fa-sitemap"></i> #{t("admin.nav.api_drilldown")}).html_safe, "/admin/#/stats/drilldown") %></li>
                  <li><%= link_to(%(<i class="fa fa-signal"></i> #{t("admin.nav.filter_logs")}).html_safe, "/admin/#/stats/logs") %></li>
                  <li><%= link_to(%(<i class="fa fa-user"></i> #{t("admin.nav.by_users")}).html_safe, "/admin/#/stats/users") %></li><commit_msg>Get rid of Dashboard link from admin navigation.<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>API Umbrella Admin</title>
    <%= stylesheet_link_tag "admin" %>
    <%= javascript_tag do %>
      webAdminAjaxApiKey = <%= ApiUser.where(:email => '<EMAIL>').order_by(:created_at.asc).first.api_key.to_json.html_safe %>;
      currentAdmin = <%= current_admin.attributes.slice("username", "superuser").to_json.html_safe %>
    <% end %>
    <link href='//fonts.googleapis.com/css?family=Oswald:400,700' rel='stylesheet' type='text/css'>
    <%= javascript_include_tag "admin/locales/#{I18n.locale}" %>
    <%= javascript_include_tag "admin" %>
    <%= javascript_include_tag "//www.google.com/jsapi" %>
    <%= javascript_tag do %>
      google.load("visualization", "1", {packages:["corechart", "geochart"]});
    <% end %>
    <%= csrf_meta_tag %>
    <% if(Rails.env.test?) %>
      <%= stylesheet_link_tag "admin_test" %>
      <%= javascript_include_tag "admin_test" %>
    <% end %>
  </head>
  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <span class="brand">API Umbrella</span>
          <%= tabs_tag(:builder => BootstrapNavbarTabBuilder, :link_current => true, :open_tabs => { :class => "nav" }) do |tab| %>
            <% if(current_admin.can?("analytics")) %>
              <%= tab.analytics(%(#{t("admin.nav.analytics")} <b class="caret"></b>).html_safe, "#", :class => "dropdown nav-analytics", :link_html => { :class => "dropdown-toggle", "data-toggle" => "dropdown" }) do %>
                <ul class="dropdown-menu">
                  <li><%= link_to(%(<i class="fa fa-sitemap"></i> #{t("admin.nav.api_drilldown")}).html_safe, "/admin/#/stats/drilldown") %></li>
                  <li><%= link_to(%(<i class="fa fa-signal"></i> #{t("admin.nav.filter_logs")}).html_safe, "/admin/#/stats/logs") %></li>
                  <li><%= link_to(%(<i class="fa fa-user"></i> #{t("admin.nav.by_users")}).html_safe, "/admin/#/stats/users") %></li>
{'fraction_non_alphanumeric': 0.2223008015087223, 'fraction_numerical': 0.004714757190004715, 'mean_word_length': 3.480464625131996, 'pattern_counts': {'":': 0, '<': 106, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1459674', 'n_tokens_mistral': 1588, 'n_tokens_neox': 1436, 'n_words': 217}