<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 = {
  ////
  // Chrome
  ////

    ////
    // Windows OS
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows XP',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows 7',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows 8',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows 8.1',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows 10',
    },

    ////
    // Mac OSX
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X Mountain Lion 10.8',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X Mavericks 10.9',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X Yosemite 10.10',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X El Capitan 10.11',
    },

    ////
    // Mac OSX
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X Mountain Lion 10.8',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X Mavericks 10.9',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X Yosemite 10.10',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X El Capitan 10.11',
    },

    ////
    // Linux
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Linux',
    },

    ////
    // Apple iOS
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'iOS Simulator',
    },

    ////
    // Google Android
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Android 2.3',<commit_msg>updating mac testing platforms<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 = {
  ////
  // Chrome
  ////

    ////
    // Windows OS
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows XP',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows 7',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows 8',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows 8.1',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Windows 10',
    },

    ////
    // Mac OSX
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X 10.8',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X 10.9',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X 10.10',
    },
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'OS X 10.11',
    },

    ////
    // Linux
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Linux',
    },

    ////
    // Apple iOS
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'iOS',
    },

    ////
    // Google Android
    ////
    'SL_Chrome': {
      base: 'SauceLabs',
      browserName: 'chrome',
      platform: 'Android 2.3',
{'fraction_non_alphanumeric': 0.16859852476290832, 'fraction_numerical': 0.012644889357218124, 'mean_word_length': 1.8711433756805809, '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': '2079809', 'n_tokens_mistral': 1756, 'n_tokens_neox': 1666, 'n_words': 359}