<commit_before>
//var linkify =
//(function(){
   String.prototype.trim =
      (function () {return this.replace(/^\s+/, "").replace(/\s+$/, "");});
   var invalidDate = new Date("invalid").toString();
   var billingfields= {};
   var statusfields = [];
   function dateToUnixEpoch(date){
      return Math.round(date.getTime()/1000) - (60 * date.getTimezoneOffset());
   }
   function makeDate(val) {
      try{
	 var d = Date.parse(val);
      }
      catch(e){
	 d = invalidDate;
      }
      if(d.toString == invalidDate){
	 alert("You entered an invalid "+name);
	 return null;
      }
      return d;
   }
   function addBillingField( name /*optional type defaults to "textbox", optional flag status*/ ){
      var type = arguments.length >= 1 ? arguments[1] : "textbox";<commit_msg>got it alerting invalid dates re #6229<commit_after>
//var linkify =
//(function(){
   String.prototype.trim =
      (function () {return this.replace(/^\s+/, "").replace(/\s+$/, "");});
   var invalidDate = new Date("invalid").toString();
   var billingfields= {};
   var statusfields = [];
   function dateToUnixEpoch(date){
      return Math.round(date.getTime()/1000) - (60 * date.getTimezoneOffset());
   }
   function makeDate(val) {
      try{
	 var d = Date.parse(val);
      }
      catch(e){
	 d = invalidDate;
      }
      if(!d || d.toString == invalidDate){
	 alert("You entered an invalid date: "+val);
	 return null;
      }
      return d;
   }
   function addBillingField( name /*optional type defaults to "textbox", optional flag status*/ ){
      var type = arguments.length >= 1 ? arguments[1] : "textbox";
{'fraction_non_alphanumeric': 0.16872682323856614, 'fraction_numerical': 0.012360939431396786, 'mean_word_length': 2.891826923076923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2131654', 'n_tokens_mistral': 518, 'n_tokens_neox': 495, 'n_words': 127}