<commit_before>/*
 * grunt-labeled-merge
 * https://github.com/allan/grunt-labeled-merge
 *
 * Copyright (c) 2015 atask
 * Licensed under the MIT license.
 */
'use strict';

module.exports = function(grunt) {

    // Project configuration.
    grunt.initConfig({
        jshint: {
            all: [
                'Gruntfile.js',
                'tasks/*.js',
                '<%= nodeunit.tests %>'
            ],
            options: {
                jshintrc: '.jshintrc'
            }
        },

        // Before generating any new files, remove any previously-created files.
        clean: {
            tests: ['tmp']
        },

        // Copy needed fixture files
        copy: {
            fixture: {
                files: [{
                    expand: true,
                    cwd: 'test/fixture/first/',
                    src: ['**'],
                    dest: 'tmp/default_options_initial/'
                }, {
                    'tmp/default_options_initial/.meta/files.json': 'test/fixtures/metas/first.json'
                }]
            }
        },

        // Configuration to be run (and then tested).
        labeled_merge: {
            default_options: {
                files: {
                    'tmp/default_options_initial': ['test/fixtures/first'],
                    'tmp/default_options_first': ['test/fixtures/second']
                }
            }
        },

        // Unit tests.
        nodeunit: {
            tests: ['test/*_test.js']
        }
<commit_msg>test(labeled-merge): fix copy/test paths on grunt file<commit_after>/*
 * grunt-labeled-merge
 * https://github.com/allan/grunt-labeled-merge
 *
 * Copyright (c) 2015 atask
 * Licensed under the MIT license.
 */
'use strict';

module.exports = function(grunt) {

    // Project configuration.
    grunt.initConfig({
        jshint: {
            all: [
                'Gruntfile.js',
                'tasks/*.js',
                '<%= nodeunit.tests %>'
            ],
            options: {
                jshintrc: '.jshintrc'
            }
        },

        // Before generating any new files, remove any previously-created files.
        clean: {
            tests: ['tmp']
        },

        // Copy needed fixture files
        copy: {
            fixture: {
                files: [{
                    expand: true,
                    cwd: 'test/fixtures/first',
                    dot: true,
                    src: ['**'],
                    dest: 'tmp/default_options_initial/'
                }, {
                    'tmp/default_options_initial/.meta/files.json': 'test/fixtures/metas/first.json'
                }]
            }
        },

        // Configuration to be run (and then tested).
        labeled_merge: {
            default_options: {
                files: [
                    { dest: 'tmp/default_options_initial', src: ['test/fixtures/first'] },
                    { dest: 'tmp/default_options_initial', src: ['test/fixtures/second'] }
                ]
            }
        },

        // Unit tests.
        nodeunit: {
            tests: ['test/*_test.js']
        }

{'fraction_non_alphanumeric': 0.1251596424010217, 'fraction_numerical': 0.002554278416347382, 'mean_word_length': 1.1606896551724137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '2425931', 'n_tokens_mistral': 880, 'n_tokens_neox': 823, 'n_words': 160}