<commit_before>// Karma configuration
// Generated on Thu Jul 30 2015 17:38:26 GMT-0700 (PDT)

module.exports = function (config) {
    config.set({
        // base path that will be used to resolve all patterns (eg. files, exclude)
        basePath: '..',
        // frameworks to use
        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
        frameworks: ['jasmine', 'requirejs'],
        // list of Karma plugins to use
        // This is someone redundant with what's in package.json,
        // but I like it to be explicit here.
        plugins: [
            'karma-jasmine',
            'karma-chrome-launcher',
            'karma-phantomjs-launcher',
            'karma-coverage',
            'karma-requirejs'
        ],
        // list of files / patterns to load in the browser
        files: [
            // had to add these all by hand, or Karma goes bugnuts.
            /* These are the external dependencies. The bower components
             * come with a LOT of stuff that isn't necessary, and causes
             * problems when loaded in the test browser. Things like tests,
             * or auto-generated minified AND maxified files that overlap.
             * 
             * It's cleaner to just load the list of them by hand, then
             * have the Require apparatus take over.
             */
            
            {pattern: 'build/build/client/modules/**/*.js', included: false},
            // {pattern: 'build/client/bower_components/**/*.js', included: false},
            {pattern: 'test/spec/**/*.js', included: false},
            {pattern: 'build/build/client/modules/config/*.yml', included: false},
            'test/build-test.js',
        ],
        // list of files to exclude
        exclude: [
            '**/*.swp'
        ],
        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
          'build/client/modules/!(bower_components)/**/*.js': ['coverage']
        },

        coverageReporter: {
            dir: 'build/build-test-coverage/',
            reporters: [
                {type: 'html', subdir: 'html'},
                {type: 'lcov', subdir: 'lcov'}
            ]
        },
        // test results reporter to use<commit_msg>fix coverage config<commit_after>// Karma configuration
// Generated on Thu Jul 30 2015 17:38:26 GMT-0700 (PDT)

module.exports = function (config) {
    config.set({
        // base path that will be used to resolve all patterns (eg. files, exclude)
        basePath: '..',
        // frameworks to use
        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
        frameworks: ['jasmine', 'requirejs'],
        // list of Karma plugins to use
        // This is someone redundant with what's in package.json,
        // but I like it to be explicit here.
        plugins: [
            'karma-jasmine',
            'karma-chrome-launcher',
            'karma-phantomjs-launcher',
            'karma-coverage',
            'karma-requirejs'
        ],
        // list of files / patterns to load in the browser
        files: [
            // had to add these all by hand, or Karma goes bugnuts.
            /* These are the external dependencies. The bower components
             * come with a LOT of stuff that isn't necessary, and causes
             * problems when loaded in the test browser. Things like tests,
             * or auto-generated minified AND maxified files that overlap.
             * 
             * It's cleaner to just load the list of them by hand, then
             * have the Require apparatus take over.
             */
            
            {pattern: 'build/build/client/modules/**/*.js', included: false},
            // {pattern: 'build/client/bower_components/**/*.js', included: false},
            {pattern: 'test/spec/**/*.js', included: false},
            {pattern: 'build/build/client/modules/config/*.yml', included: false},
            'test/build-test.js',
        ],
        // list of files to exclude
        exclude: [
            '**/*.swp'
        ],
        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
          'build/build/client/modules/!(bower_components)/**/*.js': ['coverage']
        },

        coverageReporter: {
            dir: 'build/build-test-coverage/',
            reporters: [
                {type: 'html', subdir: 'html'},
                {type: 'lcov', subdir: 'lcov'}
            ]
        },
        // test results reporter to use
{'fraction_non_alphanumeric': 0.11716101694915254, 'fraction_numerical': 0.006779661016949152, 'mean_word_length': 1.7101033295063146, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3261848', 'n_tokens_mistral': 1315, 'n_tokens_neox': 1232, 'n_words': 399}