<commit_before>const CapabilityRunner = require("./CapabilityRunner");

const username = process.env.SAUCE_USERNAME;
const accessKey = process.env.SAUCE_ACCESS_KEY;

if (!username) {
  console.error(
    "You need Sauce Labs access to run these specs, if you're a Palindrom org member, please contact @alshakero for this information, if not you need to add your own SauceLabs auth info to your system environment variables."
  );
  process.exit(1);
  
} else {
  const allCaps = [
    {
      browserName: "chrome",
      platform: "Windows 10",
      version: "59.0",
      username: username,
      accessKey: accessKey,
      name: "Chrome: Running tests",
      "tunnel-identifier": process.env.TRAVIS_JOB_NUMBER
    },
    {
      browserName: "firefox",
      platform: "Windows 10",
      version: "54.0",
      username: username,
      accessKey: accessKey,
      name: "Firefox: Running tests",
      "tunnel-identifier": process.env.TRAVIS_JOB_NUMBER
    },
    {
      browserName: "MicrosoftEdge",
      platform: "Windows 10",
      version: "15.15063",
      username: username,
      accessKey: accessKey,
      name: "MicrosoftEdge: Running tests",
      "tunnel-identifier": process.env.TRAVIS_JOB_NUMBER
    }
  ];

  const runTestsInChrome = CapabilityRunner(allCaps[0]);
  const runTestsInFirefox = CapabilityRunner(allCaps[1]);
  const runTestsInEdge = CapabilityRunner(allCaps[2]);

  Promise.all([runTestsInEdge, runTestsInChrome, runTestsInFirefox])
    .then(() => {
      console.log("Done!");
      process.exit(0);
    })
    .catch(error => {
      console.log(error);
      process.exit(1);
    });
}<commit_msg>Use latest browsers versions in Sauce config<commit_after>const CapabilityRunner = require("./CapabilityRunner");

const username = process.env.SAUCE_USERNAME;
const accessKey = process.env.SAUCE_ACCESS_KEY;

if (!username) {
  console.error(
    "You need Sauce Labs access to run these specs, if you're a Palindrom org member, please contact @alshakero for this information, if not you need to add your own SauceLabs auth info to your system environment variables."
  );
  process.exit(1);
  
} else {
  const allCaps = [
    {
      browserName: "chrome",
      platform: "Windows 10",
      username: username,
      accessKey: accessKey,
      name: "Chrome: Running tests",
      "tunnel-identifier": process.env.TRAVIS_JOB_NUMBER
    },
    {
      browserName: "firefox",
      platform: "Windows 10",
      username: username,
      accessKey: accessKey,
      name: "Firefox: Running tests",
      "tunnel-identifier": process.env.TRAVIS_JOB_NUMBER
    },
    {
      browserName: "MicrosoftEdge",
      platform: "Windows 10",
      username: username,
      accessKey: accessKey,
      name: "MicrosoftEdge: Running tests",
      "tunnel-identifier": process.env.TRAVIS_JOB_NUMBER
    }
  ];

  const runTestsInChrome = CapabilityRunner(allCaps[0]);
  const runTestsInFirefox = CapabilityRunner(allCaps[1]);
  const runTestsInEdge = CapabilityRunner(allCaps[2]);

  Promise.all([runTestsInEdge, runTestsInChrome, runTestsInFirefox])
    .then(() => {
      console.log("Done!");
      process.exit(0);
    })
    .catch(error => {
      console.log(error);
      process.exit(1);
    });
}
{'fraction_non_alphanumeric': 0.11806411837237978, 'fraction_numerical': 0.011405672009864365, 'mean_word_length': 3.2252604166666665, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 7, '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': '3702091', 'n_tokens_mistral': 1037, 'n_tokens_neox': 1001, 'n_words': 244}