docstr: On SIGINT, host the results over a websocket.
docstr_tok: ["On","SIGINT",",","host","the","results","over","a","websocket","."]
code: def sigint_handler(self, signum, frame):
      """On SIGINT, host the results over a websocket."""
      if not self._WROTE_RESULTS:
          self.write_results()
      if not self._HOSTING:
          self.host_results()
      else:
          sys.exit(0)
  
imports: import logging
  import os
  import sys
  import signal
  import subprocess
  import venv
  import tornado
  from timeit import timeit
  from perspective import Table, PerspectiveManager, PerspectiveTornadoHandler
label_desc: Use image node_id 2 for calling the Runner obj's underlying member method code with example usage: obj.sigint_handler(signum, frame) without return types