code: def _get_mocked_samples(dataset_dir, folder, sample_rate, seed):
      samples_per_language = 2
  
      samples_map = defaultdict(list)
      samples_all = []
  
      curr_idx = 0
      for language in quesst14._LANGUAGES:
          for _ in range(samples_per_language):
              sample = _save_sample(
                  dataset_dir,
                  folder,
                  language,
                  curr_idx,
                  sample_rate,
                  seed,
              )
              samples_map[language].append(sample)
              samples_all.append(sample)
  
              curr_idx += 1
      return samples_map, samples_all
  
imports: import os
  from collections import defaultdict
  from pathlib import Path
  from parameterized import parameterized
  from torchaudio.datasets import quesst14
  from torchaudio_unittest.common_utils import get_whitenoise, save_wav, TempDirMixin, TorchaudioTestCase
label_desc: Use image node_id 4 for calling a global function with example usage: _get_mocked_samples(dataset_dir, folder, sample_rate, seed) and returns: samples_map,  samples_all