<commit_before>import pygame
import particle

background_color = (255, 255, 255)
(width, height) = (300, 200)

def main():
	screen = pygame.display.set_mode((width, height))
	pygame.display.set_caption("Tutorial 2")
	screen.fill(background_color)

	myparticle = particle.Particle(screen, (150, 100), 15)
	myparticle.display()

	pygame.display.flip()

	running = True
	while running:
		for event in pygame.event.get():
			if event.type == pygame.QUIT:
				running = False

if __name__ == '__main__':
	main()<commit_msg>Tutorial 3 - Adding Randomness<commit_after>import random
import pygame
import particle


background_color = (255, 255, 255)
(width, height) = (300, 200)

def main():
	screen = pygame.display.set_mode((width, height))
	pygame.display.set_caption("Tutorial 3")
	screen.fill(background_color)

	num_particles = 10;
	my_particles = []

	for n in range(num_particles):
		size = random.randint(10, 20)
		x = random.randint(size, width-size)
		y = random.randint(size, height-size)
		my_particles.append(particle.Particle(screen, (x, y), size))
	for my_particle in my_particles:
		my_particle.display()

	pygame.display.flip()

	running = True
	while running:
		for event in pygame.event.get():
			if event.type == pygame.QUIT:
				running = False

if __name__ == '__main__':
	main()
{'fraction_non_alphanumeric': 0.13204633204633204, 'fraction_numerical': 0.036293436293436294, 'mean_word_length': 4.684210526315789, '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': '838389', 'n_tokens_mistral': 530, 'n_tokens_neox': 452, 'n_words': 111}