79a295c02a9171e5d7d0ee5a81ac5bb75b5a5332,tests/test_effects.py,,test_remix_mono,#,62

Before Change



    y_out = librosa.effects.remix(y, intervals, align_zeros=False)

    assert np.allclose(y_out, y[::-1])


def test_remix_stereo():

After Change



    // without zc alignment
    y = np.asarray([1, 1, -1, -1, 2, 2, -1, -1, 1, 1])
    y_t = np.asarray([-1, -1, -1, -1, 1, 1, 1, 1, 2, 2])
    intervals = np.asarray([[2, 4],
                            [6, 8],
                            [0, 2],
                            [8, 10],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: librosa/librosa
Commit Name: 79a295c02a9171e5d7d0ee5a81ac5bb75b5a5332
Time: 2015-02-15
Author: brian.mcfee@nyu.edu
File Name: tests/test_effects.py
Class Name:
Method Name: test_remix_mono


Project Name: tensorflow/models
Commit Name: 5a4a3ac3c8a87b612ab205ec98ed1be0efa80720
Time: 2020-11-24
Author: poorvap@google.com
File Name: official/nlp/modeling/ops/sampling_module_test.py
Class Name: SamplingModuleTest
Method Name: test_topk


Project Name: neurodsp-tools/neurodsp
Commit Name: b197fb0946afe59b45a8c7a20a567ebfe253108f
Time: 2019-04-08
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_utils.py
Class Name:
Method Name: test_demean


Project Name: Scitator/catalyst
Commit Name: 41bb60a5b4c5d3d1624a18be33963479f85dc1a0
Time: 2020-12-13
Author: scitator@gmail.com
File Name: catalyst/metrics/tests/test_iou.py
Class Name:
Method Name: test_iou


Project Name: neurodsp-tools/neurodsp
Commit Name: b197fb0946afe59b45a8c7a20a567ebfe253108f
Time: 2019-04-08
Author: tdonoghue@ucsd.edu
File Name: neurodsp/tests/test_utils.py
Class Name:
Method Name: test_normalize_variance