<commit_before>module.exports = function(grunt) {
    'use strict';

    grunt.initConfig({

        clean: {
            tmp: 'tmp'
        },

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

        copy: {
            main: {
                files: [{
                    expand: true,
                    cwd: 'test/fixtures',
                    src: ['**'],
                    dest: 'tmp/'
                }]
            }
        },

        cacheBust: {
            options: {
                encoding: 'utf8',
                length: 16,
                algorithm: 'md5',
                baseDir: 'tmp/'
            },
            queryString: {
                options: {
                    jsonOutput: true,
                    rename: false,
                    ignorePatterns: ['toBeIgnoredCSS', 'toBeIgnoredJS', 'toBeIgnoredJPG']
                },
                files: [{
                    expand: true,
                    cwd: 'tmp/',
                    src: ['*.html', '*.css', '!**/replace*.*', '!*.php', '!cdnPath.html', '!deleteOriginals.html']
                }]
            },
            rename: {
                options: {
                    baseDir: './tmp',
                    jsonOutput: 'output/replace-cachebuster-map.json',
                    replaceTerms: [{
                        '${Html.GetAppSetting(ThemeId)}': 'com'<commit_msg>Excluded files so they aren't busted twice<commit_after>module.exports = function(grunt) {
    'use strict';

    grunt.initConfig({

        clean: {
            tmp: 'tmp'
        },

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

        copy: {
            main: {
                files: [{
                    expand: true,
                    cwd: 'test/fixtures',
                    src: ['**'],
                    dest: 'tmp/'
                }]
            }
        },

        cacheBust: {
            options: {
                encoding: 'utf8',
                length: 16,
                algorithm: 'md5',
                baseDir: 'tmp/'
            },
            queryString: {
                options: {
                    jsonOutput: true,
                    rename: false,
                    ignorePatterns: ['toBeIgnoredCSS', 'toBeIgnoredJS', 'toBeIgnoredJPG']
                },
                files: [{
                    expand: true,
                    cwd: 'tmp/',
                    src: ['*.html', '*.css', '!**/replace*.*', '!*.php', '!baseDir.html', '!baseDirOverride.html', '!cdnPath.html', '!deleteOriginals.html']
                }]
            },
            rename: {
                options: {
                    baseDir: './tmp',
                    jsonOutput: 'output/replace-cachebuster-map.json',
                    replaceTerms: [{
                        '${Html.GetAppSetting(ThemeId)}': 'com'
{'fraction_non_alphanumeric': 0.1358408455082375, 'fraction_numerical': 0.0024867889337892445, 'mean_word_length': 0.8590410167533218, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1396984', 'n_tokens_mistral': 892, 'n_tokens_neox': 814, 'n_words': 141}