<commit_before>class Node():
  def __init__(self):
    self.name = ""
    self.id = ""
    self.macs = set()
    self.interfaces = dict()
    self.flags = dict({
      "online": False,
      "gateway": False,
    })
    self.gps = None
    self.firmware = None
    self.clientcount = 0
    self.lastseen = 0
    self.firstseen = 0

  def add_mac(self, mac):
    mac = mac.lower()
    if len(self.macs) == 0:
      self.id = mac

    self.macs.add(mac)

    self.interfaces[mac] = Interface()

  def __repr__(self):
    return self.macs.__repr__()

class Interface():
  def __init__(self):
    self.vpn = False

<commit_msg>How about a less confusing repr?<commit_after>class Node():
  def __init__(self):
    self.name = ""
    self.id = ""
    self.macs = set()
    self.interfaces = dict()
    self.flags = dict({
      "online": False,
      "gateway": False,
    })
    self.gps = None
    self.firmware = None
    self.clientcount = 0
    self.lastseen = 0
    self.firstseen = 0

  def add_mac(self, mac):
    mac = mac.lower()
    if len(self.macs) == 0:
      self.id = mac

    self.macs.add(mac)

    self.interfaces[mac] = Interface()

  def __repr__(self):
    return '<Node %s>' % self.macs.__repr__()

class Interface():
  def __init__(self):
    self.vpn = False


{'fraction_non_alphanumeric': 0.1462079749804535, 'fraction_numerical': 0.006254886630179828, 'mean_word_length': 2.3595800524934383, 'pattern_counts': {'":': 4, '<': 4, '<?xml version=': 0, '>': 4, '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': '4237364', 'n_tokens_mistral': 482, 'n_tokens_neox': 457, 'n_words': 105}