<commit_before>(function() {

    //var ocServer = "opencompare.org";
    var ocServer = "localhost:9000";
    var tables;

    self.port.on("addButtons", function () {
        tables = document.getElementsByTagName("table");

        for(var index = 0; index < tables.length; index++) {
            var table = tables[index];

            /* Replace table button */
            var button = document.createElement("button");
            button.class = "waves-effect waves-light btn";
            button.style = "margin-top: 10px";
            button.id = index.toString();
            button.setAttribute("data-type", 'OpenCompareButton');

            button.addEventListener('click', function(event) {

                id = event.target.getAttribute("id");
                document.getElementById(id).style.display = 'none';
                sendTable(event.target.getAttribute("id"));
            });
            var buttonContent = document.createTextNode("Replace this table");
            button.appendChild(buttonContent);
            var parentDiv = tables[index].parentNode;
            parentDiv.insertBefore(button, tables[index]);

            /* Open in OpenCompare button */

            var button2 = document.createElement("button");

            button2.class = "waves-effect waves-light btn";<commit_msg>change to server opencompare.org<commit_after>(function() {

    var ocServer = "opencompare.org";
    //var ocServer = "localhost:9000";
    var tables;

    self.port.on("addButtons", function () {
        tables = document.getElementsByTagName("table");

        for(var index = 0; index < tables.length; index++) {
            var table = tables[index];

            /* Replace table button */
            var button = document.createElement("button");
            button.class = "waves-effect waves-light btn";
            button.style = "margin-top: 10px";
            button.id = index.toString();
            button.setAttribute("data-type", 'OpenCompareButton');

            button.addEventListener('click', function(event) {

                id = event.target.getAttribute("id");
                document.getElementById(id).style.display = 'none';
                sendTable(event.target.getAttribute("id"));
            });
            var buttonContent = document.createTextNode("Replace this table");
            button.appendChild(buttonContent);
            var parentDiv = tables[index].parentNode;
            parentDiv.insertBefore(button, tables[index]);

            /* Open in OpenCompare button */

            var button2 = document.createElement("button");

            button2.class = "waves-effect waves-light btn";
{'fraction_non_alphanumeric': 0.1273000375516335, 'fraction_numerical': 0.006759294029290274, 'mean_word_length': 2.2212817412333736, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2051044', 'n_tokens_mistral': 671, 'n_tokens_neox': 640, 'n_words': 138}