<commit_before>'use strict';
module.exports = function(grunt) {
    // Project configuration.
    grunt.initConfig({
        jshint: {
            options: {
                jshintrc: '.jshintrc'
            },
            lib: {
                src: ['lib/**/*.js', 'bin/*.js']
            }
        },
        vows: {
            all : {
                src : 'build/instrument/tests/lib/**/*.js',
                options : {
                    reporter : 'spec'
                }
            }
        },
        coverage: {
            options: {
                thresholds: {
                    'statements': 95,
                    'branches': 95,
                    'lines': 95,
                    'functions': 95
                },
                dir: 'reports',
                root: 'build'
            }
        },
        clean: ['build/'],
            instrument : {
                files : ['lib/**/*.js', 'bin/*.js'],
                options : {
                lazy : true,
                basePath : 'build/instrument/'
            }
        },
        copy: {
            all: {
                src: ['tests/**/*', 'conf/*', 'tests/fixtures/configurations/single-quotes/.eslintrc'],
                dest: 'build/instrument/'
            }
        },
        storeCoverage : {
            options : {
                dir : 'build/reports/'
            }
        },
        makeReport : {
            src : 'build/reports/**/*.json',
            options : {
                type : 'lcov',
                dir : 'build/reports/',
                print: 'print'
            }
        },
        mochaTest: {
            test: {
                options: {
                    reporter: 'spec'
                },
                src: 'build/instrument/tests/mocha/lib/**/*.js'
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.loadNpmTasks('grunt-istanbul');
    grunt.loadNpmTasks('grunt-istanbul-coverage');
    grunt.loadNpmTasks('grunt-vows-runner');
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-mocha-test');

    // Default task.
    grunt.registerTask('default', ['jshint']);
    grunt.registerTask('test', ['jshint', 'instrument', 'copy', 'vows', 'storeCoverage', 'makeReport', 'coverage', 'clean']);
    grunt.registerTask('mocha', ['jshint', 'instrument', 'copy', 'mochaTest', 'storeCoverage', 'makeReport', 'clean']);<commit_msg>Reformatted Gruntfile<commit_after>"use strict";
module.exports = function(grunt) {
    // Project configuration.
    grunt.initConfig({
        jshint: {
            options: {
                jshintrc: ".jshintrc"
            },
            lib: {
                src: ["lib/**/*.js", "bin/*.js"]
            }
        },
        vows: {
            all : {
                src : "build/instrument/tests/lib/**/*.js",
                options : {
                    reporter : "spec"
                }
            }
        },
        coverage: {
            options: {
                thresholds: {
                    "statements": 95,
                    "branches": 95,
                    "lines": 95,
                    "functions": 95
                },
                dir: "reports",
                root: "build"
            }
        },
        clean: ["build/"],
        instrument : {
            files : ["lib/**/*.js", "bin/*.js"],
            options : {
                lazy : true,
                basePath : "build/instrument/"
            }
        },
        copy: {
            all: {
                src: ["tests/**/*", "conf/*", "tests/fixtures/configurations/single-quotes/.eslintrc"],
                dest: "build/instrument/"
            }
        },
        storeCoverage : {
            options : {
                dir : "build/reports/"
            }
        },
        makeReport : {
            src : "build/reports/**/*.json",
            options : {
                type : "lcov",
                dir : "build/reports/",
                print: "print"
            }
        },
        mochaTest: {
            test: {
                options: {
                    reporter: "spec"
                },
                src: "build/instrument/tests/mocha/lib/**/*.js"
            }
        }
    });

    grunt.loadNpmTasks("grunt-contrib-copy");
    grunt.loadNpmTasks("grunt-contrib-clean");
    grunt.loadNpmTasks("grunt-istanbul");
    grunt.loadNpmTasks("grunt-istanbul-coverage");
    grunt.loadNpmTasks("grunt-vows-runner");
    grunt.loadNpmTasks("grunt-contrib-jshint");
    grunt.loadNpmTasks("grunt-mocha-test");

    // Default task.
    grunt.registerTask("default", ["jshint"]);
    grunt.registerTask("test", ["jshint", "instrument", "copy", "vows", "storeCoverage", "makeReport", "coverage", "clean"]);
    grunt.registerTask("mocha", ["jshint", "instrument", "copy", "mochaTest", "storeCoverage", "makeReport", "clean"]);
{'fraction_non_alphanumeric': 0.15602263540824576, 'fraction_numerical': 0.0032336297493936943, 'mean_word_length': 1.2015124555160142, 'pattern_counts': {'":': 4, '<': 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': '2674208', 'n_tokens_mistral': 1491, 'n_tokens_neox': 1399, 'n_words': 210}