<commit_before>
var failures;
var failreport;
var execreport;
var starttime;
var failcount = 0;
var tests = new Array();
var parallel = false;
var batch = 1;

// tests[tests.length] = { code:"voidParam", data:null };

tests[tests.length] = { code:"waitFor", data:1000 };
tests[tests.length] = { code:"waitFor", data:5000 };
tests[tests.length] = { code:"waitFor", data:10000 };

tests[tests.length] = { code:"booleanParam", data:true };
tests[tests.length] = { code:"booleanParam", data:false };

tests[tests.length] = { code:"byteParam", data:-128 };
tests[tests.length] = { code:"byteParam", data:-1 };
tests[tests.length] = { code:"byteParam", data:0 };
tests[tests.length] = { code:"byteParam", data:1 };
tests[tests.length] = { code:"byteParam", data:127 };

tests[tests.length] = { code:"shortParam", data:-32768 };
tests[tests.length] = { code:"shortParam", data:-1 };
tests[tests.length] = { code:"shortParam", data:0 };
tests[tests.length] = { code:"shortParam", data:1 };
tests[tests.length] = { code:"shortParam", data:32767 };

tests[tests.length] = { code:"intParam", data:-2147483648 };
tests[tests.length] = { code:"intParam", data:-1 };
tests[tests.length] = { code:"intParam", data:0 };
tests[tests.length] = { code:"intParam", data:1 };
tests[tests.length] = { code:"intParam", data:2147483647 };

// Mozilla rounds 9223372036854775808 to 9223372036854776000 which overflows so we round down
tests[tests.length] = { code:"longParam", data:-9223372036854775000 };
tests[tests.length] = { code:"longParam", data:-1 };
tests[tests.length] = { code:"longParam", data:0 };
tests[tests.length] = { code:"longParam", data:1 };
tests[tests.length] = { code:"longParam", data:9223372036854775000 };

tests[tests.length] = { code:"floatParam", data:-100000000000000000000 };
tests[tests.length] = { code:"floatParam", data:-1 };
tests[tests.length] = { code:"floatParam", data:0 };
tests[tests.length] = { code:"floatParam", data:1 };
tests[tests.length] = { code:"floatParam", data:100000000000000000000 };

tests[tests.length] = { code:"doubleParam", data:-100000000000000000000 };
tests[tests.length] = { code:"doubleParam", data:-1 };
tests[tests.length] = { code:"doubleParam", data:0 };
tests[tests.length] = { code:"doubleParam", data:1 };
tests[tests.length] = { code:"doubleParam", data:100000000000000000000 };

tests[tests.length] = { code:"bigDecimalParam", data:-100000000000000000000 };
tests[tests.length] = { code:"bigDecimalParam", data:-1 };
tests[tests.length] = { code:"bigDecimalParam", data:0 };
tests[tests.length] = { code:"bigDecimalParam", data:1 };
tests[tests.length] = { code:"bigDecimalParam", data:100000000000000000000 };

tests[tests.length] = { code:"bigIntegerParam", data:-100000000000000000000 };
tests[tests.length] = { code:"bigIntegerParam", data:-1 };
tests[tests.length] = { code:"bigIntegerParam", data:0 };
tests[tests.length] = { code:"bigIntegerParam", data:1 };
tests[tests.length] = { code:"bigIntegerParam", data:100000000000000000000 };

// Opera 8 has issues with this one. It appears to not like \0
tests[tests.length] = { code:"charParam", data:"\0" };
tests[tests.length] = { code:"charParam", data:"\t" };
tests[tests.length] = { code:"charParam", data:"\n" };
tests[tests.length] = { code:"charParam", data:"\v" };
tests[tests.length] = { code:"charParam", data:"\f" };
tests[tests.length] = { code:"charParam", data:"\r" };
tests[tests.length] = { code:"charParam", data:"\x07" };

tests[tests.length] = { code:"charParam", data:" " };
tests[tests.length] = { code:"charParam", data:"!" };
tests[tests.length] = { code:"charParam", data:'"' };
tests[tests.length] = { code:"charParam", data:"#" };
tests[tests.length] = { code:"charParam", data:"$" };
tests[tests.length] = { code:"charParam", data:"%" };
tests[tests.length] = { code:"charParam", data:"&" };
tests[tests.length] = { code:"charParam", data:"'" }; // double escape because it is evaled twice
tests[tests.length] = { code:"charParam", data:"(" };
tests[tests.length] = { code:"charParam", data:")" };
tests[tests.length] = { code:"charParam", data:"*" };
tests[tests.length] = { code:"charParam", data:"+" };
tests[tests.length] = { code:"charParam", data:"," };
tests[tests.length] = { code:"charParam", data:"-" };
tests[tests.length] = { code:"charParam", data:"." };
tests[tests.length] = { code:"charParam", data:"/" };
tests[tests.length] = { code:"charParam", data:"0" };
tests[tests.length] = { code:"charParam", data:"9" };
tests[tests.length] = { code:"charParam", data:":" };
tests[tests.length] = { code:"charParam", data:";" };
tests[tests.length] = { code:"charParam", data:"<" };
tests[tests.length] = { code:"charParam", data:"=" };
tests[tests.length] = { code:"charParam", data:">" };<commit_msg>Is this a valuable test? it's borken on opera, so it's not portable code anyway<commit_after>
var failures;
var failreport;
var execreport;
var starttime;
var failcount = 0;
var tests = new Array();
var parallel = false;
var batch = 1;

