Skip to content

Commit 6d05c0b

Browse files
committed
adjust test values now that we have a stable sorting
1 parent e56f518 commit 6d05c0b

File tree

1 file changed

+21
-24
lines changed

1 file changed

+21
-24
lines changed

tests/test_functions/test_sum_redundancy.py

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -176,30 +176,27 @@
176176
-62.3124, -62.7948, -63.7351, -64.9801, -65.5436, -66.2565, -66.9823,
177177
-67.8899, -68.5351]
178178

179-
digits_cosine_modular_ranking = [1796, 672, 590, 591, 592, 593, 594, 595,
180-
596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609,
181-
610, 611, 612, 613, 614, 589, 588, 587, 573, 562, 563, 564, 565, 566,
182-
567, 568, 569, 570, 571, 572, 574, 586, 575, 576, 577, 578, 579, 580,
183-
581, 582, 583, 584, 585, 615, 616, 617, 658, 647, 648, 649, 650, 651,
184-
652, 653, 654, 655, 656, 657, 659, 645, 660, 661, 662, 663, 664, 665,
185-
666, 667, 668, 669, 670, 646, 644, 618, 630, 619, 620, 621, 622, 623,
186-
624, 625, 626, 627, 628, 629, 631, 643]
187-
188-
digits_cosine_modular_gains = [-1.0, -2.3079, -2.789, -3.6932, -4.9088,
189-
-5.7819, -6.3563, -8.4147, -8.0702, -8.105, -10.8682, -11.1989,
190-
-12.8727, -14.6083, -12.2928, -15.4387, -18.6001, -18.2984, -19.3362,
191-
-22.3696, -22.8144, -21.7067, -20.4596, -27.9798, -28.2063, -24.4073,
192-
-28.4632, -27.6832, -28.5308, -27.8148, -31.0751, -30.0901, -36.1829,
193-
-34.3228, -35.1394, -35.3716, -37.906, -31.2499, -40.2782, -41.9238,
194-
-38.3051, -39.5617, -48.0495, -46.3859, -46.4503, -42.0932, -37.1236,
195-
-54.9001, -52.8341, -44.635, -51.3953, -59.3985, -53.5856, -52.8414,
196-
-52.4711, -68.5418, -52.824, -50.2893, -62.4484, -56.4849, -61.7257,
197-
-70.4068, -50.5291, -64.1149, -61.7033, -60.5719, -78.3484, -55.4513,
198-
-64.7636, -79.5183, -75.3014, -71.657, -61.1447, -70.4666, -67.1287,
199-
-59.2271, -81.2681, -58.394, -83.9439, -86.8982, -80.2988, -90.9462,
200-
-68.0999, -86.0352, -95.3056, -76.3657, -92.3353, -95.5004, -101.6048,
201-
-100.966, -106.9129, -85.5593, -87.2622, -86.1141, -91.5066, -88.5264,
202-
-78.4808, -99.1651, -102.2596, -101.259]
179+
digits_cosine_modular_ranking = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
180+
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
181+
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
182+
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
183+
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
184+
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
185+
60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
186+
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
187+
80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
188+
90, 91, 92, 93, 94, 95, 96, 97, 98, 99]
189+
190+
digits_cosine_modular_gains = [-1.0, -1.5389, -3.0365, -3.5809, -4.1258, -6.3708, -7.4814, -5.2822, -9.816, -10.1087,
191+
-11.2945, -12.0195, -10.2326, -14.4426, -15.4059, -13.5579, -15.712, -18.8125, -18.1894, -16.5568,
192+
-21.4572, -22.6813, -20.5902, -21.7776, -22.6762, -22.7138, -28.8823, -26.2444, -31.125, -29.2979,
193+
-27.6456, -27.191, -32.4208, -35.4842, -33.8871, -37.3775, -40.0967, -36.2334, -36.487, -41.201,
194+
-46.9144, -44.8115, -41.252, -40.5032, -41.1934, -44.3236, -47.6659, -46.5503, -47.7433, -48.3655,
195+
-42.9863, -45.7986, -52.5101, -57.7592, -46.5784, -63.3521, -56.248, -52.9443, -56.6673, -59.9108,
196+
-57.0929, -66.185, -66.4162, -69.7889, -63.3601, -60.7774, -64.9483, -53.2438, -64.4567, -63.1722,
197+
-69.1823, -66.228, -78.5513, -71.3569, -84.6291, -60.0869, -84.3693, -69.2598, -71.6762, -79.8334,
198+
-79.2383, -85.0744, -84.2064, -79.5252, -75.8808, -84.791, -80.2349, -86.4289, -89.9171, -89.6284,
199+
-91.0734, -95.421, -94.9176, -97.0423, -93.7396, -101.5086, -100.2028, -99.8039, -100.3847, -102.4461]
203200

204201
# Test some similarity functions
205202

0 commit comments

Comments
 (0)