class_docstr: Compares a JSON completion with one or more ideal answers,
  also coded in JSON. The decoded JSON objects are compared
  elementwise and must match exactly.
class_docstr_tok: ["Compares","a","JSON","completion","with","one","or","more","ideal","answers",",","also","coded","in","JSON",".","The","decoded","JSON","objects","are","compared","elementwise","and","must","match","exactly","."]
code: def run(self, recorder: RecorderBase) -> Dict[str, float]:
      samples = self.get_samples()
      self.eval_all_samples(recorder, samples)
  
      return {
          "accuracy": np.mean(recorder.get_scores("accuracy")),
      }
  
file_path: evals/evals/elsuite/basic/json_match.py
imports: import json
  import random
  from typing import Any, Dict, List, Mapping, Union, cast
  import numpy
  import evals
  from evals.api import CompletionFn
  from evals.record import RecorderBase
label_desc: Use image node_id 3 for calling the JsonMatch obj's underlying member method code with example usage: obj.run(recorder) and returns: dict