<commit_before>
def send_keystroke(char):
	return "some data"<commit_msg>Inital commit<commit_after>
import os
import sys
import random
location = os.listdir("source")
myfile = random.sample(location, 1)[0]

with open("source/"+myfile) as thefile:
	content = thefile.read()

progress = 0
	 
def send_keystroke(tempo):
	global progress
	sys.stdout.write(content[progress:progress+tempo])
	sys.stdout.flush()
	progress = progress + tempo

def main():
	while True:
		raw_input()
		send_keystroke(random.randint(1, 10))


if __name__ == '__main__':
	main()
{'fraction_non_alphanumeric': 0.13043478260869565, 'fraction_numerical': 0.010869565217391304, 'mean_word_length': 5.7439024390243905, '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': '578625', 'n_tokens_mistral': 204, 'n_tokens_neox': 191, 'n_words': 46}