<commit_before>console.log('Hello Anton ;) 🐱');

var eventData = [
  {
    "date": "January 31st 2015",
    "name": "Cal Aggie Criterium"
  }
  // },{
  //   "date": "February 7th 2015",
  //   "name": "<NAME> Memorial Circuit Race and Team Time Trial"
  // },{
  //   "date": "February 8th 2015",
  //   "name": "RED KITE OMNIUM EVENT #1 - THE BUMP CIRCUIT RACE (WINTER)"
  // }
];
var disciplineData = ["Road", "MTB", "Track", "Cyclocross", "Clinic"];
var typeData = ["Road Race", "Criterium", "Cyclocross", "Time Trial", "Cross Country", "Cross Country Marathon", "Downhill", "Dual Slalom", "Short Track Cross Country", "Super D", "Points Race", "Scratch Race", "Individual Pursuit", "Sprint", "Keirin"];
var timeData = ["8:00 AM", "8:30 AM", "9:00 AM", "9:20 AM", "10:00 AM", "10:15 AM", "11:40 AM", "12:00 PM", "12:03 PM", "1:00 PM", "1:55 PM", "2:00 PM", "2:18 PM"];
var promoterData = ["2 Wheel Racing", "Alta Alpina Cycling Club", "Alto Velo", "AntiGravity Cycling", "Back of Nowhere Enterprises", "Berkeley Bicycle Club", "Bicycle Planet", "Bicycles Plus", 
"Bike Monkey", "Bike Station Aptos", "<NAME>", "B<NAME>", "Cal Aggie Cycling", "Cal Cycling", "California Giant Cycling Team", "CCCX (Central Coast Cyclocross)", "Central Sierra Cyclists", 
"Chico Corsa Cycling Club", "China Peak Mountain Resort"];
var streetData = ["Kearny Street", "Mission Street", "Polk Street", "Stockton Street", "Union Street", "Third Street", "22nd Street", "49-Mile Scenic Drive", "Alemany Boulevard", "Broadway", 
"Castro Street", "The Embarcadero", "Filbert Street", "Great Highway", "Haight Street", "Montgomery Street", "New Montgomery Street", "Octavia Boulevard", "Skyline Boulevard", "Vermont Street", "Howard Street"];
var cityData = ["Ross", "Sacramento", "St. Helena", "Salinas", "San Anselmo", "San Bernardino", "San Bruno", "San Carlos", "San Clemente", "San Diego", "San Dimas","San Fernando", "San Francisco", "San Gabriel", 
"San Jacinto", "San Joaquin", "San Jose", "San Juan Bautista", "San Juan Capistrano", "San Leandro"];

var fullEventData = eventData.map(function(element){
    var newObject = {
        id: "evt-" + getRandomNumber(1000, 9999),
        discipline: getRandomDiscipline(),
        type: getRandomType(),
        name: element.name,
        date: element.date,
        distanceMi: getRandomNumber(1, 200) + " Mi",
        durationMin: getRandomNumber(5, 180) + " Min",
        elevationGainFt: getRandomNumber(0, 2000) + " ft",
        startTime: getRandomTime(),
        promoter: getRandomPromoter(),
        location: {
            streetAddress: getRandomNumber(1, 1999) + " " + getRandomStreet(),
            city: getRandomCity(),
            state: "CA",
            zip: "9" + getRandomNumber(1000, 9999)
        },
        distanceToEventMi: getRandomNumber(1, 200) + " Mi",
        estimatedTravelTime: getRandomNumber(1, 5) + " h",
        flyerUrl: "http://www.ncnca.org/sites/default/files/01/01/2014%20-%202%3A29am/183%20San%20Bruno%20Mountain%20Hill%20Climb%20OKED%203.pdf",
        registrationUrl: "https://www.usacycling.org/register/2014-183"
    };
    return newObject;
});
console.log(fullEventData);

function getRandomNumber(startNumber, endNumber){
    return Math.floor((Math.random() * endNumber) + startNumber);
};
 
function getRandomDiscipline(){
    return disciplineData[getRandomNumber(0,disciplineData.length)];
};
function getRandomType(){
    return typeData[getRandomNumber(0,typeData.length)];
};
function getRandomTime(){
    return timeData[getRandomNumber(0,timeData.length)];
};
function getRandomPromoter(){
    return promoterData[getRandomNumber(0,promoterData.length)];
};
function getRandomStreet(){
    return streetData[getRandomNumber(0,streetData.length)];
};
function getRandomCity(){
    return cityData[getRandomNumber(0,cityData.length)];
}<commit_msg>made ID number longer, 8 digits<commit_after>console.log('Hello Anton ;) 🐱');

