<commit_before>Xflow.registerOperator("morph", {
    outputs: [{type: 'float3', name: 'result'}],
    params:  [
        { type: 'float3', source: 'value' },
        { type: 'float3', source: 'valueAdd'},
        { type: 'float3', source: 'weight'}
    ],
    evaluate: function(result, value, valueAdd, weight) {
        for(var i = 0; i < this.iterateCount; i++){
            var w = weight[this.iterFlag[2] ? i : 0];
            result[3*i] = value[ this.iterFlag[0] ? 3*i : 0] + w * valueAdd[this.iterFlag[1] ? 3*i : 0];
            result[3*i+1] = value[ this.iterFlag[0] ? 3*i+1 : 1] + w * valueAdd[this.iterFlag[1] ? 3*i+1 : 1];<commit_msg>Fixed wrongly declared input type in morph operator<commit_after>Xflow.registerOperator("morph", {
    outputs: [{type: 'float3', name: 'result'}],
    params:  [
        { type: 'float3', source: 'value' },
        { type: 'float3', source: 'valueAdd'},
        { type: 'float', source: 'weight'}
    ],
    evaluate: function(result, value, valueAdd, weight) {
        for(var i = 0; i < this.iterateCount; i++){
            var w = weight[this.iterFlag[2] ? i : 0];
            result[3*i] = value[ this.iterFlag[0] ? 3*i : 0] + w * valueAdd[this.iterFlag[1] ? 3*i : 0];
            result[3*i+1] = value[ this.iterFlag[0] ? 3*i+1 : 1] + w * valueAdd[this.iterFlag[1] ? 3*i+1 : 1];
{'fraction_non_alphanumeric': 0.19534184823441023, 'fraction_numerical': 0.035311795642374154, 'mean_word_length': 2.8057142857142856, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5259445', 'n_tokens_mistral': 504, 'n_tokens_neox': 480, 'n_words': 112}