<commit_before>'use strict';

require('dotenv').config();

const path = require('path');
const wd = require('wd');
const denodeify = require('denodeify');
const readFile = denodeify(require('graceful-fs').readFile);
const writeFile = denodeify(require('graceful-fs').writeFile);
const testResultsPath = path.join(__dirname, '../../test/results');
const testResultsFile = path.join(testResultsPath, 'results.json');
const mkdirp = denodeify(require('mkdirp'));
const argv = require('minimist')(process.argv.slice(2));
const cli = require('cli-color');
const pollTick = 1000;
const testBrowserTimeout = 60000;
const testProvider = require('./' + ((['browserstack', 'saucelabs'].includes(argv.provider) && argv.provider) || 'browserstack'));


const browserSets = {
	"quick": [
		'chrome/58',
		'firefox/53',
		'ie/15',
		'ie/11',
		'ie/8',
		'android/4.4',
		'safari/10',
	],
	"ci": [
		'chrome/58',
		'chrome/48',
		'firefox/53',
		'firefox/49',
		'firefox/44',
		'ie/15',
		'ie/13',
		'ie/11',
		'ie/10',
		'ie/9',
		'ie/8',
		'ie/7',
		'safari/10',
		'safari/9',
		'safari/8',
		'android/4.4'
	],
	"full": [
		'chrome/58',
		'chrome/48',
		'chrome/46',
		'chrome/42',
		'chrome/40',
		'chrome/35',
		'firefox/53',
		'firefox/49',
		'firefox/44',
		'firefox/42',
		'firefox/41',
		'firefox/33',
		'firefox/30',
		'ie/15',
		'ie/14',
		'ie/13',
		'ie/11',
		'ie/10',
		'ie/9',
		'ie/8',
		'ie/7',
		'safari/10',
		'safari/9',
		'safari/8',
		'safari/7',
		'safari/6',
		'safari/5.1',
		'android/7.1',
		'android/7',
		'android/6',
		'android/5.1',
		'android/5',
		'android/4.4',
		'android/4.3',
		'android/4.2',
		'ios_saf/10.3',
		'ios_saf/9.1',
		'ios_saf/8',<commit_msg>Do not run compat test on android 4.3 or 4.2 as they are not working correctly on browserstack (#1226)<commit_after>'use strict';

require('dotenv').config();

const path = require('path');
const wd = require('wd');
const denodeify = require('denodeify');
const readFile = denodeify(require('graceful-fs').readFile);
const writeFile = denodeify(require('graceful-fs').writeFile);
const testResultsPath = path.join(__dirname, '../../test/results');
const testResultsFile = path.join(testResultsPath, 'results.json');
const mkdirp = denodeify(require('mkdirp'));
const argv = require('minimist')(process.argv.slice(2));
const cli = require('cli-color');
const pollTick = 1000;
const testBrowserTimeout = 60000;
const testProvider = require('./' + ((['browserstack', 'saucelabs'].includes(argv.provider) && argv.provider) || 'browserstack'));


const browserSets = {
	"quick": [
		'chrome/58',
		'firefox/53',
		'ie/15',
		'ie/11',
		'ie/8',
		'android/4.4',
		'safari/10',
	],
	"ci": [
		'chrome/58',
		'chrome/48',
		'firefox/53',
		'firefox/49',
		'firefox/44',
		'ie/15',
		'ie/13',
		'ie/11',
		'ie/10',
		'ie/9',
		'ie/8',
		'ie/7',
		'safari/10',
		'safari/9',
		'safari/8',
		'android/4.4'
	],
	"full": [
		'chrome/58',
		'chrome/48',
		'chrome/46',
		'chrome/42',
		'chrome/40',
		'chrome/35',
		'firefox/53',
		'firefox/49',
		'firefox/44',
		'firefox/42',
		'firefox/41',
		'firefox/33',
		'firefox/30',
		'ie/15',
		'ie/14',
		'ie/13',
		'ie/11',
		'ie/10',
		'ie/9',
		'ie/8',
		'ie/7',
		'safari/10',
		'safari/9',
		'safari/8',
		'safari/7',
		'safari/6',
		'safari/5.1',
		'android/7.1',
		'android/7',
		'android/6',
		'android/5.1',
		'android/5',
		'android/4.4',
		// 'android/4.3', // Not working correctly on BrowserStack or SauceLabs
		// 'android/4.2', // Not working correctly on BrowserStack or SauceLabs
		'ios_saf/10.3',
		'ios_saf/9.1',
		'ios_saf/8',
{'fraction_non_alphanumeric': 0.23401858631371444, 'fraction_numerical': 0.06758659532526048, 'mean_word_length': 3.6189856957087128, 'pattern_counts': {'":': 6, '<': 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': '3678118', 'n_tokens_mistral': 1754, 'n_tokens_neox': 1513, 'n_words': 259}