<commit_before>window.onload = function() {
    var xhr = new XMLHttpRequest();
    xhr.open("GET", "https://raw.githubusercontent.com/stepanger/Chocolate/storage/data/base.json", true);
    xhr.onreadystatechange = function() {
        if (xhr.readyState == 4) {
            console.log( xhr.responseText );
        }
    }
    xhr.send();
}<commit_msg>json load<commit_after>window.onload = function() {
    var xhr = new XMLHttpRequest();
    xhr.open("GET", "https://raw.githubusercontent.com/stepanger/Chocolate/storage/data/base.json", true);
    console.log(xhr);
    xhr.onreadystatechange = function() {
        if (xhr.readyState == 4) {
            console.log( xhr.responseText );
        }
    }
    xhr.send();
}
{'fraction_non_alphanumeric': 0.15977961432506887, 'fraction_numerical': 0.0027548209366391185, 'mean_word_length': 2.7864583333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5954177', 'n_tokens_mistral': 247, 'n_tokens_neox': 241, 'n_words': 36}