<commit_before>'use strict';

module.exports = function(grunt) {

  // Add the grunt-mocha-test tasks.
    grunt.loadNpmTasks('grunt-mocha-test');

    grunt.initConfig({

        mochaTest: {
            test: {
                options: {
                    reporter: 'spec',
                    captureFile: 'results.txt', // Optionally capture the reporter output to a file
                    quiet: false, // Optionally suppress output to standard out (defaults to false)
                    clearRequireCache: false // Optionally clear the require cache before running tests (defaults to false)
                },
                src: ['test/**/seams.js']
            }
        },

        'mocha_istanbul': {
            coverage: {
                src: 'test/**/*.js' // a folder works nicely
            },
            coverageSpecial: {
                src: ['testSpecial/*/*.js', 'testUnique/*/*.js'], // specifying file patterns works as well
                options: {
                    coverageFolder: 'coverageSpecial',
                    mask: '*.spec.js',
                    mochaOptions: ['--harmony', '--async-only'], // any extra options
                    istanbulOptions: ['--harmony', '--handle-sigint']<commit_msg>run all test by grunt mocha<commit_after>'use strict';

module.exports = function(grunt) {

  // Add the grunt-mocha-test tasks.
    grunt.loadNpmTasks('grunt-mocha-test');

    grunt.initConfig({

        mochaTest: {
            test: {
                options: {
                    reporter: 'spec',
                    captureFile: 'results.txt', // Optionally capture the reporter output to a file
                    quiet: false, // Optionally suppress output to standard out (defaults to false)
                    clearRequireCache: false // Optionally clear the require cache before running tests (defaults to false)
                },
                src: ['test/**.js']
            }
        },

        'mocha_istanbul': {
            coverage: {
                src: 'test/**/*.js' // a folder works nicely
            },
            coverageSpecial: {
                src: ['testSpecial/*/*.js', 'testUnique/*/*.js'], // specifying file patterns works as well
                options: {
                    coverageFolder: 'coverageSpecial',
                    mask: '*.spec.js',
                    mochaOptions: ['--harmony', '--async-only'], // any extra options
                    istanbulOptions: ['--harmony', '--handle-sigint']
{'fraction_non_alphanumeric': 0.12299679487179487, 'fraction_numerical': 0.0, 'mean_word_length': 1.4649555774925962, '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': '3040710', 'n_tokens_mistral': 653, 'n_tokens_neox': 612, 'n_words': 170}