code: def __get_corrects(sf, evaluation):
      sf = sf.filter_by([True], "correct")
  
      unique_predictions = list(sf["target_label"].unique())
  
      data = []
      for u in unique_predictions:
          u_filt = sf.filter_by([u], "predicted_label")
          data.append(
              {
                  "target": u,
                  "images": list(u_filt[evaluation._data["feature"]]),
              }
          )
      return _json.dumps({"data_spec": {"correct": data}}) + "\n"
  
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 5 for calling a global function with example usage: __get_corrects(sf, evaluation) and returns: unknown