<commit_before>var parseString = function(string) {
	if(typeof string !== 'string') {
	return null;
	}

	return string.split(";");
}

var parseArray = function(array) {
  if(typeof array !== 'object' || Object.prototype.toString.call(array) !== '[object Array]') {
    return null;
  }
  var stringImploded = '';

  var length = array.length;
  for (var i = 0; i < length; i++) {
      if(typeof array[i] !== 'string' || array[i].indexOf(";")  > -1) {
          throw "Error : " + typeof array[i] + array[i].indexOf(";");
      }
      stringImploded += i > 0 ? ';' : '';
      stringImploded += array[i];
  }
  return stringImploded;
}

exports.parseString = parseString;
exports.parseArray = parseArray;
<commit_msg>[TECH] the one where we correct the lint errors for the parser<commit_after>var parseString = function(string) {
	if(typeof string !== 'string') {
		return null;
	}

	return string.split(";");
};

var parseArray = function(array) {
	if(typeof array !== 'object' || Object.prototype.toString.call(array) !== '[object Array]') {
		return null;
	}
	var stringImploded = '';

	var length = array.length;
	for (var i = 0; i < length; i++) {
		if(typeof array[i] !== 'string' || array[i].indexOf(";")  > -1) {
			throw "Error : " + typeof array[i] + array[i].indexOf(";");
		}
		stringImploded += i > 0 ? ';' : '';
		stringImploded += array[i];
	}
	return stringImploded;
};

exports.parseString = parseString;
exports.parseArray 	= parseArray;

{'fraction_non_alphanumeric': 0.18531228551818807, 'fraction_numerical': 0.004118050789293068, 'mean_word_length': 3.703225806451613, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4787220', 'n_tokens_mistral': 512, 'n_tokens_neox': 494, 'n_words': 119}