<commit_before>(function() {
    var injectScript = function(file, p) {
        var insertNode = function(f) {
            return new Promise(function(resolve, reject) {
                var s = document.createElement('script');
                s.src = chrome.extension.getURL(f);
                s.onload = function() {
                    this.parentNode.removeChild(this);
                    resolve();
                };
                (document.head || document.documentElement).appendChild(s);
            });
        };
        return p.then(insertNode(file));
    };

    var initUI = function() {
        var canvas_list = document.getElementsByTagName("canvas");
        if (canvas_list.length > 0) {
            var popup = chrome.extension.getURL("popup.html");
            $.get(popup, function(data) {
                $(data).appendTo("body");
                $("#toggle_img").attr('src',chrome.extension.getURL("icon.png"));
                var gl = canvas_list[0].getContext('webgl');
                if (gl.getExtension('EXT_disjoint_timer_query') === null) {
                    $("#divMessage").html("You need the WebGL Extension: EXT_disjoint_timer_query to profile");
                    // $("#popup_wrapper").css("display", "none");
                } else {
                    $("#popup_wrapper").css("display", "block");
                    $("#divMessage").html("Please select a shader to begin!");<commit_msg>Uncommented a line used for testing<commit_after>(function() {
    var injectScript = function(file, p) {
        var insertNode = function(f) {
            return new Promise(function(resolve, reject) {
                var s = document.createElement('script');
                s.src = chrome.extension.getURL(f);
                s.onload = function() {
                    this.parentNode.removeChild(this);
                    resolve();
                };
                (document.head || document.documentElement).appendChild(s);
            });
        };
        return p.then(insertNode(file));
    };

    var initUI = function() {
        var canvas_list = document.getElementsByTagName("canvas");
        if (canvas_list.length > 0) {
            var popup = chrome.extension.getURL("popup.html");
            $.get(popup, function(data) {
                $(data).appendTo("body");
                $("#toggle_img").attr('src',chrome.extension.getURL("icon.png"));
                var gl = canvas_list[0].getContext('webgl');
                if (gl.getExtension('EXT_disjoint_timer_query') === null) {
                    $("#divMessage").html("You need the WebGL Extension: EXT_disjoint_timer_query to profile");
                    $("#popup_wrapper").css("display", "none");
                } else {
                    $("#popup_wrapper").css("display", "block");
                    $("#divMessage").html("Please select a shader to begin!");
{'fraction_non_alphanumeric': 0.14725198755617006, 'fraction_numerical': 0.00138264777048047, 'mean_word_length': 1.8625123639960435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4492156', 'n_tokens_mistral': 755, 'n_tokens_neox': 723, 'n_words': 136}