code: def test_karate(get_dataset):
      dataset = get_dataset(name="KarateClub")
      assert str(dataset) == "KarateClub()"
      assert len(dataset) == 1
      assert dataset.num_features == 34
      assert dataset.num_classes == 4
  
      assert len(dataset[0]) == 4
      assert dataset[0].edge_index.size() == (2, 156)
      assert dataset[0].x.size() == (34, 34)
      assert dataset[0].y.size() == (34,)
      assert dataset[0].train_mask.size() == (34,)
      assert dataset[0].train_mask.sum().item() == 4
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_karate(get_dataset) without return types