<commit_before>describe('isValidChildAge', function () {
    'use strict';

    var assert = require('assert'),
        isValidChildAge = require('../src/isValidChildAge');

    [
        ['0', true],
        [7, true],
        ['-1', false],
        ['bla', false],
        ['12', true],
        ['13', false],
        [2.5, false],
        ['Infinity', false]
    ].forEach(function (testCase) {
        var value = testCase[0],
            expectedResult = testCase[1];

        it('is ' + expectedResult + ' for ' + value, function () {
            assert.strictEqual(isValidChildAge(value), expectedResult);
        });
    });
});<commit_msg>Confirm that an empty child age is invalid<commit_after>describe('isValidChildAge', function () {
    'use strict';

    var assert = require('assert'),
        isValidChildAge = require('../src/isValidChildAge');

    [
        ['0', true],
        [7, true],
        ['-1', false],
        ['bla', false],
        ['12', true],
        ['13', false],
        [2.5, false],
        ['Infinity', false],
        ['', false]
    ].forEach(function (testCase) {
        var value = testCase[0],
            expectedResult = testCase[1];

        it('is ' + expectedResult + ' for "' + value + '"', function () {
            assert.strictEqual(isValidChildAge(value), expectedResult);
        });
    });
});
{'fraction_non_alphanumeric': 0.18107908351810792, 'fraction_numerical': 0.016260162601626018, 'mean_word_length': 2.1055045871559632, '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': '6620416', 'n_tokens_mistral': 408, 'n_tokens_neox': 391, 'n_words': 86}