<commit_before>(function () {
    var SimpleCookie = {};

    SimpleCookie.save = function (data, options) {
        options = options || {};
        options.path = options.path || '/';

        var cookie = [data.key, '=', JSON.stringify(data.value), '; domain=.', window.location.hostname, '; path=', options.path, ';'].join('');
        document.cookie;
    };

    SimpleCookie.get = function (key) {
        return document.cookie.match(new RegExp(key + '=([^;]+)'));
    };

    SimpleCookie.remove = function (key) {
        var cookie = document.cookie.match(new RegExp(key + '=([^;]+)'));
        return cookie;
    };

    SimpleCookie.parse = function (name) {
        var result = this.get(name);
        return result && (result = JSON.parse(result[1]));
    };

    window.SimpleCookie = SimpleCookie;

}).call(this);
<commit_msg>update variable assignment<commit_after>(function () {
    var SimpleCookie = {};

    SimpleCookie.save = function (data, options) {
        options = options || {};
        options.path = options.path || '/';

        var cookie = [data.key, '=', JSON.stringify(data.value), '; domain=.', window.location.hostname, '; path=', options.path, ';'].join('');
        document.cookie = cookie;
    };

    SimpleCookie.get = function (key) {
        return document.cookie.match(new RegExp(key + '=([^;]+)'));
    };

    SimpleCookie.remove = function (key) {
        var cookie = document.cookie.match(new RegExp(key + '=([^;]+)'));
        return cookie;
    };

    SimpleCookie.parse = function (name) {
        var result = this.get(name);
        return result && (result = JSON.parse(result[1]));
    };

    window.SimpleCookie = SimpleCookie;

}).call(this);

{'fraction_non_alphanumeric': 0.1865497076023392, 'fraction_numerical': 0.0011695906432748538, 'mean_word_length': 2.727668845315904, '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': '3172996', 'n_tokens_mistral': 517, 'n_tokens_neox': 502, 'n_words': 101}