var eventData = [
  {
    "date": "January 31st 2015",
    "name": "Cal Aggie Criterium"
  }
  // },{
  //   "date": "February 7th 2015",
  //   "name": "<NAME> Memorial Circuit Race and Team Time Trial"
  // },{
  //   "date": "February 8th 2015",
  //   "name": "RED KITE OMNIUM EVENT #1 - THE BUMP CIRCUIT RACE (WINTER)"
  // }
];
var disciplineData = ["Road", "MTB", "Track", "Cyclocross", "Clinic"];
var typeData = ["Road Race", "Criterium", "Cyclocross", "Time Trial", "Cross Country", "Cross Country Marathon", "Downhill", "Dual Slalom", "Short Track Cross Country", "Super D", "Points Race", "Scratch Race", "Individual Pursuit", "Sprint", "Keirin"];
var timeData = ["8:00 AM", "8:30 AM", "9:00 AM", "9:20 AM", "10:00 AM", "10:15 AM", "11:40 AM", "12:00 PM", "12:03 PM", "1:00 PM", "1:55 PM", "2:00 PM", "2:18 PM"];
var promoterData = ["2 Wheel Racing", "Alta Alpina Cycling Club", "Alto Velo", "AntiGravity Cycling", "Back of Nowhere Enterprises", "Berkeley Bicycle Club", "Bicycle Planet", "Bicycles Plus", 
"Bike Monkey", "Bike Station Aptos", "<NAME>", "<NAME>", "Cal Aggie Cycling", "Cal Cycling", "California Giant Cycling Team", "CCCX (Central Coast Cyclocross)", "Central Sierra Cyclists", 
"Chico Corsa Cycling Club", "China Peak Mountain Resort"];
var streetData = ["Kearny Street", "Mission Street", "Polk Street", "Stockton Street", "Union Street", "Third Street", "22nd Street", "49-Mile Scenic Drive", "Alemany Boulevard", "Broadway", 
"Castro Street", "The Embarcadero", "Filbert Street", "Great Highway", "Haight Street", "Montgomery Street", "New Montgomery Street", "Octavia Boulevard", "Skyline Boulevard", "Vermont Street", "Howard Street"];
var cityData = ["Ross", "Sacramento", "St. Helena", "Salinas", "San Anselmo", "San Bernardino", "San Bruno", "San Carlos", "San Clemente", "San Diego", "San Dimas","San Fernando", "San Francisco", "<NAME>", 
"<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>"];

var fullEventData = eventData.map(function(element){
    var newObject = {
        id: "evt-" + getRandomNumber(10000000, 99999999),
        discipline: getRandomDiscipline(),
        type: getRandomType(),
        name: element.name,
        date: element.date,
        distanceMi: getRandomNumber(1, 200) + " Mi",
        durationMin: getRandomNumber(5, 180) + " Min",
        elevationGainFt: getRandomNumber(0, 2000) + " ft",
        startTime: getRandomTime(),
        promoter: getRandomPromoter(),
        location: {
            streetAddress: getRandomNumber(1, 1999) + " " + getRandomStreet(),
            city: getRandomCity(),
            state: "CA",
            zip: "9" + getRandomNumber(1000, 9999)
        },
        distanceToEventMi: getRandomNumber(1, 200) + " Mi",
        estimatedTravelTime: getRandomNumber(1, 5) + " h",
        flyerUrl: "http://www.ncnca.org/sites/default/files/01/01/2014%20-%202%3A29am/183%20San%20Bruno%20Mountain%20Hill%20Climb%20OKED%203.pdf",
        registrationUrl: "https://www.usacycling.org/register/2014-183"
    };
    return newObject;
});
console.log(fullEventData);

function getRandomNumber(startNumber, endNumber){
    return Math.floor((Math.random() * endNumber) + startNumber);
};
 
function getRandomDiscipline(){
    return disciplineData[getRandomNumber(0,disciplineData.length)];
};
function getRandomType(){
    return typeData[getRandomNumber(0,typeData.length)];
};
function getRandomTime(){
    return timeData[getRandomNumber(0,timeData.length)];
};
function getRandomPromoter(){
    return promoterData[getRandomNumber(0,promoterData.length)];
};
function getRandomStreet(){
    return streetData[getRandomNumber(0,streetData.length)];
};
function getRandomCity(){
    return cityData[getRandomNumber(0,cityData.length)];
}
{'fraction_non_alphanumeric': 0.16973735789886318, 'fraction_numerical': 0.041421664706650985, 'mean_word_length': 4.463240542469665, 'pattern_counts': {'":': 12, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '4545019', 'n_tokens_mistral': 2784, 'n_tokens_neox': 2452, 'n_words': 672}