<commit_before>import $ from 'jquery';
import _ from 'lodash';

function decrementCounter(counter, item) {
    let index = counter.indexOf(item);

    if (index > -1) {
        return counter.splice(index, 1);
    }
}

function incrementCounter(counter, product) {
    counter.push(product);
}<commit_msg>BIG-20177 * return from increment function * rename parameter<commit_after>import $ from 'jquery';
import _ from 'lodash';

function decrementCounter(counter, item) {
    let index = counter.indexOf(item);

    if (index > -1) {
        return counter.splice(index, 1);
    }
}

function incrementCounter(counter, item) {
    return counter.push(item);
}
{'fraction_non_alphanumeric': 0.125948406676783, 'fraction_numerical': 0.013657056145675266, 'mean_word_length': 3.888888888888889, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3508527', 'n_tokens_mistral': 210, 'n_tokens_neox': 198, 'n_words': 51}