<commit_before>import argparse
import threading

import connection
import clientUI

CLIENT_IP_ADDRESS = '0.0.0.0'
CLIENT_PORT_NUMBER = 1123

# Commented out for testing purposes only
CONTROLLER_IP_ADDRESS = 'localhost'#'192.168.1.3'
CONTROLLER_TO_CLIENT_PORT_NUMBER = 5813
CONTROLLER_TO_TANGO_PORT_NUMBER = 2134

TANGO_IP_ADDRESS = '192.168.1.4'
TANGO_PORT_NUMBER = 5589

class Client():
    def __init__(self, serverIPAddress, serverPortNumber, \
                 clientIPAddress, clientPortNumber, bufferSize):
        self.serverIPAddress = serverIPAddress
        self.serverPortNumber = serverPortNumber
        self.clientIPAddress = clientIPAddress
        self.clientPortNumber = clientPortNumber
        self.bufferSize = bufferSize

        self.messageReceived = None

        self.clientUI = clientUI.main(self)

        self.connection = None

    def openConnection(self):
        self.connection = connection.main(self.serverIPAddress, self.serverPortNumber, \
                                          self.clientIPAddress, self.clientPortNumber, \
                                          self.bufferSize)

        self.connectionThread = threading.Thread(name='connectionThread', target=self.run)
        self.connectionThread.daemon = True
        self.connectionThread.start()

    def sendMessage(self, messageToSend):<commit_msg>Removed client IP address for testing.<commit_after>import argparse
import threading

import connection
import clientUI

CLIENT_IP_ADDRESS = '0.0.0.0'
CLIENT_PORT_NUMBER = 1123

# Commented out for testing purposes only
CONTROLLER_IP_ADDRESS = '192.168.1.3'
CONTROLLER_TO_CLIENT_PORT_NUMBER = 5813
CONTROLLER_TO_TANGO_PORT_NUMBER = 2134

TANGO_IP_ADDRESS = '192.168.1.4'
TANGO_PORT_NUMBER = 5589

class Client():
    def __init__(self, serverIPAddress, serverPortNumber, \
                 clientIPAddress, clientPortNumber, bufferSize):
        self.serverIPAddress = serverIPAddress
        self.serverPortNumber = serverPortNumber
        self.clientIPAddress = clientIPAddress
        self.clientPortNumber = clientPortNumber
        self.bufferSize = bufferSize

        self.messageReceived = None

        self.clientUI = clientUI.main(self)

        self.connection = None

    def openConnection(self):
        self.connection = connection.main(self.serverIPAddress, self.serverPortNumber, \
                                          self.clientIPAddress, self.clientPortNumber, \
                                          self.bufferSize)

        self.connectionThread = threading.Thread(name='connectionThread', target=self.run)
        self.connectionThread.daemon = True
        self.connectionThread.start()

    def sendMessage(self, messageToSend):
{'fraction_non_alphanumeric': 0.0736105999263894, 'fraction_numerical': 0.026499815973500183, 'mean_word_length': 2.888412017167382, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4381870', 'n_tokens_mistral': 793, 'n_tokens_neox': 745, 'n_words': 144}