<commit_before>define(
        'd3binding/binding',
        [
        ],
        function() {

            function common(that, name, value, funcname) {
                that.expand(function(selection) {
                    selection[funcname](name, function(d) {
                        var s = d3.select(this);
                        var v = value;
                        if (typeof v === "function") {
                            v = v(d);
                            if (sb.base.observable.isObservable(v)) {
                                var o = v;
                                sb.binding(o)
                                    .onChange(o, function() {
                                        if (that.isTransition) {
                                            if (name !== null) {
                                                (s.transition())[funcname](name, o());
                                            } else {
                                                (s.transition())[funcname](o());
                                            }
                                        } else {
                                            if (name !== null) {
                                                s[funcname](name, o());
                                            } else {
                                                s[funcname](o());
                                            }
                                        }
                                    }).bind();
                                v = o();<commit_msg>modified to isObservableObject<commit_after>define(
        'd3binding/binding',
        [
        ],
        function() {

            function common(that, name, value, funcname) {
                that.expand(function(selection) {
                    selection[funcname](name, function(d) {
                        var s = d3.select(this);
                        var v = value;
                        if (typeof v === "function") {
                            v = v(d);
                            if (sb.base.observable.isObservableObject(v)) {
                                var o = v;
                                sb.binding(o)
                                    .onChange(o, function() {
                                        if (that.isTransition) {
                                            if (name !== null) {
                                                (s.transition())[funcname](name, o());
                                            } else {
                                                (s.transition())[funcname](o());
                                            }
                                        } else {
                                            if (name !== null) {
                                                s[funcname](name, o());
                                            } else {
                                                s[funcname](o());
                                            }
                                        }
                                    }).bind();
                                v = o();
{'fraction_non_alphanumeric': 0.09256303862112991, 'fraction_numerical': 0.0012767315671879987, 'mean_word_length': 0.49880439980870395, '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': 58, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6781422', 'n_tokens_mistral': 543, 'n_tokens_neox': 518, 'n_words': 103}