<commit_before>module.exports = function (grunt) {
     pkg = grunt.file.readJSON('package.json');
     var distAll = "dist/"+ pkg.name + "-v.js";
     var distMin = "dist/"+ pkg.name + "-v-min.js";
     grunt.initConfig({
        requirejs: {
            hybrid: {
                options: {
                    baseUrl: "./",
                    name: 'third_party/almond',
                    include: [
                        'src/main'
                    ],
                    out: distAll,
                    optimize: 'none',
                    wrap: true
                }
            }
        },
        uglify : {
            options: {
                banner: '/*! <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %> - http://clouda.com */\n'//添加banner
            },
            hybrid: {
                files: [{
                    src: distAll,
                    dest: distMin
                }]
            }
        },
        mocha:{
            test:{<commit_msg>修改grunt配置文件<commit_after>module.exports = function (grunt) {
     pkg = grunt.file.readJSON('package.json');
     var distAll = "dist/"+ pkg.name + ".js";
     var distMin = "dist/"+ pkg.name + "-min.js";
     grunt.initConfig({
        requirejs: {
            hybrid: {
                options: {
                    baseUrl: "./",
                    name: 'third_party/almond',
                    include: [
                        'src/main'
                    ],
                    out: distAll,
                    optimize: 'none',
                    wrap: true
                }
            }
        },
        uglify : {
            options: {
                banner: '/*! <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %> - http://clouda.com */\n'//添加banner
            },
            hybrid: {
                files: [{
                    src: distAll,
                    dest: distMin
                }]
            }
        },
        mocha:{
            test:{
{'fraction_non_alphanumeric': 0.14173228346456693, 'fraction_numerical': 0.0, 'mean_word_length': 0.8806660499537465, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4956362', 'n_tokens_mistral': 604, 'n_tokens_neox': 543, 'n_words': 93}