code: def test_rm_dup_and_filter_by_inter_num(self):
      config_dict = {
          "model": "BPR",
          "dataset": "rm_dup_and_filter_by_inter_num",
          "data_path": current_path,
          "load_col": None,
          "rm_dup_inter": "first",
          "user_inter_num_interval": "[2,inf)",
          "item_inter_num_interval": "[2,inf)",
      }
      dataset = new_dataset(config_dict=config_dict)
      assert len(dataset.inter_feat) == 4
      assert dataset.user_num == 3
      assert dataset.item_num == 3
  
imports: import logging
  import os
  import pytest
  from recbole.config import Config
  from recbole.data import create_dataset
  from recbole.utils import init_seed
label_desc: Use image node_id 20 for calling the TestDataset obj's underlying member method code with example usage: obj.test_rm_dup_and_filter_by_inter_num() without return types