<commit_before>from abs import ABCMeta, abstractmethod


class Tracker(object):
  __metaclass__ = ABCMeta

  def __init__(self, url, port):
    self.url = url
    self.port = port

  @abstractmethod
  def get_peers(self):
    raise NotImplemented("This method needs to be implemented")<commit_msg>Tracker need to know about torrents<commit_after>from abc import ABCMeta, abstractmethod


class Tracker(object):
  __metaclass__ = ABCMeta

  def __init__(self, url, port, torrent):
    self.url = url
    self.port = port
    self.torrent = torrent

  @abstractmethod
  def peers(self):
    raise NotImplemented("This method needs to be implemented")
{'fraction_non_alphanumeric': 0.08179012345679013, 'fraction_numerical': 0.0, 'mean_word_length': 4.192, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3213715', 'n_tokens_mistral': 201, 'n_tokens_neox': 192, 'n_words': 61}