<commit_before>/* find the size of the array */
module.exports = function calcSize(array, flag = 'array') {
    const calc_shape = require('./calcShape');
    let shape = flag === 'array' ? calcShape(array) : array;
    let size = 1;
    for (let i = 0; i < shape.length; i++) {
        size *= shape[i];
    }
    return size;
}<commit_msg>renamed files<commit_after>/* find the size of the array */
module.exports = function calcSize(array, flag = 'array') {
    const calcShape = require('./calcShape');
    let shape = flag === 'array' ? calcShape(array) : array;
    let size = 1;
    for (let i = 0; i < shape.length; i++) {
        size *= shape[i];
    }
    return size;
}
{'fraction_non_alphanumeric': 0.16152716593245228, 'fraction_numerical': 0.005873715124816446, 'mean_word_length': 2.831460674157303, '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': '5125848', 'n_tokens_mistral': 220, 'n_tokens_neox': 214, 'n_words': 71}