code: def _handle_runs(req, data):
      runs_data = _runs_data(req, data)
      fix_runs_data_for_json(runs_data)
      return serving_util.json_resp(runs_data)
  
imports: import json
  import logging
  import math
  import os
  import socket
  import subprocess
  import sys
  import threading
  import time
  from werkzeug.exceptions import NotFound
  from werkzeug.utils import redirect
  from guild import serving_util
  from guild import util
  from guild import var
label_desc: Use image node_id 6 for calling a global function with example usage: _handle_runs(req, data) and returns: serving_util