<commit_before>module.exports = function (grunt) {

	// Add our custom tasks.
	grunt.loadNpmTasks('grunt-simple-mocha');
	grunt.loadNpmTasks('grunt-contrib-watch');

	// Project configuration.
	grunt.initConfig({
		pkg: '<json:package.json>',
		test: {
			files: ['test/**/*.js']
		},
		lint: {
			files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
		},
		watch: {
			files: '<config:lint.files>',
			tasks: 'default'
		},
		jshint: {
			options: {
				"es5": true,
				"boss": true,
				"node": true,
				"strict": false, // TODO: Research
				"white": true,
				"smarttabs": true,
				"maxlen": 100,
				"newcap": false,
				"undef": true,
				"unused": true,
				"onecase": true,
				"indent": 2
			},
			globals: {
				exports: true,

				//// mocha globals
				describe: false,
				it: true
			}
		},
		simplemocha: {
			dev: {
				src: ['test/**/*[Tt]ests.js'],
				options: {
					reporter: 'spec',
					slow: 200,
					timeout: 1000
				}
			}
		},
		watch: {
			all: {
				files: ['lib/*', 'test/*.js'],
				tasks: ['test']
			}
		}
	});

	// Default task.
	grunt.registerTask('default', 'lint simplemocha');

	grunt.registerTask('test', 'simplemocha:dev');
};<commit_msg>fixed up test grunt command order<commit_after>module.exports = function (grunt) {

	// Add our custom tasks.
	grunt.loadNpmTasks('grunt-simple-mocha');
	grunt.loadNpmTasks('grunt-contrib-watch');

	// Project configuration.
	grunt.initConfig({
		pkg: '<json:package.json>',
		test: {
			files: ['test/**/*.js'],
			tasks: "simplemocha:dev"
		},
		lint: {
			files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
		},
		watch: {
			files: '<config:lint.files>',
			tasks: 'default'
		},
		jshint: {
			options: {
				"es5": true,
				"boss": true,
				"node": true,
				"strict": false, // TODO: Research
				"white": true,
				"smarttabs": true,
				"maxlen": 100,
				"newcap": false,
				"undef": true,
				"unused": true,
				"onecase": true,
				"indent": 2
			},
			globals: {
				exports: true,

				//// mocha globals
				describe: false,
				it: true
			}
		},
		simplemocha: {
			dev: {
				src: ['test/**/*[Tt]ests.js'],
				options: {
					reporter: 'spec',
					slow: 200,
					timeout: 1000
				}
			}
		}
	});

	grunt.registerTask('test', 'simplemocha:dev');

	// Default task.
	grunt.registerTask('default', 'lint test');

};
{'fraction_non_alphanumeric': 0.20827943078913325, 'fraction_numerical': 0.01034928848641656, 'mean_word_length': 2.547400611620795, 'pattern_counts': {'":': 24, '<': 7, '<?xml version=': 0, '>': 7, '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': '4162270', 'n_tokens_mistral': 1136, 'n_tokens_neox': 883, 'n_words': 178}