code: def _process_value(value, extended_sframe, proc, evaluation):
      json_value = None
  
      try:
          json_value = _json.loads(value)
      except:
          pass
  
      if json_value != None:
          if json_value["method"] == "get_rows_eval":
              proc.stdin.write(
                  _get_data_spec(
                      json_value["cells"],
                      json_value["start"],
                      json_value["length"],
                      json_value["row_type"],
                      json_value["mat_type"],
                      extended_sframe,
                      evaluation,
                  ).encode("utf-8")
              )
              proc.stdin.flush()
  
          if json_value["method"] == "get_corrects":
              proc.stdin.write(
                  __get_corrects(extended_sframe, evaluation).encode(
                      "utf-8"
                  )
              )
              proc.stdin.flush()
  
          if json_value["method"] == "get_incorrects":
              proc.stdin.write(
                  __get_incorrects(
                      json_value["label"], extended_sframe, evaluation
                  ).encode("utf-8")
              )
              proc.stdin.flush()
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ...visualization import _get_client_app_path
  import turicreate
  import subprocess
  import six
  from six.moves import _thread
  import json
  import base64
  import math
label_desc: Use image node_id 6 for calling a global function with example usage: _process_value(value, extended_sframe, proc, evaluation) without return types