<commit_before>import socket

client = socket.create_connection(("localhost", 8675))

while True:
	line = client.recv(1024)
	print line.replace("\n", "")<commit_msg>repl completed, testing for win<commit_after>import socket

client = socket.create_connection(("192.168.1.148", 8675)) # to connect back to home to $nc -l -p 8675

def reply(str):
	client.send(str + "\n")

while True: # <-----------------------+
	line = client.recv(1024) #read    |
	cmd = line.replace("\n", "") #    |
	print "==>", cmd #eval/exec       |
	exec(cmd) #                       |
	# print result #print               | # apparently no print
	# reply(result) #                   |
	# loop ---------------------------+
{'fraction_non_alphanumeric': 0.218705035971223, 'fraction_numerical': 0.04316546762589928, 'mean_word_length': 2.0933333333333333, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '6909174', 'n_tokens_mistral': 234, 'n_tokens_neox': 209, 'n_words': 53}