<commit_before>$(document).ready(function () {

    google.charts.load('current', { 'packages': ['gauge'] });
    google.charts.setOnLoadCallback(drawChart);

    function drawChart() {

        var data = google.visualization.arrayToDataTable([
            ['Label', 'Value'],
            ['Memory', 100],
            ['CPU', 100],
            ['In ' + ((bandwidthScale == 'kbps') ? '(KB/s)' : '(MB/s)'), 100],
            ['Out ' + ((bandwidthScale == 'kbps') ? '(KB/s)' : '(MB/s)'), 100],
            ['CPU Temp', 100]
        ]);

        var options = {
            width: 400, height: 120,
            redFrom: 90, redTo: 100,
            yellowFrom: 75, yellowTo: 90,
            minorTicks: 5
        };

        var chart = new google.visualization.Gauge(document.getElementById('chart_div'));

        chart.draw(data, options);

        data.setValue(0, 1, 0);
        data.setValue(1, 1, 0);
        data.setValue(2, 1, 0);
        data.setValue(3, 1, 0);
        data.setValue(4, 1, 0);
        chart.draw(data, options);

        setInterval(function () {
            $timestamp = new Date().getTime() / 1000;
            $.getJSON("/api/system.php?action=getMemoryInformation&time=" + $timestamp, function (json) {<commit_msg>Bumped up the bandwidth max a bit.<commit_after>$(document).ready(function () {

    google.charts.load('current', { 'packages': ['gauge'] });
    google.charts.setOnLoadCallback(drawChart);

    function drawChart() {

        var data = google.visualization.arrayToDataTable([
            ['Label', 'Value'],
            ['Memory', 100],
            ['CPU', 100],
            ['In ' + ((bandwidthScale == 'kbps') ? '(KB/s)' : '(MB/s)'), 150],
            ['Out ' + ((bandwidthScale == 'kbps') ? '(KB/s)' : '(MB/s)'), 150],
            ['CPU Temp', 100]
        ]);

        var options = {
            width: 400, height: 120,
            redFrom: 90, redTo: 100,
            yellowFrom: 75, yellowTo: 90,
            minorTicks: 5
        };

        var chart = new google.visualization.Gauge(document.getElementById('chart_div'));

        chart.draw(data, options);

        data.setValue(0, 1, 0);
        data.setValue(1, 1, 0);
        data.setValue(2, 1, 0);
        data.setValue(3, 1, 0);
        data.setValue(4, 1, 0);
        chart.draw(data, options);

        setInterval(function () {
            $timestamp = new Date().getTime() / 1000;
            $.getJSON("/api/system.php?action=getMemoryInformation&time=" + $timestamp, function (json) {
{'fraction_non_alphanumeric': 0.17778665601278465, 'fraction_numerical': 0.03995205753096284, 'mean_word_length': 2.099009900990099, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2556348', 'n_tokens_mistral': 869, 'n_tokens_neox': 757, 'n_words': 164}