<commit_before>const [major] = process.versions.node.split(".");
function set() {}

/**
 * Overrides createdAt to provide more accurate timestamps when used with node v10+
 * When < v10 is used, the property uses the fallback function which might not be accurate.
 * This doesn't use the <number>n thing in order to not mess with node <v10
 */
Object.defineProperty(ErisO.Base.prototype, "createdAt", {
    get: function() {
        if (major >= 10) {
            return Number((BigInt(this.id) >> BigInt(22)) + BigInt(1420070400000));
        } else {
            /* no brackets here, according to maths, division takes precedence over addition;
            idk why they do that in eris*/

            return this.id / 4194304 + 1420070400000;
        }
    },
    set
})

/**<commit_msg>Fucking eslint not knowing about bigints<commit_after>const [major] = process.versions.node.split(".");
function set() {}

/**
 * Overrides createdAt to provide more accurate timestamps when used with node v10+
 * When < v10 is used, the property uses the fallback function which might not be accurate.
 * This doesn't use the <number>n thing in order to not mess with node <v10
 */
Object.defineProperty(ErisO.Base.prototype, "createdAt", {
    get: function() {
        if (major >= 10) {
            // eslint-disable-next-line no-undef
            return Number((BigInt(this.id) >> BigInt(22)) + BigInt(1420070400000));
        } else {
            /* no brackets here, according to maths, division takes precedence over addition;
            idk why they do that in eris*/

            return this.id / 4194304 + 1420070400000;
        }
    },
    set
});

/**
{'fraction_non_alphanumeric': 0.11178247734138973, 'fraction_numerical': 0.051963746223564956, 'mean_word_length': 2.704697986577181, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '7102157', 'n_tokens_mistral': 541, 'n_tokens_neox': 474, 'n_words': 169}