<commit_before>'use strict';
var path = require("path");

module.exports = function (grunt) {

    grunt.loadNpmTasks('grunt-bump');
    grunt.loadNpmTasks('grunt-exec');

    grunt.initConfig({
        bump: {
            options: {
                files: ['package.json'],
                updateConfigs: [],
                commit: true,
                commitMessage: 'Release v%VERSION%',
                commitFiles: ['package.json'],
                createTag: false,
                push: false,
                pushTo: 'origin',
                gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
            }
        },
        exec: {
            pack: {
                cmd: 'npm pack'
            },
            test: {
                cmd: 'mocha ' + path.resolve(__dirname, 'test/kelper.test.js')
            }
        }
    });

    grunt.registerTask("test", ["exec:test"]);
    grunt.registerTask('patch', ['test', 'bump:patch', 'exec:pack']);

};<commit_msg>gruntfile: test task fixed<commit_after>'use strict';
var path = require("path");

module.exports = function (grunt) {

    grunt.loadNpmTasks('grunt-bump');
    grunt.loadNpmTasks('grunt-exec');

    grunt.initConfig({
        bump: {
            options: {
                files: ['package.json'],
                updateConfigs: [],
                commit: true,
                commitMessage: 'Release v%VERSION%',
                commitFiles: ['package.json'],
                createTag: false,
                push: false,
                pushTo: 'origin',
                gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
            }
        },
        exec: {
            pack: {
                cmd: 'npm pack'
            },
            test: {
                cmd: path.relative("", "node_modules/.bin/mocha") + ' test/kelper.test.js'
            }
        }
    });

    grunt.registerTask("test", ["exec:test"]);
    grunt.registerTask('patch', ['test', 'bump:patch', 'exec:pack']);

};
{'fraction_non_alphanumeric': 0.1543859649122807, 'fraction_numerical': 0.0010025062656641604, 'mean_word_length': 1.479503105590062, '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': '6736740', 'n_tokens_mistral': 596, 'n_tokens_neox': 565, 'n_words': 103}