<commit_before><html>
    <head>
        <title>magicsim</title>
        <script src="jquery-3.1.1.min.js"></script>
        <link type="text/css" rel="stylesheet" href="index.css"></link>
        <script>
        var active = false;
        var showHome = function() {
            $("#loading").hide();
            $("#results").hide();
            $("#main").show();
        }
        var showLoading = function() {
            $("#loading").show();
            $("#results").hide();
            $("#main").hide();
        }
        var showResults = function() {
            $("#loading").hide();
            $("#results").show();
            $("#main").hide();
        }
        var updateRealms = function(region) {
            $.get('https://'+ region +'.api.battle.net/wow/realm/status?locale=en_US&apikey=<KEY>',
                function(data, status) {
                    $("#realm").empty();
                    data.realms.map(function(realm) {
                        return realm.name;
                    }).forEach(function(name) {
                        var opt = $("<option value=\"" + name.replace(/ /g, '-') + "\">" + name + "</option>")
                        $("#realm").append(opt);
                    })
                }, 'json'
            )
        }
        var versionCheck = function(version) {
            $.get('https://api.github.com/repos/phroph/magicsim/releases/latest', 
                function(data) {
                    var vers = JSON.parse(data).tag_name;
                    if(version != vers) {
                        alert("Newer models available on GitHub. Check for a new release.");
                    }
                }, 'text')
        }
        var doPoll = function() {
            $.ajax({type: "GET",
                     url: "http://localhost:4000/sim/results", 
                     success: function(data){
                        if(data == false) {
                            setTimeout(doPoll,10000);
                        } else if(JSON.parse(data).done != null) {
                            data = JSON.parse(data);
                            $("#done").text(data.done);
                            $("#total").text(data.total);
                            $("#state").text(data.state);
                            if(data.total > 0) {
                                $("#counter").show();
                            }
                            setTimeout(doPoll,10000);<commit_msg>Update message.<commit_after><html>
    <head>
        <title>magicsim</title>
        <script src="jquery-3.1.1.min.js"></script>
        <link type="text/css" rel="stylesheet" href="index.css"></link>
        <script>
        var active = false;
        var showHome = function() {
            $("#loading").hide();
            $("#results").hide();
            $("#main").show();
        }
        var showLoading = function() {
            $("#loading").show();
            $("#results").hide();
            $("#main").hide();
        }
        var showResults = function() {
            $("#loading").hide();
            $("#results").show();
            $("#main").hide();
        }
        var updateRealms = function(region) {
            $.get('https://'+ region +'.api.battle.net/wow/realm/status?locale=en_US&apikey=<KEY>',
                function(data, status) {
                    $("#realm").empty();
                    data.realms.map(function(realm) {
                        return realm.name;
                    }).forEach(function(name) {
                        var opt = $("<option value=\"" + name.replace(/ /g, '-') + "\">" + name + "</option>")
                        $("#realm").append(opt);
                    })
                }, 'json'
            )
        }
        var versionCheck = function(version) {
            $.get('https://api.github.com/repos/phroph/magicsim/releases/latest', 
                function(data) {
                    var vers = JSON.parse(data).tag_name;
                    if(version != vers) {
                        alert("Newer app available on GitHub. Check for a new release (https://github.com/phroph/magicsim/releases/latest).");
                    }
                }, 'text')
        }
        var doPoll = function() {
            $.ajax({type: "GET",
                     url: "http://localhost:4000/sim/results", 
                     success: function(data){
                        if(data == false) {
                            setTimeout(doPoll,10000);
                        } else if(JSON.parse(data).done != null) {
                            data = JSON.parse(data);
                            $("#done").text(data.done);
                            $("#total").text(data.total);
                            $("#state").text(data.state);
                            if(data.total > 0) {
                                $("#counter").show();
                            }
                            setTimeout(doPoll,10000);
{'fraction_non_alphanumeric': 0.16706875753920386, 'fraction_numerical': 0.007237635705669481, 'mean_word_length': 1.1508862948551664, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, 'https://': 5, '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': '1595414', 'n_tokens_mistral': 1287, 'n_tokens_neox': 1241, 'n_words': 199}