<commit_before>(function() {

	'use strict';

	/**
	 * Export grunt registered task
	 * @module ./Gruntfile.js
	 * @access public
	 * @param {object} grunt - default initial grunt objects
	 */
	module.exports = function(grunt) {

		/**
		 * Initialize grunt initial configuration
		 */
		grunt.initConfig({

			/**
			 * Run jsonlint on JavaScript files
			 */
			'jsonlint': {
				files: '*.json'
			},

			/**
			 * Run Jshint on JavaScript files
			 */
			'jshint': {
				all: [
					'Gruntfile.js',
					'lib/**/*.js',
					'test/**/*.js'
				],
				options: {
					jshintrc: '.jshintrc'
				}
			},

			/**
			 * Run JSCS check on JavaScript files
			 */
			'jscs': {
				options: {
					config: '.jscsrc'
				},
				src: [
					'Gruntfile.js',
					'lib/**/*.js',
					'test/**/*.js'
				]
			},

			/**
			 * Run lint on .travis.yml
			 */
			'travis-lint': {
				files: '.travis.yml'
			},

			/**
			 * Run unit tests
			 */
			nodeunit: {
				tests: ['test/test-*.js']
			}
		});

		/**
		 * Load grunt plugins (npm)
		 */
		grunt.loadNpmTasks('grunt-contrib-jshint');
		grunt.loadNpmTasks('grunt-jscs');
		grunt.loadNpmTasks('grunt-jsonlint');
		grunt.loadNpmTasks('grunt-contrib-nodeunit');
		grunt.loadNpmTasks('grunt-travis-lint');

		/**
		 * Set `default` task
		 */
		grunt.registerTask('default', ['jsonlint', 'jshint', 'jscs', 'travislint', 'nodeunit']);

		/**
		 * Set `lint` task
		 */
		grunt.registerTask('lintjs', ['jsonlint', 'jshint', 'jscs', 'travislint']);

		/**
		 * Set `lintbuild` task
		 */
		grunt.registerTask('lintbuild', ['travis-lint']);

		/**
		 * Set `test` task
		 */
		grunt.registerTask('test', ['nodeunit']);
	};
})();<commit_msg>re-factors tasks<commit_after>(function() {

	'use strict';

	/**
	 * Export grunt registered task
	 * @module ./Gruntfile.js
	 * @access public
	 * @param {object} grunt - default initial grunt objects
	 */
	module.exports = function(grunt) {

		/**
		 * Initialize grunt initial configuration
		 */
		grunt.initConfig({

			/**
			 * Run jsonlint on JavaScript files
			 */
			'jsonlint': {
				files: '*.json'
			},

			/**
			 * Run Jshint on JavaScript files
			 */
			'jshint': {
				all: [
					'Gruntfile.js',
					'lib/**/*.js',
					'test/**/*.js'
				],
				options: {
					jshintrc: '.jshintrc'
				}
			},

			/**
			 * Run JSCS check on JavaScript files
			 */
			'jscs': {
				options: {
					config: '.jscsrc'
				},
				src: [
					'Gruntfile.js',
					'lib/**/*.js',
					'test/**/*.js'
				]
			},

			/**
			 * Run lint on .travis.yml
			 */
			'travis-lint': {
				files: '.travis.yml'
			},

			/**
			 * Run unit tests
			 */
			nodeunit: {
				tests: ['test/test-*.js']
			}
		});

		/**
		 * Load grunt plugins (npm)
		 */
		grunt.loadNpmTasks('grunt-contrib-jshint');
		grunt.loadNpmTasks('grunt-jscs');
		grunt.loadNpmTasks('grunt-jsonlint');
		grunt.loadNpmTasks('grunt-contrib-nodeunit');
		grunt.loadNpmTasks('grunt-travis-lint');

		/**
		 * Set `default` task
		 */
		grunt.registerTask('default', ['jsonlint', 'jshint', 'jscs', 'nodeunit']);

		/**
		 * Set `lint` task for JavaScript based files
		 */
		grunt.registerTask('lintjs', ['jsonlint', 'jshint', 'jscs']);

		/**
		 * Set `lintbuild` task
		 */
		grunt.registerTask('lintbuild', ['travis-lint']);

		/**
		 * Set `test` task
		 */
		grunt.registerTask('test', ['nodeunit']);
	};
})();
{'fraction_non_alphanumeric': 0.20065593321407274, 'fraction_numerical': 0.0, 'mean_word_length': 2.2667964946445958, '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': '2582672', 'n_tokens_mistral': 1585, 'n_tokens_neox': 1215, 'n_words': 221}