code: def get_dataset_from_config_path(config_path: str) -> str:
      """path/to/config/<dataset>.<descriptors>.yaml -> dataset."""
      return os.path.basename(config_path).split(".")[0]
  
file_path: ludwig/tests/regression_tests/benchmark/test_model_performance.py
imports: import os
  from typing import List
  import pytest
  from expected_metric import ExpectedMetric
  from ludwig.benchmarking.benchmark import benchmark
  from ludwig.utils.data_utils import load_yaml
  from tests.integration_tests.utils import parse_flag_from_env
label_desc: Use image node_id 3 for calling a global function with example usage: get_dataset_from_config_path(config_path) and returns: os