code: def test_rm_dup_by_last_and_filter_value(self):
      config_dict = {
          "model": "BPR",
          "dataset": "rm_dup_and_filter_value",
          "data_path": current_path,
          "load_col": None,
          "rm_dup_inter": "last",
          "val_interval": {
              "rating": "(-inf,4]",
          },
      }
      dataset = new_dataset(config_dict=config_dict)
      assert len(dataset.inter_feat) == 2
  
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 19 for calling the TestDataset obj's underlying member method code with example usage: obj.test_rm_dup_by_last_and_filter_value() without return types