<commit_before>package web

import (
	"html/template"
)

var (
	dashboardTemplate *template.Template

	dashboardHTML = `<!DOCTYPE html>
<html lang="en">
<head>
    <title>Micro Debug</title>
    <meta name="application-name" content="netdata">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro&display=swap" rel="stylesheet">
  <style>
    html {
      font-family: 'Source Code Pro', monospace;
    }
    table td {
      padding-right: 5px;
    }
    #graphs {
      text-align: center;
    }
    .graph {
      width: 500px;
      display: inline-block;
      margin: 20px;
    }
  </style>
</head>
<body style="font-family: 'Source Code Pro', monospace; margin: 10px;">
  <h1 style="vertical-align: middle;">
    <a href="/"><img src="https://micro.mu/logo.png" height=50px width=auto /></a> Debug
  </h1>
  <p>&nbsp;</p>
  <div id="content">
      <div data-netdata="system.cpu" data-chart-library="sparkline" data-height="30" data-after="-600" data-sparkline-linecolor="#888"></div>
      <div id="graphs">
        <p>&nbsp;</p>
	<div class="graph">
	    <div data-netdata="go_micro_services.micro_service_memory"
		data-chart-library="dygraph"
		data-width="100%"
		data-height="300"
		data-after="-600"
		></div>
	</div>

	<div class="graph">
	    <div data-netdata="go_micro_services.micro_service_threads"
		data-chart-library="dygraph"
		data-width="100%"
		data-height="300"
		data-after="-600"
		></div>
	</div>

	<div class="graph">
	    <div data-netdata="go_micro_services.micro_service_gcrate"
		data-chart-library="dygraph"
		data-width="100%"
		data-height="300"
		data-after="-600"
		></div>
	</div>

	<div class="graph">
	    <div data-netdata="go_micro_services.micro_service_uptime"
		data-chart-library="dygraph"
		data-width="100%"
		data-height="300"
		data-after="-600"
		></div>
	</div>
    </div>
  </div>
  <script type="text/javascript" src="dashboard.js?v20190902-0"></script>
</body>
</html>
`
)
<commit_msg>update debug template<commit_after>package web

import (
	"html/template"
)

var (
	dashboardTemplate *template.Template

	dashboardHTML = `<!DOCTYPE html>
<html lang="en">
<head>
    <title>Micro Debug</title>
    <meta name="application-name" content="netdata">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro&display=swap" rel="stylesheet">
  <style>
    html {
      font-family: 'Source Code Pro', monospace;
    }
    table td {
      padding-right: 5px;
    }
    #graphs {
      text-align: center;
    }
    .graph {
      width: 500px;
      display: inline-block;
      margin: 20px;
    }
  </style>
</head>
<body style="font-family: 'Source Code Pro', monospace; margin: 10px;">
  <h1 style="vertical-align: middle;">
    <a href="/"><img src="https://micro.mu/logo.png" height=50px width=auto /></a> Debug
  </h1>
  <p>&nbsp;</p>
  <div id="content">
      <!--
      <div data-netdata="system.cpu" data-chart-library="sparkline" data-height="30" data-after="-600" data-sparkline-linecolor="#888"></div>
      -->
      <div id="graphs">
        <p>&nbsp;</p>
	<div class="graph">
	    <div data-netdata="go_micro_services.micro_service_memory"
		data-chart-library="dygraph"
		data-width="100%"
		data-height="300"
		data-after="-600"
		></div>
	</div>

	<div class="graph">
	    <div data-netdata="go_micro_services.micro_service_threads"
		data-chart-library="dygraph"
		data-width="100%"
		data-height="300"
		data-after="-600"
		></div>
	</div>

	<div class="graph">
	    <div data-netdata="go_micro_services.micro_service_gcrate"
		data-chart-library="dygraph"
		data-width="100%"
		data-height="300"
		data-after="-600"
		></div>
	</div>

	<div class="graph">
	    <div data-netdata="go_micro_services.micro_service_uptime"
		data-chart-library="dygraph"
		data-width="100%"
		data-height="300"
		data-after="-600"
		></div>
	</div>
    </div>
  </div>
  <script type="text/javascript" src="dashboard.js?v20190902-0"></script>
</body>
</html>
`
)

{'fraction_non_alphanumeric': 0.19076857929282237, 'fraction_numerical': 0.029218716917213637, 'mean_word_length': 3.7382146439317956, 'pattern_counts': {'":': 0, '<': 108, '<?xml version=': 0, '>': 108, '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': '3354523', 'n_tokens_mistral': 1893, 'n_tokens_neox': 1696, 'n_words': 284}