<commit_before># -*- coding: utf-8 *-*
import Model
import Communication
import Game
import Logic
import Common
import sys


if __name__ == "__main__":
	# Define the server address
	if len(sys.argv) == 3:
		HOST, PORT = str(sys.argv[1]), int(sys.argv[2])
	else:
		HOST, PORT = "localhost", 23456

	print(HOST, PORT)

	# Create server object
	server = Communication.Server((HOST, PORT), Communication.RequestHandler)
	ip, port = server.server_address
	Common.consoleMessage('Server started!')

	# Run requestQueryChecker
	requestQueryChecker = Communication.RequestQueryChecker()
	requestQueryChecker.isRunning = True
	requestQueryChecker.start()

	# And serve... forever!
	try:
		server.serve_forever()
	except KeyboardInterrupt: # When Ctrl+C is hit
		Common.consoleMessage('Shutting down server.')
		requestQueryChecker.isRunning = False
<commit_msg>Wyrzucona linia debugująca.<commit_after># -*- coding: utf-8 *-*
import Model
import Communication
import Game
import Logic
import Common
import sys


if __name__ == "__main__":
	# Define the server address
	if len(sys.argv) == 3:
		HOST, PORT = str(sys.argv[1]), int(sys.argv[2])
	else:
		HOST, PORT = "localhost", 23456

	# Create server object
	server = Communication.Server((HOST, PORT), Communication.RequestHandler)
	ip, port = server.server_address
	Common.consoleMessage('Server started!')

	# Run requestQueryChecker
	requestQueryChecker = Communication.RequestQueryChecker()
	requestQueryChecker.isRunning = True
	requestQueryChecker.start()

	# And serve... forever!
	try:
		server.serve_forever()
	except KeyboardInterrupt: # When Ctrl+C is hit
		Common.consoleMessage('Shutting down server.')
		requestQueryChecker.isRunning = False

{'fraction_non_alphanumeric': 0.11071849234393404, 'fraction_numerical': 0.01060070671378092, 'mean_word_length': 5.111510791366906, 'pattern_counts': {'":': 2, '<': 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': '6755590', 'n_tokens_mistral': 551, 'n_tokens_neox': 520, 'n_words': 142}