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

module.exports = function(config) {

  // Use ENV vars on Drone and sauce.json locally to get credentials
  if (!process.env.SAUCE_USERNAME) {
    if (!fs.existsSync('sauce.json')) {
      console.log('Create a sauce.json with your credentials based on the sauce-sample.json file.');
      process.exit(1);
    } else {
      process.env.SAUCE_USERNAME = require('./sauce').username;
      process.env.SAUCE_ACCESS_KEY = require('./sauce').accessKey;
    }
  }

  // Browsers to run on Sauce Labs
  var customLaunchers = {
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome'
    },
    'SL_FireFox': {
      base: 'SauceLabs',
      browserName: 'firefox',
    },
    'SL_Safari': {
      base: 'SauceLabs',
      browserName: 'safari',
    },
    'SL_Opera': {
      base: 'SauceLabs',
      browserName: 'opera',
    },
    'SL_InternetExplorer': {
      base: 'SauceLabs',
      browserName: 'internet explorer',
      version: '10'
    },
    'SL_Edge': {
      base: 'SauceLabs',
      browserName: 'microsoftedge'
    },
    'SL_IPhone': {
      base: 'SauceLabs',
      browserName: 'iPhone'
    },
    'SL_Android': {
      base: 'SauceLabs',
      browserName: 'android'
    },
    'SL_IPad': {
      base: 'SauceLabs',
      browserName: 'iPad'
    }
  };

  config.set({

    sauceLabs: {
      testName: 'ClientJS'
    },

    // 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',
      'specs/**/*.js'
    ],

    // test results reporter to use
    // possible values: 'dots', 'progress'
    // available reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['progress', 'coverage', 'saucelabs'],
    preprocessors: {
      'src/**/*.js': ['coverage']
    },
<commit_msg>testing windows by removing coverage<commit_after>var fs = require('fs');

module.exports = function(config) {

  // Use ENV vars on Drone and sauce.json locally to get credentials
  if (!process.env.SAUCE_USERNAME) {
    if (!fs.existsSync('sauce.json')) {
      console.log('Create a sauce.json with your credentials based on the sauce-sample.json file.');
      process.exit(1);
    } else {
      process.env.SAUCE_USERNAME = require('./sauce').username;
      process.env.SAUCE_ACCESS_KEY = require('./sauce').accessKey;
    }
  }

  // Browsers to run on Sauce Labs
  var customLaunchers = {
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome'
    },
    'SL_FireFox': {
      base: 'SauceLabs',
      browserName: 'firefox',
    },
    'SL_Safari': {
      base: 'SauceLabs',
      browserName: 'safari',
    },
    'SL_Opera': {
      base: 'SauceLabs',
      browserName: 'opera',
    },
    'SL_InternetExplorer': {
      base: 'SauceLabs',
      browserName: 'internet explorer',
      version: '10'
    },
    'SL_Edge': {
      base: 'SauceLabs',
      browserName: 'microsoftedge'
    },
    'SL_IPhone': {
      base: 'SauceLabs',
      browserName: 'iPhone'
    },
    'SL_Android': {
      base: 'SauceLabs',
      browserName: 'android'
    },
    'SL_IPad': {
      base: 'SauceLabs',
      browserName: 'iPad'
    }
  };

  config.set({

    sauceLabs: {
      testName: 'ClientJS'
    },

    // 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',
      'specs/**/*.js'
    ],

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

{'fraction_non_alphanumeric': 0.15238571071696227, 'fraction_numerical': 0.0014988758431176618, 'mean_word_length': 2.398981324278438, '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': '300011', 'n_tokens_mistral': 1410, 'n_tokens_neox': 1365, 'n_words': 300}