<commit_before><commit_msg>Create tester-function.js<commit_after>function tester(idList, test, description) {
    "use strict";

    var color = "";
    var index = 0;
    var li = document.createElement("li");
    var list = document.getElementById(idList);
    var result = "";

    index = list.childElementCount + 1;
    if (test) {
        color = "green";
        result = "<b>" + index + ". </b>" + description;

    } else {
        color = "red";
        description = "<s>" + description + "</s>";
        result = "<b>" + index + ". </b>" + description;
    }
    li.style.margin = "8px";
    li.style.padding = "2px";
    li.style.color = color;
    li.innerHTML = result;
    list.insertBefore(li, list.childNodes[0]);
}
{'fraction_non_alphanumeric': 0.17302452316076294, 'fraction_numerical': 0.006811989100817439, 'mean_word_length': 2.5, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '314643', 'n_tokens_mistral': 235, 'n_tokens_neox': 227, 'n_words': 54}