<commit_before>var path = require('path')

module.exports = function(config) {
  config.set({
    basePath: path.resolve(__dirname, '../public'),

    // frameworks: https://npmjs.org/browse/keyword/karma-adapter
    frameworks: ['mocha', 'sinon', 'chai', 'browserify', 'detectBrowsers'],

    files: [
      'app.js',
      path.resolve(__dirname, '../tests/helpers/browser.js'),
      'tests/*.js',
      {pattern: 'index.html', include: false},
      {pattern: 'css/**/*.css', include: false}
      //{pattern: 'css/**/*.ttf', watched:false, include: false}
    ],

    exclude: [],

    // preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
    preprocessors: {
      '../tests/helpers/browser.js': ['browserify']
    },

    proxies: {
      '/app.js': '/base/app.js',
      '/index.html': '/base/index.html'
    },

    // possible values: 'dots', 'progress'
    // reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['mocha'],
    port: 9876,
    colors: true,

    // possible values: LOG_{DISABLE,ERROR,WARN,INFO,DEBUG}
    logLevel: config.LOG_INFO,

    autoWatch: process.env.CI !== 'true',

    // launchers: https://npmjs.org/browse/keyword/karma-launcher
    browsers: ['Chrome', 'Firefox'],

    detectBrowsers: {
      enabled: process.env.CI !== 'true',
      usePhantomJS: false
    },

    plugins: [
      'karma-mocha',
      'karma-mocha-reporter',
      'karma-sinon',
      'karma-chai',
      'karma-browserify',
      'karma-chrome-launcher',
      'karma-firefox-launcher',
      'karma-safari-launcher',
      'karma-ie-launcher',
      'karma-edge-launcher',
      'karma-detect-browsers'
    ],

    singleRun: process.env.CI === 'true' ||
      process.env.KARMA_SINGLE_RUN == 'true',

    concurrency: Infinity
  })
}
<commit_msg>test: Update Karma plugins config<commit_after>var path = require('path')

module.exports = function(config) {
  config.set({
    basePath: path.resolve(__dirname, '../public'),

    // frameworks: https://npmjs.org/browse/keyword/karma-adapter
    frameworks: ['mocha', 'sinon', 'chai', 'browserify', 'detectBrowsers'],

    files: [
      'app.js',
      path.resolve(__dirname, '../tests/helpers/browser.js'),
      'tests/*.js',
      {pattern: 'index.html', include: false},
      {pattern: 'css/**/*.css', include: false}
      //{pattern: 'css/**/*.ttf', watched:false, include: false}
    ],

    exclude: [],

    // preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
    preprocessors: {
      '../tests/helpers/browser.js': ['browserify']
    },

    proxies: {
      '/app.js': '/base/app.js',
      '/index.html': '/base/index.html'
    },

    // possible values: 'dots', 'progress'
    // reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['mocha'],
    port: 9876,
    colors: true,

    // possible values: LOG_{DISABLE,ERROR,WARN,INFO,DEBUG}
    logLevel: config.LOG_INFO,

    autoWatch: process.env.CI !== 'true',

    // launchers: https://npmjs.org/browse/keyword/karma-launcher
    browsers: ['Chrome', 'Firefox'],

    detectBrowsers: {
      enabled: process.env.CI !== 'true',
      usePhantomJS: false
    },

    plugins: [ 'karma-*' ],

    singleRun: process.env.CI === 'true' ||
      process.env.KARMA_SINGLE_RUN == 'true',

    concurrency: Infinity
  })
}

{'fraction_non_alphanumeric': 0.18937575030012005, 'fraction_numerical': 0.0024009603841536613, 'mean_word_length': 2.7115812917594653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '3787251', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1129, 'n_words': 186}