docs: def add_connection_score(self, node):
          """
          Return a numeric value that determines this node's score for adding
          a new connection. A negative value indicates that no connections
          should be made to this node for at least that number of seconds.
          A value of -inf indicates no connections should be made to this
          node for the foreseeable future.
  
          This score should ideally take into account the connectedness of
          available nodes, so that those with less current connections will
          get more.
          """
  
          # TODO: this should ideally take node history into account
  
          conntime = node.seconds_until_connect_ok()
          if conntime > 0:
              self.log("not considering %r for new connection; has %r left on "
                       "connect blackout" % (node, conntime))
              return -conntime
          numconns = self.num_connectors_to(node)
          if numconns >= self.max_connections_per_node:
              return float('-Inf')
          return sys.maxint - numconns