cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d,tests/syft/lib/tenseal/tenseal_bfvvector_test.py,,test_tenseal_bfvvector_imul,#Any#Any#,180

Before Change


    // imul
    result_enc_ptr = enc_v1_ptr * v2

    result = result_enc_ptr.decrypt().get()
    assert result == expected

    // rmul
    result_enc_ptr = v2 * enc_v1_ptr

After Change


    // imul
    result_enc_ptr = enc_v1_ptr * v2

    result = decrypt(context, result_enc_ptr)
    assert result == expected

    // rmul
    result_enc_ptr = v2 * enc_v1_ptr

    result = decrypt(context, result_enc_ptr)
    assert result == expected
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 16

Non-data size: 4

Instances


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_bfvvector_test.py
Class Name:
Method Name: test_tenseal_bfvvector_imul


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_bfvvector_test.py
Class Name:
Method Name: test_tenseal_bfvvector_sub


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckksvector_test.py
Class Name:
Method Name: test_tenseal_ckksvector_iadd


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckksvector_test.py
Class Name:
Method Name: test_tenseal_ckksvector_matmul


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckksvector_test.py
Class Name:
Method Name: test_tenseal_ckksvector_sub


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckkstensor_test.py
Class Name:
Method Name: test_tenseal_ckkstensor_iadd


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_bfvvector_test.py
Class Name:
Method Name: test_tenseal_bfvvector_iadd


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckksvector_test.py
Class Name:
Method Name: test_tenseal_ckksvector_add


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckksvector_test.py
Class Name:
Method Name: test_tenseal_ckksvector_mul


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckksvector_test.py
Class Name:
Method Name: ptest_tenseal_ckksvector_imul


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_bfvvector_test.py
Class Name:
Method Name: test_tenseal_bfvvector_add


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_bfvvector_test.py
Class Name:
Method Name: test_tenseal_bfvvector_imul


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckkstensor_test.py
Class Name:
Method Name: test_tenseal_ckkstensor_mul


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckkstensor_test.py
Class Name:
Method Name: test_tenseal_ckkstensor_sub


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckkstensor_test.py
Class Name:
Method Name: test_tenseal_ckkstensor_add


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckksvector_test.py
Class Name:
Method Name: test_tenseal_ckksvector_isub


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_bfvvector_test.py
Class Name:
Method Name: test_tenseal_bfvvector_mul