<commit_before>module.exports = function(grunt) {
    grunt.initConfig({
        coffee: {
            app: {
                src: 'coffee/**/*.coffee',
                dest: 'public/',
                options: {
                    preserve_dirs: true,
                    base_path: 'coffee/',
                    bare: false
                }
            }
        },

        watch: {
            scripts: {
                files: '<config:coffee.app.src>',
                tasks: 'coffee'
            }
        },

        min: {
            dist: {
                src: 'public/src/*.js',
                dest: 'public/dist/humanize.min.js'
            }
        },

        jasmine: {
            src: 'public/dist/humanize.min.js',
            specs: 'public/test/*.spec.js',
            timeout: 10000,
            phantomjs: {
                'ignore-ssl-errors': true
            }
        }
    });

    grunt.loadNpmTasks('grunt-coffee');
    grunt.loadNpmTasks('grunt-jasmine-runner');

    grunt.registerTask('default', 'coffee min');
    grunt.registerTask('test', 'coffee jasmine');
};<commit_msg>Fix grunt test to run the minifier too, since the test runs the minified version.<commit_after>module.exports = function(grunt) {
    grunt.initConfig({
        coffee: {
            app: {
                src: 'coffee/**/*.coffee',
                dest: 'public/',
                options: {
                    preserve_dirs: true,
                    base_path: 'coffee/',
                    bare: false
                }
            }
        },

        watch: {
            scripts: {
                files: '<config:coffee.app.src>',
                tasks: 'coffee'
            }
        },

        min: {
            dist: {
                src: 'public/src/*.js',
                dest: 'public/dist/humanize.min.js'
            }
        },

        jasmine: {
            src: 'public/dist/humanize.min.js',
            specs: 'public/test/*.spec.js',
            timeout: 10000,
            phantomjs: {
                'ignore-ssl-errors': true
            }
        }
    });

    grunt.loadNpmTasks('grunt-coffee');
    grunt.loadNpmTasks('grunt-jasmine-runner');

    grunt.registerTask('default', 'coffee min');
    grunt.registerTask('test', 'coffee min jasmine');
};
{'fraction_non_alphanumeric': 0.13391304347826086, 'fraction_numerical': 0.004347826086956522, 'mean_word_length': 1.1404651162790698, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6007404', 'n_tokens_mistral': 716, 'n_tokens_neox': 649, 'n_words': 107}