<commit_before>var readme_url = "../README.md";

var xhr = new XMLHttpRequest();
xhr.open('GET', readme_url, true);
xhr.responseType = 'text';

xhr.onreadystatechange = function (event) {
    if (this.readyState === 4 && this.status === 200) {
        document.getElementById("content").innerHTML = this.responseText
    }
};

function load_content_from_readme() {
  xhr.send();
}<commit_msg>Update get_readme.js<commit_after>var readme_url = "../README.md";

var xhr = new XMLHttpRequest();
xhr.open('GET', readme_url, true);
xhr.responseType = 'text';

xhr.onreadystatechange = function (event) {
    if (this.readyState === 4 && this.status === 200) {
        document.getElementById("content").innerHTML = this.responseText
    }
};

function load_content_from_readme() {
  document.getElementById("content").innerHTML = "loading ..."
  xhr.send();
}
{'fraction_non_alphanumeric': 0.16744730679156908, 'fraction_numerical': 0.00936768149882904, 'mean_word_length': 4.4113924050632916, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7275609', 'n_tokens_mistral': 291, 'n_tokens_neox': 278, 'n_words': 53}