code: def test_confidence_report():
      """
      Test that we can make a confidence report, put an entry in it, and get
      that entry back out
      """
      report = ConfidenceReport()
      entry = ConfidenceReportEntry(
          correctness=np.array([True, False]),
          confidence=np.array([0.9, 0.1]),
      )
      report["clean"] = entry
      assert report["clean"] is entry
  
file_path: cleverhans/cleverhans_v3.1.0/tests_tf/test_confidence_report.py
imports: import numpy
  import tensorflow
  from cleverhans.attacks import Noise
  from cleverhans.attack_bundling import AttackConfig
  from cleverhans.attack_bundling import bundle_attacks
  from cleverhans.attack_bundling import Misclassify
  from cleverhans.confidence_report import ConfidenceReport
  from cleverhans.confidence_report import ConfidenceReportEntry
  from cleverhans.confidence_report import make_confidence_report_bundled
  from cleverhans.devtools.mocks import SimpleDataset
  from cleverhans.picklable_model import MLP, Linear
  from cleverhans import serial
label_desc: Use image node_id 1 for calling a global function with example usage: test_confidence_report() without return types