<commit_before>var UHCFunction = function () {
    "use strict";

    function applyNode(func, value) {
        console.log("applying", func, value)
        var argCopy, result
        argCopy = func.args.slice()
        if(value || value === "") func.args = func.args.concat([value])
        result = func.__aN__([[]])
        func.args = argCopy
        return result
    }

    function apply(func, value) {
        if(func instanceof _F_)
            return func.__evN__(value)
        else 
            return applyNode(func, value)        
    }

    return {
        apply: apply
    }
}()<commit_msg>actually that could be 0 as well; todo -- should the check just be neq undefined?<commit_after>var UHCFunction = function () {
    "use strict";

    function applyNode(func, value) {
        console.log("applying", func, value)
        var argCopy, result
        argCopy = func.args.slice()
        if(value || value === "" || value === 0) func.args = func.args.concat([value])
        result = func.__aN__([[]])
        func.args = argCopy
        return result
    }

    function apply(func, value) {
        if(func instanceof _F_)
            return func.__evN__(value)
        else 
            return applyNode(func, value)        
    }

    return {
        apply: apply
    }
}()
{'fraction_non_alphanumeric': 0.12086220169361046, 'fraction_numerical': 0.001539645881447267, 'mean_word_length': 1.9411764705882353, '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': '7521420', 'n_tokens_mistral': 381, 'n_tokens_neox': 371, 'n_words': 98}