code: def test_scoring(tmp_path, spk_scp, flexible_numspk, is_tse):
      scoring(
          output_dir=str(tmp_path / "output"),
          dtype="float32",
          log_level="INFO",
          key_file=spk_scp,
          ref_scp=[spk_scp],
          inf_scp=[spk_scp],
          ref_channel=0,
          flexible_numspk=flexible_numspk,
          is_tse=is_tse,
          use_dnsmos=False,
          dnsmos_args={
              "mode": "local",
              "auth_key": "",
              "primary_model": "",
              "p808_model": "",
          },
          use_pesq=False,
      )
  
file_path: espnet/test/espnet2/bin/test_enh_scoring.py
imports: from argparse import ArgumentParser
  import numpy
  import pytest
  from espnet2.bin.enh_scoring import get_parser, main, scoring
  from espnet2.fileio.sound_scp import SoundScpWriter
label_desc: Use image node_id 4 for calling a global function with example usage: test_scoring(tmp_path, spk_scp, flexible_numspk, is_tse) without return types