<commit_before>(function() {
    "use strict";
    if (typeof require === "function") {
        // importing patches Proxy to be in line with the new direct proxies
        require("harmony-reflect");
    }
    operator (|?|) 4 left {$l, $r} => #{ typeof $l !== 'undefined' ? $l : $r }

    var unproxy = new WeakMap();
    var typeVarMap = new WeakMap();

    var Blame = {
        create: function(name, pos, neg, lineNumber) {
            var o = new BlameObj(name, pos, neg, lineNumber);
            return o;
        },
        clone: function(old, props) {
            var o = new BlameObj(props.name |?| old.name,
                                 props.pos |?| old.pos,
                                 props.neg |?| old.neg,
                                 props.lineNuber |?| old.lineNumber);
            o.expected = props.expected |?| old.expected;
            o.given    = props.given |?| old.given;
            o.loc      = props.loc |?| old.loc;
            o.parents  = props.parents |?| old.parents;
            return o;
        }
    };

    function BlameObj(name, pos, neg, lineNumber) {
        this.name = name;
        this.pos = pos;
        this.neg = neg;
        this.lineNumber = lineNumber;
    }
    BlameObj.prototype.swap = function() {
        return Blame.clone(this, {
            pos: this.neg,
            neg: this.pos
        });
    };
    BlameObj.prototype.addExpected = function(expected, override) {
        if (this.expected === undefined || override) {
            return Blame.clone(this, {
                expected: expected
            });
        }
        return Blame.clone(this, {});
    };
    BlameObj.prototype.addGiven = function(given) {
        return Blame.clone(this, {
            given: given
        });
    };
    BlameObj.prototype.addLocation = function(loc) {
        return Blame.clone(this, {
            loc: this.loc !== null ? this.loc.concat(loc) : [loc]
        })
        ;
    };
    BlameObj.prototype.addParents = function(parent) {
        return Blame.clone(this, {
            parents: this.parents !== null ? this.parents.concat(parent) : [parent]
        });
    };

    BlameObj.prototype.setNeg = function(neg) {
        return Blame.clone(this, {
            neg: neg
        });
    };


    function assert(cond, msg) {
        if(!cond) {
            throw new Error(msg);
        }
    }
<commit_msg>response to code review<commit_after>(function() {
    "use strict";
    if (typeof require === "function") {
        // importing patches Proxy to be in line with the new direct proxies
        require("harmony-reflect");
    }
    operator (|?|) 4 left {$l, $r} => #{ typeof $l !== 'undefined' ? $l : $r }

    var unproxy = new WeakMap();
    var typeVarMap = new WeakMap();

    var Blame = {
        create: function(name, pos, neg, lineNumber) {
            var o = new BlameObj(name, pos, neg, lineNumber);
            return o;
        },
        clone: function(old, props) {
            var o = new BlameObj(props.name |?| old.name,
                                 props.pos |?| old.pos,
                                 props.neg |?| old.neg,
                                 props.lineNuber |?| old.lineNumber);
            o.expected = props.expected |?| old.expected;
            o.given    = props.given |?| old.given;
            o.loc      = props.loc |?| old.loc;
            o.parents  = props.parents |?| old.parents;
            return o;
        }
    };

    function BlameObj(name, pos, neg, lineNumber) {
        this.name = name;
        this.pos = pos;
        this.neg = neg;
        this.lineNumber = lineNumber;
    }
    BlameObj.prototype.swap = function() {
        return Blame.clone(this, {
            pos: this.neg,
            neg: this.pos
        });
    };
    BlameObj.prototype.addExpected = function(expected, override) {
        if (this.expected === undefined || override) {
            return Blame.clone(this, {
                expected: expected
            });
        }
        return Blame.clone(this, {});
    };
    BlameObj.prototype.addGiven = function(given) {
        return Blame.clone(this, {
            given: given
        });
    };
    BlameObj.prototype.addLocation = function(loc) {
        return Blame.clone(this, {
            loc: this.loc !== undefined ? this.loc.concat(loc) : [loc]
        })
        ;
    };
    BlameObj.prototype.addParents = function(parent) {
        return Blame.clone(this, {
            parents: this.parents !== null ? this.parents.concat(parent) : [parent]
        });
    };

    BlameObj.prototype.setNeg = function(neg) {
        return Blame.clone(this, {
            neg: neg
        });
    };


    function assert(cond, msg) {
        if(!cond) {
            throw new Error(msg);
        }
    }

{'fraction_non_alphanumeric': 0.13377787038966452, 'fraction_numerical': 0.00041675349031048136, 'mean_word_length': 1.5668449197860963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '301159', 'n_tokens_mistral': 1438, 'n_tokens_neox': 1403, 'n_words': 309}