<commit_before># Merges player data.
#
# @author <NAME> (@bgotink)
# @license MIT

((module) ->
    exports = if Object.has module, 'data' then module.data else module.data = {}

    # variables

    # chronological list of anomalies
    anomalies = [
        '13magnus'
        'recursion'
        'interitus'
        'initio'
        'helios'
        'darsana'
        'shonin'
        'persepolis'
        'anomaly'
    ]

    # all possible values for the faction field
    validFactions = [ 'enlightened', 'resistance', 'unknown', 'error' ]

    # general helpers

    doEach = (obj, key, func) ->
        if not Object.has obj, key
            return;

        if Array.isArray obj[key]
            obj[key].each (e) ->
                if false is func e<commit_msg>fix typo in anomaly list<commit_after># Merges player data.
#
# @author <NAME> (@bgotink)
# @license MIT

((module) ->
    exports = if Object.has module, 'data' then module.data else module.data = {}

    # variables

    # chronological list of anomalies
    anomalies = [
        '13magnus'
        'recursion'
        'interitus'
        'initio'
        'helios'
        'darsana'
        'shonin'
        'persepolis'
        'abaddon'
    ]

    # all possible values for the faction field
    validFactions = [ 'enlightened', 'resistance', 'unknown', 'error' ]

    # general helpers

    doEach = (obj, key, func) ->
        if not Object.has obj, key
            return;

        if Array.isArray obj[key]
            obj[key].each (e) ->
                if false is func e
{'fraction_non_alphanumeric': 0.11446945337620579, 'fraction_numerical': 0.002572347266881029, 'mean_word_length': 1.8761552680221811, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4014114', 'n_tokens_mistral': 513, 'n_tokens_neox': 478, 'n_words': 139}