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

    var browsers = [
        {
            browserName: "firefox",
            platform: "XP"
        },        
        {
            browserName: "chrome",
            platform: "XP"
        },        
        {
            browserName: 'internet explorer',
            platform: 'WIN8'
        },
        {
            browserName: 'safari',
            platform: 'Mac 10.8'
        }                       
];
    
    var pkgConfig = grunt.file.readJSON('package.json');
    pkgConfig.version = grunt.file.readJSON('version.json').version;
    grunt.initConfig({

        pkg: pkgConfig,
        uglify: {
            dist: {
                options: {
                    report: "gzip"
                },
                src: '<%= pkg.name %>.js',
                dest: 'dist/<%= pkg.name %>.min.js'
            }
        },
        jshint: {
            all: ['Gruntfile.js', 'backbone.geppetto.js', 'specs/*.js']
        },

        blanket_mocha: {
            all: ['specs/index.html'],
            options: {
                threshold: 98,
                log: true,
                reporter: 'mocha-unfunk-reporter',
                mocha: {}
            }
        },
        version: {
            defaults: {
                src: [
                    'package.json', 'bower.json', '<%= pkg.name %>.js'
                ]
            }
        },
        "jsbeautifier": {
            files: ['beautify.json', 'Gruntfile.js', 'backbone.geppetto.js', 'specs/*.js'],
            options: {
                config: "beautify.json"
            }
        },
        connect: {
            options: {
                port: 9001,
                hostname: 'localhost',
                base: '.'
            },
            test: {}
        },
        concurrent: {
            options: {
                logConcurrentOutput: true
            },
            test: [
                'connect:test:keepalive', 'open:test'
            ]
        },
        open: {
            test: {
                path: 'http://localhost:9001/specs/index.html'
            }
        },
        'saucelabs-mocha': {
            all: {
                options: {
                    urls: ["http://localhost:9001/specs/index.html"],
                    build: process.env.TRAVIS_JOB_ID,
                    concurrency: 1,
                    detailedError: true,
                    browsers: browsers,
                    testname: "Backbone.Geppetto",
                    tags: ["master"]
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-jsbeautifier');
    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-blanket-mocha');
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-version');
    grunt.loadNpmTasks('grunt-contrib-connect');
    grunt.loadNpmTasks('grunt-concurrent');
    grunt.loadNpmTasks('grunt-open');
    grunt.loadNpmTasks('grunt-saucelabs');
    
    grunt.registerTask('beautify', ['jsbeautifier']);
    grunt.registerTask('lint', ['jshint']);
    grunt.registerTask('coverage', ['blanket_mocha']);
    grunt.registerTask('travis', ['jshint', 'blanket_mocha', 'connect', 'saucelabs-mocha']);
    grunt.registerTask("sauce", ['connect', 'saucelabs-mocha']);

    grunt.registerTask('default', ['version', 'uglify', 'jshint', 'blanket_mocha']);
};<commit_msg>Trying more browsers on SauceLabs...<commit_after>module.exports = function(grunt) {

    var browsers = [
        {
            browserName: "firefox",
            version: "22",
            platform: "XP"
        },
        {
            browserName: "firefox",
            version: "21",
            platform: "XP"
        },
        {
            browserName: "chrome",
            version: "29",
            platform: "XP"
        },
        {
            browserName: "chrome",
            version: "28",
            platform: "Mac 10.6"
        },
        {
            browserName: 'internet explorer',
            platform: 'WIN8',
            version: '10'
        },
        {
            browserName: 'internet explorer',
            platform: 'VISTA',
            version: '9'
        },
        {
            browserName: 'internet explorer',
            platform: 'XP',
            version: '8'
        },
        {
            browserName: 'safari',
            platform: 'Mac 10.8',
            version: '6'
        },
        {
            browserName: 'safari',
            platform: 'Mac 10.6',
            version: '5'
        },
        {
            browserName: 'iphone',
            platform: 'Mac 10.8',
            version: '6'
        },
        {
            browserName: 'iphone',
            platform: 'Mac 10.8',
            version: '5.1'
        },
        {
            browserName: 'ipad',
            platform: 'Mac 10.8',
            version: '6'
        },
        {
            browserName: 'ipad',
            platform: 'Mac 10.8',
            version: '5.1'
        }


    ];
    
    var pkgConfig = grunt.file.readJSON('package.json');
    pkgConfig.version = grunt.file.readJSON('version.json').version;
    grunt.initConfig({

        pkg: pkgConfig,
        uglify: {
            dist: {
                options: {
                    report: "gzip"
                },
                src: '<%= pkg.name %>.js',
                dest: 'dist/<%= pkg.name %>.min.js'
            }
        },
        jshint: {
            all: ['Gruntfile.js', 'backbone.geppetto.js', 'specs/*.js']
        },

        blanket_mocha: {
            all: ['specs/index.html'],
            options: {
                threshold: 98,
                log: true,
                reporter: 'mocha-unfunk-reporter',
                mocha: {}
            }
        },
        version: {
            defaults: {
                src: [
                    'package.json', 'bower.json', '<%= pkg.name %>.js'
                ]
            }
        },
        "jsbeautifier": {
            files: ['beautify.json', 'Gruntfile.js', 'backbone.geppetto.js', 'specs/*.js'],
            options: {
                config: "beautify.json"
            }
        },
        connect: {
            options: {
                port: 9001,
                hostname: 'localhost',
                base: '.'
            },
            test: {}
        },
        concurrent: {
            options: {
                logConcurrentOutput: true
            },
            test: [
                'connect:test:keepalive', 'open:test'
            ]
        },
        open: {
            test: {
                path: 'http://localhost:9001/specs/index.html'
            }
        },
        'saucelabs-mocha': {
            all: {
                options: {
                    urls: ["http://localhost:9001/specs/index.html"],
                    build: process.env.TRAVIS_JOB_ID,
                    concurrency: 3,
                    detailedError: true,
                    browsers: browsers,
                    testname: "Backbone.Geppetto",
                    tags: ["master"]
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-jsbeautifier');
    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-blanket-mocha');
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-version');
    grunt.loadNpmTasks('grunt-contrib-connect');
    grunt.loadNpmTasks('grunt-concurrent');
    grunt.loadNpmTasks('grunt-open');
    grunt.loadNpmTasks('grunt-saucelabs');
    
    grunt.registerTask('beautify', ['jsbeautifier']);
    grunt.registerTask('lint', ['jshint']);
    grunt.registerTask('coverage', ['blanket_mocha']);
    grunt.registerTask('travis', ['jshint', 'blanket_mocha', 'connect', 'saucelabs-mocha']);
    grunt.registerTask("sauce", ['connect', 'saucelabs-mocha']);

    grunt.registerTask('default', ['version', 'uglify', 'jshint', 'blanket_mocha']);
};
{'fraction_non_alphanumeric': 0.14240745404180308, 'fraction_numerical': 0.009569377990430622, 'mean_word_length': 1.243151652075685, 'pattern_counts': {'":': 2, '<': 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': '1913080', 'n_tokens_mistral': 2474, 'n_tokens_neox': 2315, 'n_words': 350}