<commit_before>'use strict';

// Required args: args, defaults
function core_args(args){
    if(args['args'] === void 0){
        args['args'] = {};
    }

    for(var arg in args['defaults']){
        if(args[arg] === void 0){
            args[arg] = args['defaults'][arg];
        }
    }

    return args['args'];
}

// Required args: args, function
function core_call(args){
    if(core_type({
      'var': window[args['function']],
    })){
        window[args['function']](args['args']);
    }
}

// Required args: var
// Optional args: type
function core_type(args){
    args = core_args({
      'args': {<commit_msg>made core_call() args arg optional<commit_after>'use strict';

// Required args: args, defaults
function core_args(args){
    if(args['args'] === void 0){
        args['args'] = {};
    }

    for(var arg in args['defaults']){
        if(args[arg] === void 0){
            args[arg] = args['defaults'][arg];
        }
    }

    return args['args'];
}

// Required args: function
// Optional args: args
function core_call(args){
    args = core_args({
      'args': args,
      'defaults': {
        'args': void 0,
      },
    });

    if(core_type({
      'var': window[args['function']],
    })){
        window[args['function']](args['args']);
    }
}

// Required args: var
// Optional args: type
function core_type(args){
    args = core_args({
      'args': {
{'fraction_non_alphanumeric': 0.18979151689432064, 'fraction_numerical': 0.0035945363048166786, 'mean_word_length': 2.5784061696658096, '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': '282218', 'n_tokens_mistral': 451, 'n_tokens_neox': 444, 'n_words': 102}