code: def test_compute_topk_classification_metrics_two_thirds_correct(self):
      metrics: ClassificationMetrics = (
          compute_topk_classification_metrics(
              predictions=[
                  LabelTopKPrediction([0.5, 0.3, 0.2], [0, 1, 2], 0),
                  LabelTopKPrediction([0.5, 0.3, 0.2], [0, 2, 3], 2),
                  LabelTopKPrediction([0.5, 0.3, 0.2], [1, 2, 3], 0),
              ],
              label_names=self.test_labels,
              loss=0,
          )
      )
  
      self.assertEqual(2 / 3, metrics.accuracy)
  
imports: from unittest import TestCase
  from pytext.metric_reporters.classification_metric_reporter import compute_topk_classification_metrics
  from pytext.metrics import ClassificationMetrics, LabelTopKPrediction
label_desc: Use image node_id 2 for calling the TestClassificationMetricReporter obj's underlying member method code with example usage: obj.test_compute_topk_classification_metrics_two_thirds_correct() without return types