diff --git a/compiler/tests/end_to_end_fixture/EndToEndFixture.cpp b/compiler/tests/end_to_end_fixture/EndToEndFixture.cpp index 6dc725431..fe70b8693 100644 --- a/compiler/tests/end_to_end_fixture/EndToEndFixture.cpp +++ b/compiler/tests/end_to_end_fixture/EndToEndFixture.cpp @@ -61,8 +61,8 @@ uint64_t TestErrorRate::too_high_error_count_threshold() { // A bad ratio can still detect most issues. // A good ratio will help to detect more precise calibration issue. double p_mass = 1.0 - TestErrorRate::FALSE_ALARM_RATE; - return solve_binomial_cdf_bigger_than(this->nb_repetition, this->p_error, - p_mass); + return solve_binomial_cdf_bigger_than(this->nb_repetition, + this->global_p_error, p_mass); } template @@ -289,7 +289,7 @@ LLVM_YAML_IS_SEQUENCE_VECTOR(TestDescription) template <> struct llvm::yaml::MappingTraits { static void mapping(IO &io, TestErrorRate &desc) { - io.mapRequired("p-error", desc.p_error); + io.mapRequired("global-p-error", desc.global_p_error); io.mapRequired("nb-repetition", desc.nb_repetition); } }; diff --git a/compiler/tests/end_to_end_fixture/EndToEndFixture.h b/compiler/tests/end_to_end_fixture/EndToEndFixture.h index fad967ada..0a3dad856 100644 --- a/compiler/tests/end_to_end_fixture/EndToEndFixture.h +++ b/compiler/tests/end_to_end_fixture/EndToEndFixture.h @@ -38,7 +38,7 @@ struct TestDescription { }; struct TestErrorRate { - double p_error; + double global_p_error; uint64_t nb_repetition; // rate at which a valid code will make the test fail due to bad luck const double FALSE_ALARM_RATE = 0.00001; diff --git a/compiler/tests/end_to_end_fixture/end_to_end_fhe.yaml b/compiler/tests/end_to_end_fixture/end_to_end_fhe.yaml index 066d9d6d0..75773f8bf 100644 --- a/compiler/tests/end_to_end_fixture/end_to_end_fhe.yaml +++ b/compiler/tests/end_to_end_fixture/end_to_end_fhe.yaml @@ -156,11 +156,11 @@ tests: outputs: - scalar: 12 test-error-rates: - - p-error: 0.05 + - global-p-error: 0.05 nb-repetition: 100 - - p-error: 0.01 + - global-p-error: 0.01 nb-repetition: 100 - - p-error: 0.001 + - global-p-error: 0.001 nb-repetition: 100 --- description: apply_lookup_table_5_bits diff --git a/compiler/tests/end_to_end_fixture/end_to_end_leveled.yaml b/compiler/tests/end_to_end_fixture/end_to_end_leveled.yaml index bec3279e6..471b9df82 100644 --- a/compiler/tests/end_to_end_fixture/end_to_end_leveled.yaml +++ b/compiler/tests/end_to_end_fixture/end_to_end_leveled.yaml @@ -14,7 +14,7 @@ tests: outputs: - scalar: 1 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_1bits @@ -28,7 +28,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_1bits @@ -44,7 +44,7 @@ tests: outputs: - scalar: 1 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_arg_1bits @@ -70,7 +70,7 @@ tests: outputs: - scalar: 1 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_1_bits @@ -86,7 +86,7 @@ tests: outputs: - scalar: 1 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_1bits @@ -102,7 +102,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_arg_1bits @@ -128,7 +128,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_1bits @@ -144,7 +144,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_arg_1bits @@ -170,7 +170,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_1bits @@ -196,7 +196,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_1bits @@ -216,7 +216,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_arg_1bits @@ -247,7 +247,7 @@ tests: outputs: - scalar: 1 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- --- @@ -262,7 +262,7 @@ tests: outputs: - scalar: 3 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_2bits @@ -276,7 +276,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_2bits @@ -292,7 +292,7 @@ tests: outputs: - scalar: 3 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_arg_2bits @@ -318,7 +318,7 @@ tests: outputs: - scalar: 3 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_2_bits @@ -334,7 +334,7 @@ tests: outputs: - scalar: 3 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_2bits @@ -350,7 +350,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_arg_2bits @@ -376,7 +376,7 @@ tests: outputs: - scalar: 1 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_2bits @@ -392,7 +392,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_arg_2bits @@ -418,7 +418,7 @@ tests: outputs: - scalar: 1 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_2bits @@ -444,7 +444,7 @@ tests: outputs: - scalar: 1 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_2bits @@ -464,7 +464,7 @@ tests: outputs: - scalar: 2 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_arg_2bits @@ -495,7 +495,7 @@ tests: outputs: - scalar: 3 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- --- @@ -510,7 +510,7 @@ tests: outputs: - scalar: 7 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_3bits @@ -524,7 +524,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_3bits @@ -540,7 +540,7 @@ tests: outputs: - scalar: 7 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_arg_3bits @@ -566,7 +566,7 @@ tests: outputs: - scalar: 7 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_3_bits @@ -582,7 +582,7 @@ tests: outputs: - scalar: 7 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_3bits @@ -598,7 +598,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_arg_3bits @@ -624,7 +624,7 @@ tests: outputs: - scalar: 3 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_3bits @@ -640,7 +640,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_arg_3bits @@ -666,7 +666,7 @@ tests: outputs: - scalar: 3 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_3bits @@ -692,7 +692,7 @@ tests: outputs: - scalar: 3 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_3bits @@ -712,7 +712,7 @@ tests: outputs: - scalar: 6 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_arg_3bits @@ -743,7 +743,7 @@ tests: outputs: - scalar: 7 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- --- @@ -758,7 +758,7 @@ tests: outputs: - scalar: 15 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_4bits @@ -772,7 +772,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_4bits @@ -788,7 +788,7 @@ tests: outputs: - scalar: 15 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_arg_4bits @@ -814,7 +814,7 @@ tests: outputs: - scalar: 15 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_4_bits @@ -830,7 +830,7 @@ tests: outputs: - scalar: 15 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_4bits @@ -846,7 +846,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_arg_4bits @@ -872,7 +872,7 @@ tests: outputs: - scalar: 7 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_4bits @@ -888,7 +888,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_arg_4bits @@ -914,7 +914,7 @@ tests: outputs: - scalar: 7 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_4bits @@ -940,7 +940,7 @@ tests: outputs: - scalar: 7 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_4bits @@ -960,7 +960,7 @@ tests: outputs: - scalar: 14 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_arg_4bits @@ -991,7 +991,7 @@ tests: outputs: - scalar: 15 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- --- @@ -1854,7 +1854,7 @@ tests: outputs: - scalar: 511 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_9bits @@ -1868,7 +1868,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_9bits @@ -1884,7 +1884,7 @@ tests: outputs: - scalar: 511 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_arg_9bits @@ -1910,7 +1910,7 @@ tests: outputs: - scalar: 511 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_9_bits @@ -1926,7 +1926,7 @@ tests: outputs: - scalar: 511 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_9bits @@ -1942,7 +1942,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_arg_9bits @@ -1968,7 +1968,7 @@ tests: outputs: - scalar: 255 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_9bits @@ -1984,7 +1984,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_arg_9bits @@ -2010,7 +2010,7 @@ tests: outputs: - scalar: 255 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_9bits @@ -2036,7 +2036,7 @@ tests: outputs: - scalar: 255 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_9bits @@ -2056,7 +2056,7 @@ tests: outputs: - scalar: 510 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_arg_9bits @@ -2087,7 +2087,7 @@ tests: outputs: - scalar: 511 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- --- @@ -3374,7 +3374,7 @@ tests: outputs: - scalar: 65535 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_16bits @@ -3388,7 +3388,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_16bits @@ -3404,7 +3404,7 @@ tests: outputs: - scalar: 65535 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_arg_16bits @@ -3430,7 +3430,7 @@ tests: outputs: - scalar: 65535 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_16_bits @@ -3446,7 +3446,7 @@ tests: outputs: - scalar: 65535 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_16bits @@ -3462,7 +3462,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_arg_16bits @@ -3488,7 +3488,7 @@ tests: outputs: - scalar: 32767 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_16bits @@ -3504,7 +3504,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_arg_16bits @@ -3530,7 +3530,7 @@ tests: outputs: - scalar: 32767 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_16bits @@ -3556,7 +3556,7 @@ tests: outputs: - scalar: 32767 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_16bits @@ -3576,7 +3576,7 @@ tests: outputs: - scalar: 65534 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_arg_16bits @@ -3607,7 +3607,7 @@ tests: outputs: - scalar: 65535 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- --- @@ -5106,7 +5106,7 @@ tests: outputs: - scalar: 16777215 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_24bits @@ -5120,7 +5120,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_24bits @@ -5136,7 +5136,7 @@ tests: outputs: - scalar: 16777215 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_arg_24bits @@ -5162,7 +5162,7 @@ tests: outputs: - scalar: 16777215 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_24_bits @@ -5178,7 +5178,7 @@ tests: outputs: - scalar: 16777215 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_24bits @@ -5194,7 +5194,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_arg_24bits @@ -5220,7 +5220,7 @@ tests: outputs: - scalar: 8388607 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_24bits @@ -5236,7 +5236,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_arg_24bits @@ -5262,7 +5262,7 @@ tests: outputs: - scalar: 8388607 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_24bits @@ -5288,7 +5288,7 @@ tests: outputs: - scalar: 8388607 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_24bits @@ -5308,7 +5308,7 @@ tests: outputs: - scalar: 16777214 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_arg_24bits @@ -5339,7 +5339,7 @@ tests: outputs: - scalar: 16777215 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- --- @@ -6547,7 +6547,7 @@ tests: outputs: - scalar: 4294967295 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_32bits @@ -6561,7 +6561,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_32bits @@ -6577,7 +6577,7 @@ tests: outputs: - scalar: 4294967295 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_32_bits @@ -6593,7 +6593,7 @@ tests: outputs: - scalar: 4294967295 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_32bits @@ -6609,7 +6609,7 @@ tests: outputs: - scalar: 4261412864 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_32bits @@ -6625,7 +6625,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_32bits @@ -6651,7 +6651,7 @@ tests: outputs: - scalar: 2147483647 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_32bits @@ -6671,7 +6671,7 @@ tests: outputs: - scalar: 4294967294 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- --- @@ -9446,7 +9446,7 @@ tests: outputs: - scalar: 144115188075855871 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: zero_tensor_57bits @@ -9460,7 +9460,7 @@ tests: - tensor: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] shape: [2,2,4] test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_int_cst_57bits @@ -9476,7 +9476,7 @@ tests: outputs: - scalar: 144115188075855871 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: add_eint_57_bits @@ -9492,7 +9492,7 @@ tests: outputs: - scalar: 144115188075855871 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_int_cst_57bits @@ -9508,7 +9508,7 @@ tests: outputs: - scalar: 144115188075855871 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_int_eint_cst_57bits @@ -9524,7 +9524,7 @@ tests: outputs: - scalar: 0 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: sub_eint_57bits @@ -9550,7 +9550,7 @@ tests: outputs: - scalar: 72057594037927935 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- description: mul_eint_int_cst_57bits @@ -9570,6 +9570,6 @@ tests: outputs: - scalar: 144115188075855870 test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000 --- diff --git a/compiler/tests/end_to_end_fixture/end_to_end_leveled_gen.py b/compiler/tests/end_to_end_fixture/end_to_end_leveled_gen.py index 1858415a4..3d93835c3 100644 --- a/compiler/tests/end_to_end_fixture/end_to_end_leveled_gen.py +++ b/compiler/tests/end_to_end_fixture/end_to_end_leveled_gen.py @@ -3,7 +3,7 @@ MAX_PRECISION = 57 TEST_ERROR_RATES = """\ test-error-rates: - - p-error: 0.0001 + - global-p-error: 0.0001 nb-repetition: 10000""" PRECISIONS_WITH_ERROR_RATES = { diff --git a/compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc b/compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc index 5df3d3c91..541763555 100644 --- a/compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc +++ b/compiler/tests/end_to_end_tests/end_to_end_jit_fhe.cc @@ -41,7 +41,7 @@ void compile_and_run(EndToEndDesc desc, compile_and_run_for_config(desc, support, options, llvm::None); } else { for (auto test_error_rate : desc.test_error_rates) { - options.optimizerConfig.p_error = test_error_rate.p_error; + options.optimizerConfig.global_p_error = test_error_rate.global_p_error; compile_and_run_for_config(desc, support, options, test_error_rate); } }