<commit_before>import subprocess
import sys
import re

genproc = subprocess.Popen('./environment -d 10 10 -q "python3 tests/ModBot.py" "python3 tests/ModBot.py" -s 1001', stdout=subprocess.PIPE, shell = True)
genlines = genproc.stdout.read().decode('utf-8').split('\n');

isGood = True

if genlines[3].split()[1] != "21" or genlines[4].split()[1] != "2" or genlines[5] != " ":
	print('General environment test failed. Environment output:\n#######################################################')
	print('\n'.join(genlines) + '\n#######################################################')
	isGood = False
else:
	print('General environment test succeeded.')

tieproc = subprocess.Popen('./environment -d 10 10 -q "python3 tests/TieEvalBot.py" "python3 tests/TieEvalBot.py" -s 100', stdout=subprocess.PIPE, shell = True)
tielines = tieproc.stdout.read().decode('utf-8').split('\n');

if tielines[3].split()[1] != "1" or tielines[4].split()[1] != "2" or tielines[5] != " ":
	print('Tie evaluation test failed. Environment output:\n#######################################################')
	print('\n'.join(tielines) + '\n#######################################################')
	isGood = False
else:<commit_msg>Removed intentional breakage in tests<commit_after>import subprocess
import sys
import re

genproc = subprocess.Popen('./environment -d 10 10 -q "python3 tests/ModBot.py" "python3 tests/ModBot.py" -s 1001', stdout=subprocess.PIPE, shell = True)
genlines = genproc.stdout.read().decode('utf-8').split('\n');

isGood = True

if genlines[3].split()[1] != "1" or genlines[4].split()[1] != "2" or genlines[5] != " ":
	print('General environment test failed. Environment output:\n#######################################################')
	print('\n'.join(genlines) + '\n#######################################################')
	isGood = False
else:
	print('General environment test succeeded.')

tieproc = subprocess.Popen('./environment -d 10 10 -q "python3 tests/TieEvalBot.py" "python3 tests/TieEvalBot.py" -s 100', stdout=subprocess.PIPE, shell = True)
tielines = tieproc.stdout.read().decode('utf-8').split('\n');

if tielines[3].split()[1] != "1" or tielines[4].split()[1] != "2" or tielines[5] != " ":
	print('Tie evaluation test failed. Environment output:\n#######################################################')
	print('\n'.join(tielines) + '\n#######################################################')
	isGood = False
else:
{'fraction_non_alphanumeric': 0.33894132129667626, 'fraction_numerical': 0.029134181370537547, 'mean_word_length': 6.277611940298508, 'pattern_counts': {'":': 4, '<': 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': '3193310', 'n_tokens_mistral': 779, 'n_tokens_neox': 746, 'n_words': 171}