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

    // Project configuration.
    grunt.initConfig({
        pkg    : grunt.file.readJSON( 'package.json' ),
        less   : {
            production  : {
                files : {
                    'stylesheets/preamble.css' : 'stylesheets/preamble.less'
                }
            }
        },
        jshint : {
            options: {
                jshintrc: true
            },
            files   : [
                'javascripts/preamble.js',
                'javascripts/sample-failures-test.js',
                'javascripts/sample-suite.js',
            ]
        },
        browserify : {
            js: {
                src: 'src/javascripts/preamble.js',
                dest: 'dist/preamble.js'
            }
        },
        shell: {
            phantomjs: {
                command: 'phantomjs javascripts/phantom-runner.js index.html',
                options: {
                    stdout: true
                }
            }
        },
        watch  : {
            less : {
                files   : ['**/*.less'],
                tasks   : ['less'],
                options : {
                    interrupt : true
                }
            },
            js : {
                files   : ['javascripts/*.js'],
                tasks   : ['jshint'],
                options : {
                    interrupt : true
                }
            },
            browserify : {
                files   : ['src/**.js'],
                tasks   : ['browserify'],
                options : {
                    interrupt : true
                }
            },
            test : {
                files   : ['javascripts/preamble.js', 'javascripts/sample-bdd-test.js'],
                tasks   : ['shell:phantomjs'],
                options : {
                    interrupt : true
                }
            }
        }
    });

    // Load the plugins
    grunt.loadNpmTasks( 'grunt-contrib-less' );
    grunt.loadNpmTasks( 'grunt-contrib-watch' );
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-shell');
    grunt.loadNpmTasks('grunt-browserify');

    // Default task(s).
    grunt.registerTask( 'default', ['watch'] );

};<commit_msg>Modified Grunt tasks to use new project folder structure.<commit_after>module.exports = function ( grunt ) {

    // Project configuration.
    grunt.initConfig({
        pkg    : grunt.file.readJSON( 'package.json' ),
        less   : {
            production  : {
                files : {
                    'stylesheets/preamble.css' : 'stylesheets/preamble.less'
                }
            }
        },
        jshint : {
            options: {
                jshintrc: true
            },
            files   : [
                'src/javascripts/**.js',
                'javascripts/sample-suite.js'
            ]
        },
        browserify : {
            js: {
                src: 'src/javascripts/main.js',
                dest: 'dist/preamble.js'
            }
        },
        shell: {
            phantomjs: {
                command: 'phantomjs javascripts/phantom-runner.js index.html',
                options: {
                    stdout: true
                }
            }
        },
        watch  : {
            less : {
                files   : ['**/*.less'],
                tasks   : ['less'],
                options : {
                    interrupt : true
                }
            },
            js : {
                files   : ['src/javascripts/**.js'],
                tasks   : ['jshint'],
                options : {
                    interrupt : true
                }
            },
            browserify : {
                files   : ['src/javascripts/**.js'],
                tasks   : ['browserify'],
                options : {
                    interrupt : true
                }
            }
            // ,
            // test : {
            //     files   : ['javascripts/preamble.js', 'javascripts/sample-bdd-test.js'],
            //     tasks   : ['shell:phantomjs'],
            //     options : {
            //         interrupt : true
            //     }
            // }
        }
    });

    // Load the plugins
    grunt.loadNpmTasks( 'grunt-contrib-less' );
    grunt.loadNpmTasks( 'grunt-contrib-watch' );
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-shell');
    grunt.loadNpmTasks('grunt-browserify');

    // Default task(s).
    grunt.registerTask( 'default', ['watch'] );

};
{'fraction_non_alphanumeric': 0.12401229148375768, 'fraction_numerical': 0.0, 'mean_word_length': 0.9449423815620999, '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': '5058301', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1186, 'n_words': 179}