<commit_before>'use strict';

// Call this function when the page loads (the "ready" event)
$(document).ready(function() {
	initializePage();
	setRandom();
})

/*
 * Function that is called when the document is ready.
 */
function initializePage() {
	$('.theChallenge').click(randomizeChallenge);
}

function randomizeChallenge(e)
{
  e.preventDefault();//prob not even needed, lol

	setRandom();

}

function set(){
    var challenges = Array(
        'Say hi to a random stranger.',
		'Ask a stranger a question.',
		'Complement a boy',
		'Act insane in front of people',
		'IDK, Figure it out yourself',
		'Complement a girl'
	);
	var challenge = challenges[Math.floor(Math.random()*challenges.length)];
    document.getElementById("chal").innerHTML = challenge;
}

function setRandom()
{
	var challenges = Array(
		'Say hi to a random stranger.',
		'Ask a stranger a question.',
		'Complement a boy',
		'Act insane in front of people',
		'IDK, Figure it out yourself',
		'Complement a girl'
	);
	var challenge = challenges[Math.floor(Math.random()*challenges.length)];

	$('.theChallenge').html(challenge);
    
}
<commit_msg>added some challenges. Not a lot tho, just some i thought of<commit_after>'use strict';

// Call this function when the page loads (the "ready" event)
$(document).ready(function() {
	initializePage();
	setRandom();
})

/*
 * Function that is called when the document is ready.
 */
function initializePage() {
	$('.theChallenge').click(randomizeChallenge);
}

function randomizeChallenge(e)
{
  e.preventDefault();//prob not even needed, lol

	setRandom();

}

function set(){
    var challenges = Array(
       	'Say hi to a random stranger.',
		'Ask a stranger a question.',
		'Complement a boy',
		'Ask a stranger where the is the closest restroom located',
		'Find out the name of a stranger you find attractive',
        'Give a stranger candy',
		'Do one good deed for someone you have never met',
        'Have a conversation with someone who is not one of your friends',
		'Give your sit to a stranger in public transport',
        'Offer food to a homeless man',
        'Buy a drink for a homeless man',
		'Complement a girl'
	);
	var challenge = challenges[Math.floor(Math.random()*challenges.length)];
    document.getElementById("chal").innerHTML = challenge;
}

function setRandom()
{
	var challenges = Array(
        'Say hi to a random stranger.',
		'Ask a stranger a question.',
		'Complement a boy',
		'Ask a stranger where the is the closest restroom located',
		'Find out the name of a stranger you find attractive',
        'Give a stranger candy',
		'Do one good deed for someone you have never met',
        'Have a conversation with someone who is not one of your friends',
		'Give your sit to a stranger in public transport',
        'Offer food to a homeless man',
        'Buy a drink for a homeless man',
		'Complement a girl'
	);
	var challenge = challenges[Math.floor(Math.random()*challenges.length)];

	$('.theChallenge').html(challenge);
    
}

{'fraction_non_alphanumeric': 0.118390422347855, 'fraction_numerical': 0.0, 'mean_word_length': 3.663565891472868, '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': '3599953', 'n_tokens_mistral': 931, 'n_tokens_neox': 858, 'n_words': 345}