<commit_before>function solve() {
    const MAX_SYMB = 20,
        MIN_SYMB = 1,
        MAX_VOLT = 20,
        MIN_VOLT = 5;

    const validate = {
        ifNumber: function(val, name) {
            name = name || 'Value';
            if (typeof val !== 'number') {
                throw new Error(name + ' must be a number!');
            }
        },
        ifPositiveNumber: function(val, name) {
            name = name || 'Value';
            validate.ifNumber(val, name);
            if (val <= 0) {
                throw new Error(name + ' must be positive number above zero!');
            }
        },
        ifIsPositiveInteger: function(val, name) {
            name = name || 'Value';
            validate.ifPositiveNumber(val, name);
            if (!Number.isInteger(val)) {<commit_msg>remove lets in last HW for UI&DOM<commit_after>'use strict';

function solve() {
    const MAX_SYMB = 20,
        MIN_SYMB = 1,
        MAX_VOLT = 20,
        MIN_VOLT = 5;

    const validate = {
        ifNumber: function(val, name) {
            name = name || 'Value';
            if (typeof val !== 'number') {
                throw new Error(name + ' must be a number!');
            }
        },
        ifPositiveNumber: function(val, name) {
            name = name || 'Value';
            validate.ifNumber(val, name);
            if (val <= 0) {
                throw new Error(name + ' must be positive number above zero!');
            }
        },
        ifIsPositiveInteger: function(val, name) {
            name = name || 'Value';
            validate.ifPositiveNumber(val, name);
            if (!Number.isInteger(val)) {
{'fraction_non_alphanumeric': 0.12279635258358662, 'fraction_numerical': 0.00851063829787234, 'mean_word_length': 1.5638629283489096, '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': '3100635', 'n_tokens_mistral': 481, 'n_tokens_neox': 453, 'n_words': 128}