<commit_before>(function () {
    var component = {
        element: document.querySelectorAll('#web-component-navbar')[0],
        button: document.querySelectorAll('#web-component-navbar .burger-icon')[0],
        overflow: document.querySelectorAll('#web-component-navbar .component-overflow')[0],
        iframe: document.querySelectorAll('#web-component-navbar iframe')[0],
        use: function () {
            var component = this.element;
            var componentOverflow = this.overflow;

            if (component.className.indexOf("visible") === -1) {
                component.className = component.className.replace(/c-hidden/g, 'visible');
                componentOverflow.className = componentOverflow.className.replace(/c-hidden/g, 'visible');
            } else {
                component.className = component.className.replace(/visible/g, 'c-hidden');
                componentOverflow.className = componentOverflow.className.replace(/visible/g, 'c-hidden');
            }
        },
        request: function () {

            var req = new XMLHttpRequest();
            // creating GET request to yahoo weather API
            req.open('GET', "http://127.0.0.1:5000/api/app", true);
            // sending a request
            req.send();

            req.onreadystatechange = generateHTML;<commit_msg>Fix api path for json<commit_after>(function () {
    var component = {
        element: document.querySelectorAll('#web-component-navbar')[0],
        button: document.querySelectorAll('#web-component-navbar .burger-icon')[0],
        overflow: document.querySelectorAll('#web-component-navbar .component-overflow')[0],
        iframe: document.querySelectorAll('#web-component-navbar iframe')[0],
        use: function () {
            var component = this.element;
            var componentOverflow = this.overflow;

            if (component.className.indexOf("visible") === -1) {
                component.className = component.className.replace(/c-hidden/g, 'visible');
                componentOverflow.className = componentOverflow.className.replace(/c-hidden/g, 'visible');
            } else {
                component.className = component.className.replace(/visible/g, 'c-hidden');
                componentOverflow.className = componentOverflow.className.replace(/visible/g, 'c-hidden');
            }
        },
        request: function () {

            var req = new XMLHttpRequest();
            // creating GET request to yahoo weather API
            req.open('GET', "http://127.0.0.1:5000/api/v2/app", true);
            // sending a request
            req.send();

            req.onreadystatechange = generateHTML;
{'fraction_non_alphanumeric': 0.13460817397825273, 'fraction_numerical': 0.011623547056617924, 'mean_word_length': 2.301980198019802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7137622', 'n_tokens_mistral': 690, 'n_tokens_neox': 656, 'n_words': 123}