<commit_before>// The test data is located in xpcshell.ini.
function loadTestData(callback) {
  var xhrreq = new XMLHttpRequest();
  xhrreq.onreadystatechange = function () {
    if (xhrreq.readyState == 4) {
      var lines = xhrreq.responseText.split("\n").filter(function (line) {
        return line[0] == '[' && line != "[DEFAULT]";
      }).map(function (line) {
        return line.slice(1, -1);
      });<commit_msg>On win32, it's \r\n for xpcshell.ini line ending.<commit_after>// The test data is located in xpcshell.ini.
function loadTestData(callback) {
  var xhrreq = new XMLHttpRequest();
  xhrreq.onreadystatechange = function () {
    if (xhrreq.readyState == 4) {
      var lines = xhrreq.responseText.split("\r\n").filter(function (line) {
        return line[0] == '[' && line != "[DEFAULT]";
      }).map(function (line) {
        return line.slice(1, -1);
      });
{'fraction_non_alphanumeric': 0.16591422121896163, 'fraction_numerical': 0.011286681715575621, 'mean_word_length': 3.125581395348837, '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': '1333375', 'n_tokens_mistral': 299, 'n_tokens_neox': 289, 'n_words': 71}