<commit_before>'use strict';

// Karma configuration
module.exports = function(config) {
    var _ = require('lodash'),
        basePath = '.',
        assets = require(basePath + '/config/assets.json');

    config.set({

        // base path, that will be used to resolve files and exclude
        basePath: basePath,

        // frameworks to use
        frameworks: ['jasmine'],

        // list of files / patterns to load in the browser
        files: _.flatten(_.values(assets.core.js)).concat([
            'packages/system/public/init.js',
//            'packages/*/public/{controllers,routes,services}/*.js',
//            'packages/*/public/tests/*.js'
            'packages/*/public/*/*.js'
        ]),

        // list of files to exclude
        exclude: [],

        // test results reporter to use
        // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
        reporters: ['progress', 'coverage'],

        // coverage
        preprocessors: {
            // source files, that you wanna generate coverage for
            // do not include tests or libraries
            // (these files will be instrumented by Istanbul)
            'packages/*/public/controllers/*.js': ['coverage'],
            'packages/*/public/services/*.js': ['coverage']
        },

        coverageReporter: {
            type: 'html',
            dir: 'test/coverage/'
        },

        // web server port
        port: 9876,

        // enable / disable colors in the output (reporters and logs)
        colors: true,

        // level of logging
        // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
//        logLevel: config.LOG_INFO,
        logLevel: config.LOG_DEBUG,

        // enable / disable watching file and executing tests whenever any file changes
        autoWatch: true,

        // Start these browsers, currently available:
        // - Chrome
        // - ChromeCanary
        // - Firefox<commit_msg>seems like a developer left karma debug log level to LOG_DEBUG, returned back to original LOG_INFO level<commit_after>'use strict';

// Karma configuration
module.exports = function(config) {
    var _ = require('lodash'),
        basePath = '.',
        assets = require(basePath + '/config/assets.json');

    config.set({

        // base path, that will be used to resolve files and exclude
        basePath: basePath,

        // frameworks to use
        frameworks: ['jasmine'],

        // list of files / patterns to load in the browser
        files: _.flatten(_.values(assets.core.js)).concat([
            'packages/system/public/init.js',
//            'packages/*/public/{controllers,routes,services}/*.js',
//            'packages/*/public/tests/*.js'
            'packages/*/public/*/*.js'
        ]),

        // list of files to exclude
        exclude: [],

        // test results reporter to use
        // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
        reporters: ['progress', 'coverage'],

        // coverage
        preprocessors: {
            // source files, that you wanna generate coverage for
            // do not include tests or libraries
            // (these files will be instrumented by Istanbul)
            'packages/*/public/controllers/*.js': ['coverage'],
            'packages/*/public/services/*.js': ['coverage']
        },

        coverageReporter: {
            type: 'html',
            dir: 'test/coverage/'
        },

        // web server port
        port: 9876,

        // enable / disable colors in the output (reporters and logs)
        colors: true,

        // level of logging
        // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
        logLevel: config.LOG_INFO,

        // enable / disable watching file and executing tests whenever any file changes
        autoWatch: true,

        // Start these browsers, currently available:
        // - Chrome
        // - ChromeCanary
        // - Firefox
{'fraction_non_alphanumeric': 0.12576762466224514, 'fraction_numerical': 0.0019651191353475803, 'mean_word_length': 1.8515406162464987, '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': '3043773', 'n_tokens_mistral': 1088, 'n_tokens_neox': 1041, 'n_words': 315}