<commit_before>
class Peer(object):
	__slots__ = ['ip','port','left','downloaded','uploaded','peerId']
	
	def __init__(self,ip,port,left,downloaded,uploaded,peerId):
		self.ip = ip
		self.port = port
		self.left = left
		self.downloaded = downloaded
		self.uploaded = uploaded
		self.peerId = peerId
		
		
	def __eq__(self,other):
		if isinstance(other,Peer):
			return self.port == other.port and self.ip == self.ip
			
		return NotImplemented

class Peers(object):
	
	def __init__(self):<commit_msg>fixed bug in comparison of peers that caused them only to be uniquely identified by port<commit_after>
class Peer(object):
	__slots__ = ['ip','port','left','downloaded','uploaded','peerId']
	
	def __init__(self,ip,port,left,downloaded,uploaded,peerId):
		self.ip = ip
		self.port = port
		self.left = left
		self.downloaded = downloaded
		self.uploaded = uploaded
		self.peerId = peerId
		
		
	def __eq__(self,other):
		if isinstance(other,Peer):
			return self.port == other.port and self.ip == other.ip
			
		return NotImplemented

class Peers(object):
	
	def __init__(self):
{'fraction_non_alphanumeric': 0.1280148423005566, 'fraction_numerical': 0.0, 'mean_word_length': 4.44949494949495, '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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4677798', 'n_tokens_mistral': 401, 'n_tokens_neox': 351, 'n_words': 84}