// tests[tests.length] = { code:"voidParam", data:null };

tests[tests.length] = { code:"waitFor", data:1000 };
tests[tests.length] = { code:"waitFor", data:5000 };
tests[tests.length] = { code:"waitFor", data:10000 };

tests[tests.length] = { code:"booleanParam", data:true };
tests[tests.length] = { code:"booleanParam", data:false };

tests[tests.length] = { code:"byteParam", data:-128 };
tests[tests.length] = { code:"byteParam", data:-1 };
tests[tests.length] = { code:"byteParam", data:0 };
tests[tests.length] = { code:"byteParam", data:1 };
tests[tests.length] = { code:"byteParam", data:127 };

tests[tests.length] = { code:"shortParam", data:-32768 };
tests[tests.length] = { code:"shortParam", data:-1 };
tests[tests.length] = { code:"shortParam", data:0 };
tests[tests.length] = { code:"shortParam", data:1 };
tests[tests.length] = { code:"shortParam", data:32767 };

tests[tests.length] = { code:"intParam", data:-2147483648 };
tests[tests.length] = { code:"intParam", data:-1 };
tests[tests.length] = { code:"intParam", data:0 };
tests[tests.length] = { code:"intParam", data:1 };
tests[tests.length] = { code:"intParam", data:2147483647 };

// Mozilla rounds 9223372036854775808 to 9223372036854776000 which overflows so we round down
tests[tests.length] = { code:"longParam", data:-9223372036854775000 };
tests[tests.length] = { code:"longParam", data:-1 };
tests[tests.length] = { code:"longParam", data:0 };
tests[tests.length] = { code:"longParam", data:1 };
tests[tests.length] = { code:"longParam", data:9223372036854775000 };

tests[tests.length] = { code:"floatParam", data:-100000000000000000000 };
tests[tests.length] = { code:"floatParam", data:-1 };
tests[tests.length] = { code:"floatParam", data:0 };
tests[tests.length] = { code:"floatParam", data:1 };
tests[tests.length] = { code:"floatParam", data:100000000000000000000 };

tests[tests.length] = { code:"doubleParam", data:-100000000000000000000 };
tests[tests.length] = { code:"doubleParam", data:-1 };
tests[tests.length] = { code:"doubleParam", data:0 };
tests[tests.length] = { code:"doubleParam", data:1 };
tests[tests.length] = { code:"doubleParam", data:100000000000000000000 };

tests[tests.length] = { code:"bigDecimalParam", data:-100000000000000000000 };
tests[tests.length] = { code:"bigDecimalParam", data:-1 };
tests[tests.length] = { code:"bigDecimalParam", data:0 };
tests[tests.length] = { code:"bigDecimalParam", data:1 };
tests[tests.length] = { code:"bigDecimalParam", data:100000000000000000000 };

tests[tests.length] = { code:"bigIntegerParam", data:-100000000000000000000 };
tests[tests.length] = { code:"bigIntegerParam", data:-1 };
tests[tests.length] = { code:"bigIntegerParam", data:0 };
tests[tests.length] = { code:"bigIntegerParam", data:1 };
tests[tests.length] = { code:"bigIntegerParam", data:100000000000000000000 };

// Opera 8 has issues with this one. It appears to not like \0
//tests[tests.length] = { code:"charParam", data:"\0" };
tests[tests.length] = { code:"charParam", data:"\t" };
tests[tests.length] = { code:"charParam", data:"\n" };
tests[tests.length] = { code:"charParam", data:"\v" };
tests[tests.length] = { code:"charParam", data:"\f" };
tests[tests.length] = { code:"charParam", data:"\r" };
tests[tests.length] = { code:"charParam", data:"\x07" };

tests[tests.length] = { code:"charParam", data:" " };
tests[tests.length] = { code:"charParam", data:"!" };
tests[tests.length] = { code:"charParam", data:'"' };
tests[tests.length] = { code:"charParam", data:"#" };
tests[tests.length] = { code:"charParam", data:"$" };
tests[tests.length] = { code:"charParam", data:"%" };
tests[tests.length] = { code:"charParam", data:"&" };
tests[tests.length] = { code:"charParam", data:"'" }; // double escape because it is evaled twice
tests[tests.length] = { code:"charParam", data:"(" };
tests[tests.length] = { code:"charParam", data:")" };
tests[tests.length] = { code:"charParam", data:"*" };
tests[tests.length] = { code:"charParam", data:"+" };
tests[tests.length] = { code:"charParam", data:"," };
tests[tests.length] = { code:"charParam", data:"-" };
tests[tests.length] = { code:"charParam", data:"." };
tests[tests.length] = { code:"charParam", data:"/" };
tests[tests.length] = { code:"charParam", data:"0" };
tests[tests.length] = { code:"charParam", data:"9" };
tests[tests.length] = { code:"charParam", data:":" };
tests[tests.length] = { code:"charParam", data:";" };
tests[tests.length] = { code:"charParam", data:"<" };
tests[tests.length] = { code:"charParam", data:"=" };
tests[tests.length] = { code:"charParam", data:">" };
{'fraction_non_alphanumeric': 0.21871075763917958, 'fraction_numerical': 0.06822938467978233, 'mean_word_length': 6.3458877786318215, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 16, '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': '624609', 'n_tokens_mistral': 3608, 'n_tokens_neox': 3151, 'n_words': 576}