0e5581cb2a9616205a00cbabf4c9a30613a1037f,test/test_compliance_kaldi.py,Test_Kaldi,Test_Kaldi_1,#,48

Before Change




class Test_Kaldi(unittest.TestCase):
    test_dirpath, test_dir = create_temp_assets_dir()
    test_filepath = os.path.join(test_dirpath, "assets", "kaldi_file.wav")
    test_8000_filepath = os.path.join(test_dirpath, "assets", "kaldi_file_8000.wav")
    kaldi_output_dir = os.path.join(test_dirpath, "assets", "kaldi")

After Change


class Test_Kaldi(unittest.TestCase):
    test_filepath = common_utils.get_asset_path("kaldi_file.wav")
    test_8000_filepath = common_utils.get_asset_path("kaldi_file_8000.wav")
    kaldi_output_dir = common_utils.get_asset_path("kaldi")
    test_filepaths = {prefix: [] for prefix in compliance.utils.TEST_PREFIX}

    // separating test files by their types (e.g "spec", "fbank", etc.)
    for f in os.listdir(kaldi_output_dir):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pytorch/audio
Commit Name: 0e5581cb2a9616205a00cbabf4c9a30613a1037f
Time: 2020-04-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_compliance_kaldi.py
Class Name: Test_Kaldi
Method Name: Test_Kaldi_1


Project Name: pytorch/audio
Commit Name: 0e5581cb2a9616205a00cbabf4c9a30613a1037f
Time: 2020-04-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_effects.py
Class Name: Test_SoxEffectsChain
Method Name: Test_SoxEffectsChain_1


Project Name: pytorch/audio
Commit Name: 0e5581cb2a9616205a00cbabf4c9a30613a1037f
Time: 2020-04-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_datasets.py
Class Name: TestDatasets
Method Name: TestDatasets_1