code: def test_joint_metrics(self):
      # Simple integration test, as joint_metrics is mostly an alias for
      # get_metrics and create_joint_groups which are tested seperately
      preds = [(self.entities, self.base_groups)] * 10
      labels = [(self.entities, self.base_groups)] * 10
      self.check_metrics(
          preds, labels, self.correct_expected, joint_metrics
      )
  
imports: import unittest
  from copy import deepcopy
  from finetune.util.group_metrics import get_count_fn, calc_group_assignment, create_joint_groups, get_metrics, group_metrics, joint_metrics
label_desc: Use image node_id 17 for calling the TestGroupMetrics obj's underlying member method code with example usage: obj.test_joint_metrics() without return types