<commit_before>var fs = require('fs');

module.exports = function(config) {


  // Browsers to run on TestingBot
  var customLaunchers = {
    'TB_Chrome': {
      base: 'TestingBot',
      browserName: 'chrome'
    },
    'TB_Firefox': {
      base: 'TestingBot',
      browserName: 'firefox'
    }
  };

  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'],


    // list of files / patterns to load in the browser
    files: [
      'src/*.js',
      'test/*.js'
    ],


    // test results reporter to use
    // possible values: 'dots', 'progress'
    // available reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['dots', 'testingbot'],


    // web server port
    port: 9876,

    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,

    testingBot: {
      name: 'Karma and TestingBot demo'
    },
    captureTimeout: 120000,
    customLaunchers: customLaunchers,

    browsers: Object.keys(customLaunchers),
    singleRun: true
  });
};<commit_msg>verbose connectOptions to debug travis build<commit_after>var fs = require('fs');

module.exports = function(config) {


  // Browsers to run on TestingBot
  var customLaunchers = {
    'TB_Chrome': {
      base: 'TestingBot',
      browserName: 'chrome'
    },
    'TB_Firefox': {
      base: 'TestingBot',
      browserName: 'firefox'
    }
  };

  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'],


    // list of files / patterns to load in the browser
    files: [
      'src/*.js',
      'test/*.js'
    ],


    // test results reporter to use
    // possible values: 'dots', 'progress'
    // available reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['dots', 'testingbot'],


    // web server port
    port: 4040,

    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,

    testingbot: {
      testName: 'Karma and TestingBot demo',
      recordScreenshots: false,
      connectOptions: {
        verbose: true,
        'se-port': 4445,
        logfile: 'testingbot_tunnel.log'
      },
      public: 'public'
    },
    captureTimeout: 120000,
    customLaunchers: customLaunchers,

    browsers: Object.keys(customLaunchers),
    singleRun: true
  });
};
{'fraction_non_alphanumeric': 0.1297924727400633, 'fraction_numerical': 0.008441786844882167, 'mean_word_length': 2.524163568773234, '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': '888458', 'n_tokens_mistral': 940, 'n_tokens_neox': 871, 'n_words': 226}