<commit_before>module.exports = function (grunt) {
  'use strict';

  function launcher (platform, browser, version) {
    var device = '';

    if (browser === 'iphone') {
      device = 'iPhone';
    }

    if (browser === 'android') {
      device = 'Android';
    }

    return {
      base: 'SauceLabs',
      platform: platform,
      browserName: browser,
      version: version && version.toString() || '',
      deviceName: device,
      'device-orientation': device ? 'portrait' : ''
    };
  }

  var browsers = grunt.option('browsers');
  var sauce = grunt.option('sauce');
  var customLaunchers = {
      chrome_37: launcher('Windows 8.1', 'chrome', 37),
      chrome_36: launcher('Windows 8.1', 'chrome', 36),

      firefox_32: launcher('Windows 8.1', 'firefox', 32),
      firefox_31: {launcher('Windows 8.1', 'firefox', 31),

      safari_7: launcher('OS X 10.9', 'safari', 7),
      safari_6: launcher('OS X 10.8', 'safari', 6),

      ios_safari_7_1: launcher('OS X 10.9', 'iphone', 7.1),
      ios_safari_7: launcher('OS X 10.9', 'iphone', 7),
      ios_safari_6_1: launcher('OS X 10.8', 'iphone', 6.1),
      ios_safari_6: launcher('OS X 10.8', 'iphone', 6),

      ie_11: launcher('Windows 8.1', 'internet explorer', 11),
      ie_10: launcher('Windows 8', 'internet explorer', 10),
      ie_9: launcher('Windows 7', 'internet explorer', 9)
    };

  if (sauce) {
    browsers = Object.keys(customLaunchers);
  } else if (browsers) {
    browsers = browsers.split(',');
  } else {<commit_msg>Syntax error in test config.<commit_after>module.exports = function (grunt) {
  'use strict';

  function launcher (platform, browser, version) {
    var device = '';

    if (browser === 'iphone') {
      device = 'iPhone';
    }

    if (browser === 'android') {
      device = 'Android';
    }

    return {
      base: 'SauceLabs',
      platform: platform,
      browserName: browser,
      version: version && version.toString() || '',
      deviceName: device,
      'device-orientation': device ? 'portrait' : ''
    };
  }

  var browsers = grunt.option('browsers');
  var sauce = grunt.option('sauce');
  var customLaunchers = {
      chrome_37: launcher('Windows 8.1', 'chrome', 37),
      chrome_36: launcher('Windows 8.1', 'chrome', 36),

      firefox_32: launcher('Windows 8.1', 'firefox', 32),
      firefox_31: launcher('Windows 8.1', 'firefox', 31),

      safari_7: launcher('OS X 10.9', 'safari', 7),
      safari_6: launcher('OS X 10.8', 'safari', 6),

      ios_safari_7_1: launcher('OS X 10.9', 'iphone', 7.1),
      ios_safari_7: launcher('OS X 10.9', 'iphone', 7),
      ios_safari_6_1: launcher('OS X 10.8', 'iphone', 6.1),
      ios_safari_6: launcher('OS X 10.8', 'iphone', 6),

      ie_11: launcher('Windows 8.1', 'internet explorer', 11),
      ie_10: launcher('Windows 8', 'internet explorer', 10),
      ie_9: launcher('Windows 7', 'internet explorer', 9)
    };

  if (sauce) {
    browsers = Object.keys(customLaunchers);
  } else if (browsers) {
    browsers = browsers.split(',');
  } else {
{'fraction_non_alphanumeric': 0.17357001972386588, 'fraction_numerical': 0.047337278106508875, 'mean_word_length': 3.0145118733509233, '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': '2093434', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1085, 'n_words': 262}