<commit_before>"use strict";

module.exports = {
    validateIndex(index, kind) {<commit_msg>Add some JSDocs to indexValidation<commit_after>"use strict";

/**
 * Index validation.
 * @private
 */
module.exports = {
    /**
     * Validate the given index against the 1 indexing system used for
     * spreadsheets. If the index is below 1, then a RangeError is thrown with
     * a helpful error message.
     * @param {number} index - The index to validate.
     * @param {string} kind - The type of index (row, column, etc.).
     */
    validateIndex(index, kind) {
{'fraction_non_alphanumeric': 0.11072056239015818, 'fraction_numerical': 0.0035149384885764497, 'mean_word_length': 3.0425531914893615, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6777479', 'n_tokens_mistral': 166, 'n_tokens_neox': 162, 'n_words': 62}