<commit_before>
// var xmlhttp = new XMLHttpRequest();
// xmlhttp.onreadystatechange = function() {
//     if (this.readyState == 4 && this.status == 200) {
//         var obj = JSON.parse(this.responseText);
//         console.log(obj.processes[1].class + " " + obj.processes[1].name);
//     }
// };
// xmlhttp.open("GET", "json_test.txt", true);
// xmlhttp.send();


$.getJSON("../js/json_test.JSON", function(json) {
    $("#outputJSON").html(json);
});<commit_msg>specifying what is being outputted test<commit_after>
// var xmlhttp = new XMLHttpRequest();
// xmlhttp.onreadystatechange = function() {
//     if (this.readyState == 4 && this.status == 200) {
//         var obj = JSON.parse(this.responseText);
//         console.log(obj.processes[1].class + " " + obj.processes[1].name);
//     }
// };
// xmlhttp.open("GET", "json_test.txt", true);
// xmlhttp.send();


$.getJSON("../js/json_test.JSON", function(json) {
    console.log(json.meta.format);
    $("#outputJSON").html(json.meta.formar) ;
});
{'fraction_non_alphanumeric': 0.22134387351778656, 'fraction_numerical': 0.011857707509881422, 'mean_word_length': 3.068273092369478, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '5866539', 'n_tokens_mistral': 354, 'n_tokens_neox': 343, 'n_words': 54}