code: def test_explainer_dataset_reproducibility():
      seed_everything(12345)
      data1 = ExplainerDataset(
          BAGraph(num_nodes=80, num_edges=5), HouseMotif(), num_motifs=2
      )[0]
  
      seed_everything(12345)
      data2 = ExplainerDataset(
          BAGraph(num_nodes=80, num_edges=5), HouseMotif(), num_motifs=2
      )[0]
  
      assert torch.equal(data1.edge_index, data2.edge_index)
  
imports: import pytest
  import torch
  from torch_geometric import seed_everything
  from torch_geometric.datasets import ExplainerDataset
  from torch_geometric.datasets.graph_generator import BAGraph
  from torch_geometric.datasets.motif_generator import HouseMotif
label_desc: Use image node_id 2 for calling a global function with example usage: test_explainer_dataset_reproducibility() without return types