4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557,tests/test_met_features.py,,test_spectral_bandwidth,#,113

Before Change


        // METlab implementation takes the mean, not the sum
        assert np.allclose(bw, S.shape[0] * DATA["bw"])

    for infile in files("data/met-bandwidth-*.mat"):
        yield __test, infile

After Change


        // METlab implementation takes the mean, not the sum
        assert np.allclose(bw, S.shape[0] * DATA["bw"])

    for infile in files(os.path.join("data", "met-bandwidth-*.mat")):
        yield __test, infile
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 14

Non-data size: 5

Instances


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_met_features.py
Class Name:
Method Name: test_spectral_bandwidth


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_core.py
Class Name:
Method Name: test_stft


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_filters.py
Class Name:
Method Name: test_melfb


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_met_features.py
Class Name:
Method Name: test_spectral_contrast


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_met_features.py
Class Name:
Method Name: test_spectral_centroid


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_core.py
Class Name:
Method Name: test_ifgram


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_filters.py
Class Name:
Method Name: test_chromafb


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_filters.py
Class Name:
Method Name: test_hz_to_octs


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_core.py
Class Name:
Method Name: test_load


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_beat.py
Class Name:
Method Name: test_onset_strength


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_met_features.py
Class Name:
Method Name: test_spectral_rolloff


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_filters.py
Class Name:
Method Name: test_mel_to_hz


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_filters.py
Class Name:
Method Name: test_hz_to_mel


Project Name: librosa/librosa
Commit Name: 4dc6c19f4c4d4de0d5fc4a9d3188fbd1029db557
Time: 2018-02-18
Author: brian.mcfee@nyu.edu
File Name: tests/test_beat.py
Class Name:
Method Name: deprecated_test_beat