<commit_before>// "this" === shotgun shell instance
module.exports = exports = {
    // Create a shell helper function for setting cookies on the client.
    setCookie: function (name, value, days) {
        var newCookies = shell.getVar('newCookies') || {};
        newCookies[name] = { value: value, days: days };
        return shell.setVar('newCookies', newCookies);
    },
    // Create a shell helper function for retrieving a cookie.
    getCookie: function (name) {
        var cookies = shell.getVar('cookies');
        if (!cookies) return;
        if (cookies.hasOwnProperty(name)) return cookies[name];
    },
    // Create a shell helper function for deleting a cookie.
    delCookie: function (name) {
        this.setCookie(name, null, -1);
    }
};<commit_msg>Fixed reference to shell error in new shellHelpers.js file.<commit_after>// "this" === shotgun shell instance
module.exports = exports = {
    // Create a shell helper function for setting cookies on the client.
    setCookie: function (name, value, days) {
        var newCookies = this.getVar('newCookies') || {};
        newCookies[name] = { value: value, days: days };
        return this.setVar('newCookies', newCookies);
    },
    // Create a shell helper function for retrieving a cookie.
    getCookie: function (name) {
        var cookies = this.getVar('cookies');
        if (!cookies) return;
        if (cookies.hasOwnProperty(name)) return cookies[name];
    },
    // Create a shell helper function for deleting a cookie.
    delCookie: function (name) {
        this.setCookie(name, null, -1);
    }
};
{'fraction_non_alphanumeric': 0.12288401253918495, 'fraction_numerical': 0.0012539184952978057, 'mean_word_length': 2.864406779661017, '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': '3359511', 'n_tokens_mistral': 458, 'n_tokens_neox': 444, 'n_words': 150}