diff --git a/src/evaluation/parameters.rs b/src/evaluation/parameters.rs index 4b80f02..0b5108b 100644 --- a/src/evaluation/parameters.rs +++ b/src/evaluation/parameters.rs @@ -9,20 +9,20 @@ use crate::{ use super::policy_eval::policy_offset; -pub const NUM_VALUE_FEATURES_4S: usize = 280; +pub const NUM_VALUE_FEATURES_4S: usize = 304; pub const NUM_POLICY_FEATURES_4S: usize = 176; -pub const NUM_VALUE_FEATURES_5S: usize = 360; +pub const NUM_VALUE_FEATURES_5S: usize = 384; pub const NUM_POLICY_FEATURES_5S: usize = 200; -pub const NUM_VALUE_FEATURES_6S: usize = 384; +pub const NUM_VALUE_FEATURES_6S: usize = 400; pub const NUM_POLICY_FEATURES_6S: usize = 208; const fn value_padding() -> usize { match S { - 4 => 0, - 5 => 0, - 6 => 4, + 4 => 6, + 5 => 6, + 6 => 2, _ => unimplemented!(), } } @@ -90,6 +90,9 @@ pub struct ValueIndexes { pub line_control_empty: IndexPair, pub line_control_their_blocking_piece: IndexPair, pub line_control_other: IndexPair, + pub line_control_guarded_flat: IndexPair, + pub line_control_guarded_wall: IndexPair, + pub line_control_guarded_cap: IndexPair, pub sidelined_cap: IndexPair, pub fully_isolated_cap: IndexPair, pub semi_isolated_cap: IndexPair, @@ -133,6 +136,9 @@ impl ValueIndexes { let (line_control_their_blocking_piece, i) = IndexPair::next(i, S * num_line_symmetries::()); let (line_control_other, i) = IndexPair::next(i, S * num_line_symmetries::()); + let (line_control_guarded_flat, i) = IndexPair::next(i, 3); + let (line_control_guarded_wall, i) = IndexPair::next(i, 3); + let (line_control_guarded_cap, i) = IndexPair::next(i, 3); let (sidelined_cap, i) = IndexPair::next(i, 3); let (fully_isolated_cap, i) = IndexPair::next(i, 3); let (semi_isolated_cap, i) = IndexPair::next(i, 3); @@ -173,6 +179,9 @@ impl ValueIndexes { line_control_empty, line_control_their_blocking_piece, line_control_other, + line_control_guarded_flat, + line_control_guarded_wall, + line_control_guarded_cap, sidelined_cap, fully_isolated_cap, semi_isolated_cap, @@ -671,143 +680,143 @@ pub fn policy_features_6s(komi: Komi) -> &'static [f32; NUM_POLICY_FEATURES_6S] #[allow(clippy::unreadable_literal)] pub const VALUE_PARAMS_4S_0KOMI: [f32; NUM_VALUE_FEATURES_4S] = [ - 2.4298604, - 3.8704958, - 2.6069407, - 1.4441929, - 2.1969094, - 2.352722, - 2.3692293, - 0.60718554, - 1.3463765, - 2.007144, + 2.4316607, + 3.948234, + 2.6022382, + 1.4444559, + 2.7725964, + 2.6853547, + 2.4694963, + 0.6456372, + 1.3376486, + 1.9471525, -0.0059250165, -0.00050385203, -0.00651386, - 0.6210083, - 0.8329756, - 1.0048952, - 0.37340406, - 0.6415944, - 0.8561685, - 3.0187547, - 0.71935475, - 1.3463422, - 0.34067026, - 1.7155155, - 0.24420382, - 0.79242927, - 0.6140218, - 0.3136143, - -0.16245459, - -0.31585428, - -0.057589043, - -0.04419964, - -0.20003228, - -0.66795284, - -0.6919035, - 1.2268846, - 0.47955742, + 0.6298386, + 0.8478108, + 1.0267628, + 0.3646087, + 0.65035766, + 0.87383395, + 3.181548, + 0.67289674, + 1.4704818, + 0.3295483, + 1.7054638, + 0.30953056, + 0.7860367, + 0.7171965, + 0.31087294, + -0.19592777, + -0.3354864, + -0.06270446, + -0.047015138, + -0.23130597, + -0.6747112, + -0.75386566, + 1.2540966, + 0.47478652, -0.005124028, -0.008343117, - 0.45675454, - 2.6696146, + 0.4502785, + 2.738278, 0.005951524, -0.0043248367, - 0.64855355, - 0.10058148, + 0.66803735, + 0.104168616, -0.005560641, 0.0036220215, - -0.28768986, - -0.17115575, + -0.28920466, + -0.16284779, -0.0055643534, -0.0015320918, - -0.8989751, - -0.22581144, + -0.9019353, + -0.23588982, -0.009827926, 0.00059686694, - -0.7555871, - -0.6750129, + -0.77141523, + -0.6836219, 0.0076304395, -0.0060374904, - 0.17038342, - 1.3860676, - 2.246275, - 1.8785685, - 1.7441773, - 1.967547, - 1.5650111, - 1.4430815, - -0.013343771, - 2.1292303, - 2.2135592, - 1.482288, - 1.3109516, - 1.105196, - 1.0918638, - 0.8540532, - 2.0813994, - 1.742397, - 0.5805264, - 0.59990203, - 1.2190361, - 1.6776142, - 2.2394032, - 2.9036016, - 3.5846522, - 2.45217, - 1.3587985, - -0.33424968, - 0.29853788, - 0.2279289, - 0.33821267, - 0.57343936, - 0.23069955, - 0.107317284, + 0.19825573, + 1.5824981, + 2.3749042, + 1.9221747, + 1.8022909, + 2.0026157, + 1.6333548, + 1.66393, + -0.03078534, + 2.195885, + 2.2829652, + 1.5371269, + 1.3463248, + 1.1244818, + 1.1226524, + 0.861089, + 1.9853731, + 1.8382295, + 0.5394786, + 0.57464707, + 1.1580384, + 1.680245, + 2.2719595, + 2.922314, + 3.681033, + 2.6075218, + 1.4693128, + -0.29159686, + 0.3667428, + 0.27157003, + 0.30727696, + 0.42632064, + 0.20321327, + 0.053844545, 0.008557079, -0.0009557083, -0.00078115705, -0.008447227, -0.009191279, -0.0018326258, - -0.021408748, - -0.30990133, + -0.022083364, + -0.32067132, 0.00022801384, - -0.36861295, - -0.35390085, - -0.072613314, - 0.22793005, - 0.67373675, - 0.13633266, - -0.5362321, - 0.41670653, - 1.4229106, - 0.06955124, - -0.16972157, - 0.51207423, - 1.1187439, - -0.7316789, - -0.6397346, - -0.26459128, - 0.39910355, - -0.6763439, - -0.54895157, - -0.04382602, - 0.37547085, - -0.3477748, - -0.4795969, - 0.033103127, - 0.8595274, - -0.8287442, - -0.5823758, - 0.15059012, - 0.9096278, - 0.0074368455, - -0.0066757104, - 0.004355209, - -0.0077824043, - 0.0070885587, - 0.008410923, + -0.12849472, + -0.20888318, + -0.022015786, + 0.19898704, + 0.57707036, + 0.004107034, + -0.08599316, + 0.58905095, + 1.3625441, + 0.22846593, + -0.07444185, + 0.5652265, + 1.1756088, + -0.05152581, + -0.1914915, + -0.11640325, + 0.3278621, + -0.6404898, + -0.47814745, + -0.03943243, + 0.36418498, + 0.3084402, + -0.03174029, + 0.26740316, + 0.9023104, + -0.7598787, + -0.5188656, + 0.17066951, + 0.9134854, + -0.05141203, + -0.03260874, + 0.58204496, + -0.041261457, + 0.08081483, + 0.41292343, 0.0043121455, -0.008000903, 0.0010137418, @@ -815,142 +824,166 @@ pub const VALUE_PARAMS_4S_0KOMI: [f32; NUM_VALUE_FEATURES_4S] = [ 0.0031001903, -0.002478423, -0.002353027, - -2.176645, - -2.233227, - -2.3460839, - -0.75853103, - -1.404795, - -2.334627, + 0.008927224, + 0.009418681, + -0.007463541, + -0.009312019, + 0.008915393, + -0.0005510999, 0.0035254955, 0.008046815, 0.008674609, - -0.5486583, - -0.8876932, - -1.0083133, - -0.52997726, - -0.7203394, - -0.9124549, - -2.3193507, - -0.85909486, - -1.7175533, - -0.2895423, - -1.4420053, - -0.16429552, - -0.6561721, - -0.56007534, - -1.8014185, - -0.606085, - -0.55422246, - 0.074700154, - -1.2537694, - -0.4920499, - -0.051006917, - 0.6353766, - -0.7872399, - -0.8932555, - 0.004368524, - 0.0076928716, - -0.9354201, - -1.8283511, - 0.0029043844, - 0.008424118, - -0.60739267, - -0.17945626, - 0.007047029, - -0.0010688612, - 0.48645222, - 0.25152636, + 0.008508706, + -0.0008124877, + 0.004095099, + -3.032847, + -2.6445708, + -2.297356, + -0.7322831, + -1.405693, + -2.3109975, + -0.005868571, + -0.0075792954, + 0.00952702, + -0.548034, + -0.89242476, + -1.033523, + -0.5278578, + -0.73150647, + -0.93173045, + -2.5224686, + -0.95631695, + -1.8790292, + -0.326836, + -1.4393933, + -0.17172302, + -0.6617695, + -0.49360335, + -1.9183853, + -0.57131374, + -0.60526025, + 0.11044675, + -1.3220683, + -0.50244457, + -0.108516395, + 0.7152695, + -0.7885764, + -0.9001365, -0.006010456, -0.0055280733, - 0.5577807, - -0.048205446, + -0.9644257, + -1.8761377, 0.0069459323, -0.0069796084, - 0.8333389, - 0.5831493, + -0.6072811, + -0.18442312, 0.0042860033, -0.004753387, - -0.0653788, - -1.1220118, - -1.780472, - -1.7718289, - -1.6966674, - -1.1984828, - -1.1150855, - 0.0777092, - -0.0065054954, - -2.2606184, - -3.133059, - -2.752191, - -2.5767245, - -2.4164593, - -2.2839174, - -1.6619169, - -2.1682928, - -1.1619954, - 0.062361944, - 0.08139059, - -0.763874, - -1.6891422, - -2.1890776, - -2.4436283, - -3.218858, - -2.6425128, - -1.0021273, - 0.28501064, - -0.13864589, - -0.3351712, - -0.22162522, - -0.18984863, - -0.23459789, - 0.0038803637, - 0.0071501285, - -0.0013148449, - 0.008539425, - -0.00934294, - -0.0056089186, - 0.008402593, - -0.019080581, - 0.26899984, - 0.0031465264, - 0.50745463, - 0.31655195, - 0.16243994, - -0.20065752, - -0.64016324, - 0.146703, - 0.46224162, - -0.43771505, - -1.4141582, - 0.06980858, - 0.383829, - -0.21684419, - -1.0757954, - 0.67072153, - 0.6660037, - 0.1487764, - -0.41707325, - 0.84852356, - 0.5055038, - -0.06357907, - -0.6303844, - 0.5837139, - 0.60311544, - -0.0026713405, - -0.73381007, - 0.7702327, - 0.62667155, - -0.11639084, - -0.8550144, - 0.0023975773, - -0.0020184517, - -0.00068451837, - -0.0031730435, - 0.0038830638, - -0.0005412027, - 0.0021412876, - -0.0075254655, - 0.0028945897, + 0.490536, + 0.25390023, + -0.0066909315, + 0.0056339707, + 0.57347906, + -0.03773678, + -0.0018851925, + 0.007400766, + 0.8519584, + 0.5810329, + 0.0092722215, + 0.0030306866, + -0.07946182, + -1.1671888, + -1.7959044, + -1.7916896, + -1.6636328, + -1.1216886, + -1.128799, + 0.062783495, + -0.008504454, + -2.4580555, + -3.2035835, + -2.7939694, + -2.6410935, + -2.497593, + -2.3075492, + -1.644572, + -2.1267548, + -1.312306, + 0.15490162, + 0.098456845, + -0.79874545, + -1.7376605, + -2.2331936, + -2.5538356, + -3.2979653, + -2.8555193, + -1.2035868, + 0.2660342, + -0.1748763, + -0.34909663, + -0.20885655, + -0.09937494, + -0.21402863, + 0.04145042, + 0.008153329, + 0.002645051, + 0.004003441, + 0.0071725287, + 0.0049608946, + 0.008243782, + -0.016886072, + 0.2743469, + 0.00948292, + 0.17882922, + 0.17736728, + 0.22346197, + 0.06281587, + -0.19408545, + 0.01643628, + -0.24420884, + -0.72825295, + -1.2837764, + 0.2205423, + 0.37509492, + -0.26474893, + -1.1563938, + -0.28712055, + -0.04974909, + -0.123236, + -0.3059569, + 1.1131511, + 0.55147105, + -0.045114357, + -0.65456104, + -0.31463942, + -0.13753715, + -0.30598685, + -0.77985066, + 1.021701, + 0.66817296, + -0.103586376, + -0.86488557, + 0.080472276, + -0.08018608, + -0.5443543, + 0.15388334, + -0.23335904, + -0.2519362, + 0.0015270468, + 0.0024552317, + 0.009908594, + -0.00047137216, + -0.002311611, + -0.0068556285, + -0.0071793436, + 0.0004826784, + -0.0035659648, + -0.0024085473, + 0.00952634, + 0.0013488671, + -0.004505658, + 0.006838942, + 0.0048156017, ]; #[allow(clippy::unreadable_literal)] @@ -1135,143 +1168,143 @@ pub const POLICY_PARAMS_4S_0KOMI: [f32; NUM_POLICY_FEATURES_4S] = [ #[allow(clippy::unreadable_literal)] pub const VALUE_PARAMS_4S_2KOMI: [f32; NUM_VALUE_FEATURES_4S] = [ - 0.52563196, - 0.6895727, - 0.12051098, - -0.14463861, - 1.3559645, - 1.4986935, - 1.5103669, - 0.57664406, - 1.2602904, - 1.7125074, + 0.52429, + 0.68893915, + 0.11723282, + -0.14886938, + 3.5339468, + 2.4858508, + 1.3320192, + 0.5897218, + 1.2349315, + 1.5847373, -0.0059250165, -0.00050385203, -0.00651386, - 0.29529762, - 0.5914435, - 0.5539336, - 0.27953234, - 0.49553716, - 0.4554167, - 3.731096, - 0.75402933, - 1.7876699, - 0.6090844, - 1.9383496, - 0.13928328, - 0.8691706, - 0.8686578, - 0.46380666, - 0.17571191, - 0.23960954, - -0.3641506, - 0.05516088, - 0.03848884, - 0.04844327, - -0.8498393, - 0.6950612, - 0.49150193, + 0.30413458, + 0.60066754, + 0.585936, + 0.27747995, + 0.50866705, + 0.4718101, + 3.8469164, + 0.7773746, + 1.8651912, + 0.58217114, + 1.9865575, + 0.07986077, + 0.8951192, + 0.8741737, + 0.43828675, + 0.105449036, + 0.27625027, + -0.37590623, + 0.04578136, + 0.03894673, + 0.07617995, + -0.90207785, + 0.6963765, + 0.5452865, -0.005124028, -0.008343117, - 0.40286937, - 2.0349727, + 0.39673215, + 2.0560133, 0.005951524, -0.0043248367, - 0.42071405, - -0.16990857, + 0.42766416, + -0.18191823, -0.005560641, 0.0036220215, - -0.23138031, - -0.17884941, + -0.23393331, + -0.21480957, -0.0055643534, -0.0015320918, - -0.6274872, - -0.017832387, + -0.6201588, + 0.05866232, -0.009827926, 0.00059686694, - -0.64849114, - -0.19004714, + -0.6359298, + -0.19155984, 0.0076304395, -0.0060374904, - -0.00733969, - 0.6445007, - 1.2752436, - 2.253157, - 1.2250239, - 1.0642511, - 0.49581653, - 1.0864027, - -0.827332, - 0.24476194, - 1.0592394, - 0.9327018, - 0.73668, - 0.9983244, - 0.76378316, - 0.29846576, - 0.06678227, - 0.40878716, - 0.065479234, - -0.10275615, - 0.5438606, - 0.5410977, - 1.2087458, - 2.2994306, - 2.991999, - 4.0046268, - 3.706299, - -0.27888462, - 0.1797798, - 0.090434186, - 0.37182933, - 0.20708577, - 0.13868359, - 0.039193463, + -0.0073329057, + 1.0882515, + 1.6315265, + 2.2865894, + 1.3095273, + 1.0958549, + 0.50345117, + 1.0906723, + -0.9198386, + -0.005442661, + 1.0889075, + 0.9048378, + 0.6534195, + 0.8961703, + 0.67892134, + 0.22661947, + 0.026577663, + 0.40733767, + -0.03858814, + -0.2739997, + 0.31540608, + 0.4690904, + 1.3372418, + 2.3901124, + 3.1644223, + 4.195002, + 3.9688473, + -0.27533773, + 0.17142802, + 0.03770945, + 0.35307604, + 0.0825674, + 0.13906325, + 0.012941918, 0.008557079, -0.0009557083, -0.00078115705, -0.008447227, -0.009191279, -0.0018326258, - -0.0011303644, - -0.17999835, + -0.0069718147, + -0.18608472, 0.00022801384, - -0.11648235, - -0.5161546, - -0.28304598, - 0.09118552, - 0.52203393, - 0.0038743126, - -0.49442217, - 0.2653555, - 0.7613437, - 0.10712364, - -0.32350272, - 0.24583846, - 0.6095975, - -0.48286754, - -0.4977955, - -0.020869797, - 0.37714654, - -0.5454034, - -0.45790127, - -0.037332527, - 0.49143147, - -0.61186045, - -0.44798827, - 0.03516028, - 0.56303954, - -0.885371, - -0.45554113, - 0.06427329, - 0.6549117, - 0.0074368455, - -0.0066757104, - 0.004355209, - -0.0077824043, - 0.0070885587, - 0.008410923, + 0.45180544, + -0.25586006, + -0.44872898, + -0.4753107, + -0.4419908, + 0.35149807, + 0.576417, + 0.30050486, + -0.24655187, + -0.32760438, + -0.44139394, + 0.23319869, + 0.7384209, + 1.2493399, + 0.59473467, + -0.0038482135, + -0.6755991, + -1.1608081, + -0.56961364, + -0.03433775, + 0.6316661, + 1.1496592, + 0.6557117, + 0.12960815, + -0.3134066, + -1.5203936, + -0.59795463, + 0.03728718, + 0.74441874, + 0.58514774, + -0.1301679, + -0.7587223, + 0.6873814, + -0.031453356, + -0.7020222, 0.0043121455, -0.008000903, 0.0010137418, @@ -1279,142 +1312,166 @@ pub const VALUE_PARAMS_4S_2KOMI: [f32; NUM_VALUE_FEATURES_4S] = [ 0.0031001903, -0.002478423, -0.002353027, - -1.6936111, - -1.7054353, - -1.6180553, - -1.2752738, - -1.7690604, - -2.0229201, + 0.008927224, + 0.009418681, + -0.007463541, + -0.009312019, + 0.008915393, + -0.0005510999, 0.0035254955, 0.008046815, 0.008674609, - -0.40506473, - -0.55994135, - -0.5115778, - -0.12348774, - -0.37379164, - -0.3769996, - -2.104562, - -0.169954, - -1.0099543, - -0.025277289, - -1.0100139, - 0.20886718, - -0.15721823, - -0.5310777, - -0.5525833, - -0.32562983, - 0.0059612137, - 0.013781554, - -0.4867603, - -0.21772908, - 0.24751057, - 0.0051351883, - -0.58981043, - -0.58239776, - 0.004368524, - 0.0076928716, - -0.7355953, - -1.4319865, - 0.0029043844, - 0.008424118, - -0.37486622, - 0.04782088, - 0.007047029, - -0.0010688612, - 0.20561983, - 0.25319397, + 0.008508706, + -0.0008124877, + 0.004095099, + -3.0704432, + -2.4933693, + -1.7673687, + -1.2633189, + -1.7970295, + -2.0775409, + -0.005868571, + -0.0075792954, + 0.00952702, + -0.4075466, + -0.57603663, + -0.5444189, + -0.11908211, + -0.37698713, + -0.3965246, + -2.2272253, + -0.13783081, + -1.1743498, + -0.09427089, + -1.0977554, + 0.16787964, + -0.40625194, + -0.6227526, + -0.61625713, + -0.33013564, + 0.021447528, + 0.03244048, + -0.5116448, + -0.19525214, + 0.2845262, + 0.0065825637, + -0.6593522, + -0.56550854, -0.006010456, -0.0055280733, - 0.54855984, - -0.09351131, + -0.62841564, + -1.4784036, 0.0069459323, -0.0069796084, - 0.2966056, - 0.110562734, + -0.38398543, + 0.074410126, 0.0042860033, -0.004753387, - -1.7771188, - -1.9777857, - -1.553316, - -1.3561604, - -0.19463855, - -0.6260654, - 1.4061255, - 0.005834893, - -0.030551918, - -2.5539973, - -2.3062813, - -1.888228, - -1.8257332, - -2.0689764, - -1.719846, - -1.7233189, - -1.3386667, - -0.26976877, - 1.2507838, - 0.2428695, - -0.08113176, - -1.0281936, - -2.065985, - -2.4030273, - -1.3284899, - -0.64843744, - -0.21425116, - 0.2288029, - 0.0007445662, - -0.08536966, - -0.15847558, - -0.13997893, - -0.12700516, - 0.3761492, - 0.0071501285, - -0.0013148449, - 0.008539425, - -0.00934294, - -0.0056089186, - 0.008402593, - -0.017137634, - 0.39247382, - 0.0031465264, - 0.28978127, - 0.091555744, - -0.012570185, - -0.17540117, - -0.45674232, - 0.014244745, - 0.51806736, - 0.005419742, - -0.69725937, - 0.10738103, - 0.5749198, - -0.0079256985, - -0.33500484, - 0.13477127, - 0.059413154, - -0.030558169, - -0.5873188, - -0.18123595, - -0.09555541, - -0.51754075, - -0.77751696, - 0.4091395, - 0.37045053, - -0.118455365, - -0.6200585, - 0.7349613, - 0.4705866, - -0.09459881, - -0.44987735, - 0.0023975773, - -0.0020184517, - -0.00068451837, - -0.0031730435, - 0.0038830638, - -0.0005412027, - 0.0021412876, - -0.0075254655, - 0.0028945897, + 0.20717366, + 0.27154583, + -0.0066909315, + 0.0056339707, + 0.5737717, + -0.12585312, + -0.0018851925, + 0.007400766, + 0.29815802, + 0.10203528, + 0.0092722215, + 0.0030306866, + -1.8135285, + -2.027833, + -1.5655462, + -1.3475527, + -0.14485219, + -0.28304484, + 1.4412184, + -0.004338976, + -0.028544435, + -2.6164312, + -2.4394634, + -2.0292408, + -1.9581802, + -2.1600285, + -1.8075325, + -1.9948127, + -1.5771171, + -0.28050014, + 1.4215115, + 0.39595857, + 0.012841025, + -0.9893835, + -2.2025082, + -2.5774856, + -1.4600112, + -0.7804209, + -0.22854514, + 0.12789029, + -0.053083226, + -0.12465205, + -0.11110279, + -0.012352408, + -0.13015433, + 0.32610905, + 0.008153329, + 0.002645051, + 0.004003441, + 0.0071725287, + 0.0049608946, + 0.008243782, + -0.019086776, + 0.41505888, + 0.00948292, + -0.09106063, + -0.16338338, + -0.1823654, + -0.25317866, + -0.44836012, + 0.36382782, + 0.073753566, + 0.2623317, + 0.18028197, + -0.33552864, + 0.33023572, + -0.076525986, + -0.43629795, + -0.9898158, + -0.40246817, + 0.19037203, + 0.4182858, + -0.40326446, + -0.30955458, + -0.5492488, + -0.64738584, + -0.6218218, + -0.06700427, + 0.14947127, + 0.25139436, + 0.5272059, + 0.26679143, + -0.20381989, + -0.4752476, + -0.06291156, + 0.14218172, + 0.3436011, + 0.20922472, + 0.14459349, + 0.39875776, + 0.0015270468, + 0.0024552317, + 0.009908594, + -0.00047137216, + -0.002311611, + -0.0068556285, + -0.0071793436, + 0.0004826784, + -0.0035659648, + -0.0024085473, + 0.00952634, + 0.0013488671, + -0.004505658, + 0.006838942, + 0.0048156017, ]; #[allow(clippy::unreadable_literal)] @@ -1599,366 +1656,390 @@ pub const POLICY_PARAMS_4S_2KOMI: [f32; NUM_POLICY_FEATURES_4S] = [ #[allow(clippy::unreadable_literal)] pub const VALUE_PARAMS_5S_0KOMI: [f32; NUM_VALUE_FEATURES_5S] = [ - 1.1972758, - 2.0695524, - 1.2542441, - 1.5436742, - 0.8169561, - 0.80575347, - 0.8467236, - 1.6308086, - 1.6921701, - 1.6292949, - 1.6269044, - 1.5975564, - 1.5512186, - 0.50824684, - 0.9510083, - 1.0025207, - 1.4448718, - 1.4914145, - 1.7603734, - -0.0074883453, - 0.8084535, - 0.9497882, - 1.5858629, - 1.8333187, - 2.1459985, - 0.5235906, - 0.60308146, - 0.5996238, - 0.6092406, - 0.67819536, - 0.74613774, - 0.4443709, - 0.59904623, - 0.58137137, - 0.66090757, - 0.66875327, - 0.6665273, - 2.279428, - 0.71682143, - 1.6747433, - 0.45677945, - 1.5958358, - 0.23985705, - 0.8409804, - 1.1851839, - 1.0368658, - 0.22187957, - 0.010078146, - -0.527144, - 0.8181287, - 0.10910366, - -0.12146731, - -0.76553756, - 0.7054867, - 0.88304657, - 1.0572449, - 0.6502819, - 0.57667613, - 0.90869814, - 2.043404, - 1.6582317, - 0.58781826, - 0.09171928, - -0.47798863, - 0.26264402, - -0.33455813, - -0.33624014, - -0.5527426, - -0.22762357, - -0.43842942, - 0.20745593, - 0.31614825, - 0.124690324, - -0.43464637, - -0.5135018, - -0.68360436, - -0.5488052, - 0.103771746, - 0.2741284, - 0.85683215, - 1.3422097, - 1.5018522, - 1.7112043, - 2.0187078, - 0.41868082, - 0.0381746, - 1.4854143, - 1.9816804, - 1.7115693, - 1.522338, - 1.2978679, - 1.0446432, - 0.860363, - 0.54741335, - 0.44771466, - 0.20414796, - 0.44452968, - 0.80102366, - 1.0404513, - 1.2740883, - 1.6270053, - 1.9319665, - 2.190622, - 2.5970206, - -0.2578162, - -0.15055948, - -0.0015622632, - 0.41285843, - 0.22307098, - 0.19630277, - 0.016672986, - 2.0465226, - 1.0799766, - 0.06592965, - 0.19409089, - 0.006248293, - -0.083474085, - 0.021852983, - -0.20972648, - -0.1559312, + 1.1928203, + 2.1070662, + 1.2441907, + 1.5578821, + 0.8132782, + 0.8026824, + 0.85453176, + 1.9690738, + 1.8800824, + 1.8096281, + 1.6723523, + 1.6419703, + 1.5867978, + 0.5266489, + 0.96528804, + 1.0269507, + 1.468423, + 1.5215062, + 1.819773, + 0.31145108, + 0.96304286, + 1.1395545, + 1.5785692, + 1.8641505, + 2.2049448, + 0.517726, + 0.60241765, + 0.59061235, + 0.60262394, + 0.66951936, + 0.7388366, + 0.45516452, + 0.60961986, + 0.5920616, + 0.6687753, + 0.67481065, + 0.67357177, + 2.5924962, + 0.71791726, + 1.8902876, + 0.46696702, + 1.6810297, + 0.2368942, + 0.89302397, + 1.2978514, + 1.0763754, + 0.21747583, + 0.033867702, + -0.5839421, + 0.85528237, + 0.11190376, + -0.15795344, + -0.76875204, + 0.73581576, + 0.92057544, + 1.0344652, + 0.6616598, + 0.5717498, + 0.91676, + 2.1951437, + 1.7104051, + 0.61477184, + 0.10875934, + -0.63789964, + 0.28395602, + -0.34383854, + -0.34340194, + -0.5642386, + -0.2253903, + -0.43064907, + 0.21420923, + 0.29463074, + 0.11922831, + -0.44266346, + -0.5059046, + -0.70854926, + -0.5507744, + 0.103425965, + 0.33652097, + 0.9421522, + 1.3903724, + 1.5342762, + 1.7304975, + 2.21449, + 0.5381837, + 0.0462782, + 1.683738, + 2.03494, + 1.7273984, + 1.5432281, + 1.3334589, + 1.0670695, + 0.8633169, + 0.55835754, + 0.4723224, + 0.19376945, + 0.4262517, + 0.8000384, + 1.0509565, + 1.279152, + 1.6470128, + 1.9497055, + 2.216754, + 2.638693, + -0.25438058, + -0.14733131, + 0.003705402, + 0.40147805, + 0.17601441, + 0.1830201, + -0.001174798, + 2.4470987, + 1.1473757, + 0.097849034, + 0.22005373, + -0.014863612, + -0.09440721, + 0.021318667, + -0.212859, + -0.15782623, 0.0011965558, - -0.80951476, - -0.35148513, - -0.02617183, - 0.37907404, - 0.8535509, - 0.057740804, - -0.37498063, - 0.10323767, - 0.7110274, - 1.1583922, - 0.020869935, - -0.5086865, - 0.106751576, - 0.7270699, - 1.0962601, - 0.0035673971, - -0.71868646, - -0.09827257, - 0.64803725, - 1.0787138, - -0.6052154, - -0.7478832, - -0.40590072, - -0.15999526, - 0.41170037, - -0.8368714, - -0.87513846, - -0.3954223, - 0.1631176, - 0.7966903, - -0.8180864, - -0.806042, - -0.29120553, - 0.2945214, - 0.871017, - -0.31725365, - -0.37217182, - -0.16373815, - 0.24087217, - 0.5443514, - -0.6779322, - -0.7826665, - -0.23378766, - 0.43495023, - 1.0222434, - -0.8207742, - -0.77489096, - -0.20065364, - 0.45665872, - 1.2040466, - -0.33159503, - -0.060227886, - 0.17309275, - -1.0549828, - -0.45849985, - -0.46190938, - -0.4218675, - -0.14846545, - -0.27582264, - 0.009378757, - 0.0029043844, - 0.008424118, - -0.0050589656, - -0.0051581357, - 0.007047029, - -0.0010688612, - -1.7033813, - -1.6062411, - -1.6400293, - -1.6612122, - -1.6807895, - -1.5529777, - -0.42837542, - -0.7250733, - -0.93395126, - -1.2933791, - -1.4494246, - -1.5101709, - -0.2427129, - -0.558196, - -0.53604126, - -1.4756106, - -1.7552328, - -2.0842547, - -0.5386639, - -0.7247154, - -0.73449653, - -0.67182446, - -0.6976339, - -0.71993995, - -0.4237215, - -0.526492, - -0.473312, - -0.62446165, - -0.6225371, - -0.61612314, - -2.2534294, - -0.9226293, - -1.5235544, - -0.5803333, - -1.4423274, - -0.20136343, - -0.693403, - -0.9695765, - -1.3238896, - -0.27156687, - 0.12342928, - 0.39336997, - -1.0589885, - -0.18283069, - 0.2684437, - 0.73796105, - -0.6703655, - -0.68068236, - -0.66759044, - -1.0901951, - -0.5106813, - -0.96412265, - -1.9438301, - -0.85578424, - -0.41996324, - -0.05746117, - -0.3703086, - -0.12315621, - 0.37754792, - 0.25224248, - 0.1764429, - 0.2722863, - 0.43875793, - 0.023116589, - -0.1834752, - -0.09653374, - 0.41532075, - 0.518231, - 0.94465345, - 0.35518748, - 0.024738887, - 0.11807369, - -0.88900566, - -1.0449126, - -1.2628095, - -1.5389984, - -0.38585764, - -0.049278054, - -0.001203401, - -2.1516373, - -1.8969449, - -1.6666429, - -1.4373965, - -1.1399691, - -0.96070504, - -0.7591397, - -0.57233524, - -0.38420576, - -0.5134428, - -0.8149971, - -1.1328924, - -1.4882698, - -1.7303176, - -1.9398566, - -2.362598, - -2.628697, - -2.7015107, - 0.29946396, - 0.16395292, - -0.016732011, - -0.2179417, - -0.08594879, - -0.12179102, - -0.031838257, - -1.133217, - -0.65203005, - -0.07354866, - -0.13969897, - -0.053670775, - 0.2387594, - -0.02341763, - 0.21328878, - 0.16788854, - 0.0029841808, - 0.70596975, - 0.4277372, - 0.07245287, - -0.3538455, - -0.82144934, - 0.059238266, - 0.4682887, - 0.07421347, - -0.5396107, - -1.1266553, - 0.009628562, - 0.56731033, - -0.07952969, - -0.66858876, - -1.1137723, - -0.013439064, - 0.6720101, - 0.09254162, - -0.6232515, - -1.0895752, - 0.59844166, - 0.7503044, - 0.35989845, - 0.06809973, - -0.30433115, - 0.7656578, - 0.87432474, - 0.3256659, - -0.17850627, - -0.78100276, - 0.7934581, - 0.76180786, - 0.2473535, - -0.22395408, - -0.85138994, - 0.17839378, - 0.38019207, - 0.1670859, - -0.35043854, - -0.7185335, - 0.66553617, - 0.7800855, - 0.25535333, - -0.3985635, - -0.9379245, - 0.8315205, - 0.81046355, - 0.19371231, - -0.48908424, - -1.06029, - 0.24463423, - 0.37040946, - 0.13473278, - 0.76268834, - 0.40193778, - 0.49190488, - 0.3941561, - 0.17311601, - 0.36899433, + -0.6802703, + -0.28444788, + -0.021505214, + 0.31426722, + 0.725807, + 0.04861894, + 0.022395486, + 0.35460377, + 0.8186577, + 1.1477909, + 0.020816429, + -0.5125699, + 0.09975668, + 0.7350411, + 1.1361241, + 0.0041389, + -0.72789055, + -0.10185401, + 0.6502742, + 1.1194495, + -0.12099037, + -0.3536748, + -0.1621543, + -0.06253067, + 0.38536447, + -0.90042037, + -0.8620838, + -0.38860455, + 0.16664527, + 0.81956667, + -0.8924154, + -0.8043265, + -0.2816984, + 0.30919588, + 0.9190814, + 0.15811087, + 0.017348154, + 0.119109005, + 0.40503943, + 0.7044783, + -0.7460125, + -0.7744139, + -0.22339065, + 0.45067206, + 1.0531454, + -0.9031834, + -0.77834356, + -0.1969934, + 0.47723556, + 1.2437361, + 0.0033503517, + 0.24015038, + 0.44044933, + 0.21035512, + 0.43758863, + 0.5880961, + 0.10375298, + 0.11180697, + -0.054874063, + -0.3336152, + -0.06320067, + 0.16781487, + -1.0435556, + -0.44259098, + -0.46363604, + -0.42849964, + -0.19675662, + -0.29619652, + -0.006010456, + -0.0055280733, + -0.00082149263, + -0.005897157, + 0.0069459323, + -0.0069796084, + -0.0075576873, + -0.00044307671, + 0.0042860033, + -0.004753387, + -2.0936751, + -1.8101083, + -1.8364398, + -1.6872697, + -1.7081169, + -1.5787632, + -0.4309761, + -0.7451281, + -0.9484365, + -1.3352867, + -1.48405, + -1.5347865, + -0.57844085, + -0.7317599, + -0.72284424, + -1.4768298, + -1.7695742, + -2.107465, + -0.5612714, + -0.7470295, + -0.75745964, + -0.69089335, + -0.71684897, + -0.7429865, + -0.44371578, + -0.5506147, + -0.4986936, + -0.6476761, + -0.647275, + -0.6409796, + -2.5714076, + -0.9697408, + -1.7405392, + -0.5898505, + -1.5196791, + -0.21539329, + -0.68531215, + -1.0640965, + -1.4058892, + -0.3059946, + 0.1780091, + 0.4632711, + -1.0998688, + -0.21734932, + 0.3337348, + 0.84397787, + -0.68102217, + -0.6838092, + -0.58862555, + -1.0966622, + -0.49869123, + -0.9707208, + -2.1250613, + -0.8748231, + -0.40944406, + -0.055052105, + -0.55827, + -0.107034594, + 0.376191, + 0.24546412, + 0.12600291, + 0.2677606, + 0.43855026, + 0.014077116, + -0.11173343, + -0.10563513, + 0.41504, + 0.5104568, + 1.1716671, + 0.34226274, + 0.034468766, + 0.13448167, + -0.91674167, + -1.0617892, + -1.2753325, + -1.5724424, + -0.48978204, + -0.056099676, + 0.0021412876, + -2.2745485, + -1.9295343, + -1.695296, + -1.456617, + -1.168899, + -0.99638087, + -0.7450253, + -0.56338406, + -0.45589548, + -0.5344145, + -0.8638079, + -1.1738772, + -1.5298804, + -1.767229, + -2.0007198, + -2.4205163, + -2.7022078, + -2.8618484, + 0.26976946, + 0.14407937, + -0.033904314, + -0.2163266, + -0.05321831, + -0.11565789, + -0.0067419023, + -1.401822, + -0.65911907, + -0.066302314, + -0.14311677, + -0.05234293, + 0.236291, + -0.026807414, + 0.21644105, + 0.17115621, + 0.009300139, + 0.56652296, + 0.36006233, + 0.07335235, + -0.285104, + -0.69186497, + 0.06294977, + 0.08626766, + -0.13357468, + -0.5709021, + -0.99409026, + 0.018414011, + 0.56736857, + -0.08885451, + -0.6851428, + -1.1335344, + -0.002255978, + 0.6834278, + 0.09771102, + -0.63633233, + -1.1132287, + 0.09029246, + 0.366278, + 0.15866646, + 0.044523273, + -0.16651995, + 0.8343959, + 0.8672732, + 0.32271302, + -0.17062128, + -0.7962079, + 0.87390405, + 0.76451427, + 0.2391873, + -0.24331492, + -0.9026406, + -0.31184247, + 0.0037084462, + -0.0496494, + -0.41353345, + -0.7890362, + 0.73757493, + 0.7690768, + 0.23919031, + -0.42382103, + -0.97509, + 0.91949433, + 0.8141576, + 0.18595916, + -0.51863337, + -1.1053522, + -0.03888931, + -0.37213227, + -0.66277474, + -0.110021256, + -0.3224403, + -0.6621227, + 0.13498296, + -0.06997698, + 0.100266695, + 0.24203323, + 0.39377648, + 0.12729771, + 0.77301854, + 0.388145, + 0.5082158, + 0.3946428, + 0.19055621, + 0.3777883, + 0.0011727996, + 0.0015943982, + 0.009848841, ]; #[allow(clippy::unreadable_literal)] @@ -2167,366 +2248,390 @@ pub const POLICY_PARAMS_5S_0KOMI: [f32; NUM_POLICY_FEATURES_5S] = [ #[allow(clippy::unreadable_literal)] pub const VALUE_PARAMS_5S_2KOMI: [f32; NUM_VALUE_FEATURES_5S] = [ - 0.7431918, - 0.8846564, - 0.1845974, - 0.28660935, - -0.061812345, - -0.17662258, - 0.053832892, - 1.4672474, - 1.4385068, - 1.5482235, - 1.4727604, - 1.5351564, - 1.3637509, - 0.45801193, - 0.6665342, - 0.64514804, - 0.8651726, - 1.0164679, - 0.9695221, - 0.5295546, - 0.6881439, - 0.8086551, - 1.3799706, - 1.6979948, - 1.7989008, - 0.5160399, - 0.5850857, - 0.65952677, - 0.6444313, - 0.69192976, - 0.69345033, - 0.3760276, - 0.46164772, - 0.4591789, - 0.561115, - 0.5929972, - 0.51636547, - 3.4950302, - 0.9697058, - 2.0151951, - 0.7794253, - 1.7577865, - 0.4409191, - 0.7163169, - 1.4060153, - 1.0667478, - 0.091189615, - -0.1697639, - -0.38422424, - 0.55636436, - 0.08508141, - -0.072667666, - -0.37555075, - 0.6816124, - 0.65859884, - 1.3348441, - 0.46856806, - 0.29430506, - 0.85798395, - 1.3738317, - 1.4838951, - 0.25269234, - -0.15869208, - 0.539253, - 0.013746569, - -0.27717456, - -0.15855353, - -0.60349315, - -0.17649274, - -0.42509958, - 0.003723758, - 0.44198614, - 0.08058394, - -0.5267777, - -0.40069315, - -0.3516375, - -0.48329446, - -0.005224982, - 0.041406307, - 1.1384104, - 1.6430545, - 1.89399, - 2.057301, - 2.2064188, - 1.7571275, - 0.31434548, - 0.89554286, - 1.912994, - 1.8336282, - 1.7972158, - 1.3156295, - 0.9926529, - 0.5780983, - 0.23003992, - -0.14753038, - 0.155181, - 0.2998766, - 0.5589297, - 0.71200544, - 0.88540566, - 1.1329614, - 1.2310313, - 1.4092203, - 1.7211108, - -0.2588201, - -0.13884483, - 0.008613938, - 0.28169343, - 0.08776774, - 0.1318394, - 0.021283418, - 2.9635968, - 0.996956, - 0.08707932, - 0.18143943, - -0.004912998, - -0.198776, - 0.01884541, - -0.17474571, - -0.14637865, + 0.74446344, + 0.8859245, + 0.1992634, + 0.29286447, + -0.06170318, + -0.18319705, + 0.04429413, + 2.27261, + 1.8881348, + 1.9775624, + 1.5754788, + 1.627925, + 1.4468323, + 0.46256867, + 0.6822469, + 0.6601342, + 0.90277475, + 1.0556202, + 1.0046836, + 1.238945, + 1.0448554, + 1.1599337, + 1.3919702, + 1.714937, + 1.8122239, + 0.56403035, + 0.6339404, + 0.7107489, + 0.69304717, + 0.74074906, + 0.7352482, + 0.42237368, + 0.5085308, + 0.50632375, + 0.6073982, + 0.63904154, + 0.55835897, + 4.45692, + 0.9670821, + 2.308254, + 0.7836844, + 1.8483094, + 0.42790747, + 0.73493975, + 1.5414227, + 1.0467908, + 0.07190475, + -0.19339876, + -0.39113688, + 0.54257125, + 0.061539035, + -0.11077739, + -0.3923549, + 0.65980995, + 0.6308859, + 1.3536993, + 0.44564486, + 0.2894399, + 0.8741134, + 1.339828, + 1.5041411, + 0.21303825, + -0.19559672, + 0.99083114, + -0.020527389, + -0.24895494, + -0.12233473, + -0.6051478, + -0.1441094, + -0.41427273, + 0.011824107, + 0.5159989, + 0.0886589, + -0.4889106, + -0.3604543, + -0.83525056, + -0.44741115, + -0.012111282, + 0.09556177, + 1.6603909, + 1.8145037, + 1.9766862, + 2.0512106, + 2.1773953, + 2.3949952, + 0.5754396, + 1.7786462, + 2.1640656, + 1.9261633, + 1.8571584, + 1.3458751, + 0.9763788, + 0.53390193, + 0.097183056, + -0.3172609, + 0.18559107, + 0.29868925, + 0.5501, + 0.67700076, + 0.81704074, + 1.0381272, + 1.0967755, + 1.256124, + 1.517816, + -0.2532174, + -0.13279389, + 0.014015469, + 0.2738714, + 0.034040973, + 0.11930274, + -0.0022282195, + 3.911661, + 0.9997815, + 0.10756198, + 0.19441013, + -0.016228357, + -0.19558957, + 0.018293671, + -0.1754363, + -0.14931251, 0.0011965558, - -0.7656875, - -0.39074624, - -0.10391989, - 0.3126952, - 0.76296014, - -0.075470746, - -0.5866744, - -0.068876825, - 0.5756323, - 1.0835325, - -0.02998161, - -0.6307077, - -0.037839457, - 0.5734767, - 1.0349436, - -0.031387184, - -0.64293295, - -0.12392305, - 0.6076983, - 1.0771825, - -0.7621117, - -0.8090763, - -0.37700135, - 0.014109384, - 0.48454392, - -0.8088335, - -0.8578106, - -0.35564026, - 0.18188913, - 0.77194166, - -0.75652564, - -0.778454, - -0.30349708, - 0.23439799, - 0.7581506, - -0.2423661, - -0.4244477, - -0.13820232, - 0.2818641, - 0.66440654, - -0.68792826, - -0.70340896, - -0.21143463, - 0.39280403, - 0.9656693, - -0.7637005, - -0.7540897, - -0.17299089, - 0.43889934, - 1.0089946, - -0.37335247, - -0.45606005, - -0.18274784, - -0.60404956, - -0.27178296, - -0.27405828, - -0.16709863, - 0.059404396, - -0.39653376, - 0.009378757, - 0.0029043844, - 0.008424118, - -0.0050589656, - -0.0051581357, - 0.007047029, - -0.0010688612, - -1.5830702, - -1.6385546, - -1.5797147, - -1.5743935, - -1.5680804, - -1.5137986, - -0.7889628, - -1.1173724, - -1.0997547, - -1.467508, - -1.5406178, - -1.6039227, - -0.021810303, - -0.58638704, - -0.5613051, - -1.3020766, - -1.5236421, - -1.8378314, - -0.4649411, - -0.67358524, - -0.7582045, - -0.63692844, - -0.7086263, - -0.6535926, - -0.32211593, - -0.43790895, - -0.4598203, - -0.48276028, - -0.52044547, - -0.4889638, - -2.8385801, - -0.65240425, - -2.1945267, - -0.25416422, - -1.304083, - 0.106970906, - -0.6032774, - -1.0520804, - -1.0563271, - -0.31863844, - 0.16054754, - 0.19535187, - -0.8101712, - -0.19007038, - 0.2101425, - 0.3133252, - -0.59581226, - -0.7559469, - -1.1133054, - -0.8680103, - -0.42127725, - -0.6430208, - -1.2472246, - -0.85559905, - -0.3885483, - 0.065331295, - -0.29931304, - 0.06735784, - 0.32065412, - 0.26069328, - 0.5534797, - 0.07244746, - 0.42660657, - -0.08229594, - -0.19249184, - 0.075703025, - 0.29228482, - 0.39812854, - 0.5283129, - 0.31124735, - 0.2431865, - -0.3367002, - -0.37088707, - -0.4645384, - -0.7031541, - -0.60153, - -0.18121213, - -0.017533395, - -0.0044962317, - -2.4705508, - -1.893978, - -1.5178452, - -1.2200019, - -0.67537034, - -0.60710686, - -0.5934572, - -0.27150482, - -0.18240376, - -1.1299914, - -1.3553871, - -1.4229317, - -1.6493583, - -1.8613967, - -2.0241337, - -2.329168, - -2.6611326, - -2.4098756, - 0.23337023, - 0.170565, - 0.022355814, - -0.22719565, - -0.04757354, - -0.15240987, - 0.07128969, - -1.1154665, - -0.42575172, - -0.048117697, - -0.121634066, - -0.01303587, - 0.07051585, - -0.028084971, - 0.2529485, - 0.22525309, - 0.0013488671, - 0.64448327, - 0.33072782, - -0.005944722, - -0.37885523, - -0.7880831, - -0.07397333, - 0.32537824, - -0.05425748, - -0.4687388, - -0.9407522, - -0.04122283, - 0.45277965, - -0.06534508, - -0.5871598, - -0.98759145, - -0.0483935, - 0.58433414, - 0.10861595, - -0.45415074, - -1.0375292, - 0.34515992, - 0.4990248, - 0.21451426, - -0.0066204877, - -0.5616248, - 0.6079144, - 0.6757527, - 0.22366336, - -0.21561147, - -0.66862094, - 0.659168, - 0.61399204, - 0.20180336, - -0.2438921, - -0.864213, - 0.33813357, - 0.38959002, - 0.13947742, - -0.18040363, - -0.36063242, - 0.6292542, - 0.61921537, - 0.17609297, - -0.35305586, - -0.8407019, - 0.74546945, - 0.69297165, - 0.19440667, - -0.3717661, - -0.95908004, - 0.17920223, - 0.10275268, - 0.037320703, - 0.519833, - 0.09148508, - 0.31934044, - 0.07971477, - -0.019601805, - 0.20833403, + -0.53276193, + -0.24287295, + -0.04634478, + 0.271975, + 0.6298383, + -0.19805695, + -0.037858315, + 0.12096359, + 0.40508375, + 0.5641099, + 0.073435605, + -0.5847123, + 0.0026287804, + 0.60230577, + 1.0794917, + 0.031975977, + -0.618399, + -0.10225221, + 0.6393168, + 1.1254218, + 0.06837201, + -0.257664, + -0.192437, + -0.1591609, + -0.03724256, + -0.83463717, + -0.7952384, + -0.3195344, + 0.20303847, + 0.7996726, + -0.8397736, + -0.7614584, + -0.27960095, + 0.2632095, + 0.8065905, + 0.5729252, + 0.121667564, + 0.06499005, + 0.166798, + 0.3573487, + -0.7282707, + -0.6485974, + -0.16734242, + 0.43314585, + 1.010886, + -0.854548, + -0.7363255, + -0.14680006, + 0.47496605, + 1.060031, + 0.007330484, + 0.045496866, + 0.080127046, + 0.06048889, + 0.041217886, + 0.18282504, + -0.0026177336, + -0.07030694, + -0.30398974, + -0.3768397, + -0.47924203, + -0.19281021, + -0.59367496, + -0.24151008, + -0.27177098, + -0.18144347, + 0.012418627, + -0.40664542, + -0.006010456, + -0.0055280733, + -0.00082149263, + -0.005897157, + 0.0069459323, + -0.0069796084, + -0.0075576873, + -0.00044307671, + 0.0042860033, + -0.004753387, + -2.531786, + -2.1177216, + -2.064841, + -1.5796459, + -1.5821562, + -1.5464638, + -0.7896057, + -1.1379808, + -1.122659, + -1.482195, + -1.5552973, + -1.6302608, + -0.8527904, + -0.97190654, + -0.962631, + -1.1915269, + -1.4486474, + -1.7799574, + -0.4962957, + -0.7063533, + -0.79800934, + -0.67111385, + -0.7408751, + -0.67925286, + -0.33392233, + -0.45333374, + -0.47941178, + -0.49579868, + -0.5360278, + -0.50276834, + -3.8795092, + -0.71586394, + -2.7295434, + -0.27944016, + -1.3507223, + 0.08627692, + -0.6351521, + -1.1155646, + -1.3684022, + -0.34398982, + 0.19023511, + 0.35511237, + -1.0122914, + -0.22941394, + 0.30473223, + 0.5204549, + -0.5874297, + -0.7349494, + -1.1017764, + -0.8669587, + -0.40801987, + -0.6626383, + -1.2579926, + -0.8613904, + -0.35975644, + 0.09339003, + -0.59427357, + 0.096587315, + 0.32866272, + 0.26388553, + 0.58630323, + 0.078436285, + 0.4218916, + -0.09021611, + -0.2441141, + 0.06510367, + 0.2917281, + 0.3958432, + 0.56902313, + 0.31367296, + 0.42196107, + -0.47100398, + -0.4596075, + -0.4724965, + -0.63612014, + -0.39186376, + -0.3153429, + -0.026108561, + -0.0009600875, + -2.659071, + -2.0184665, + -1.6147215, + -1.2777876, + -0.68750787, + -0.57742715, + -0.44770935, + -0.14593428, + -0.17780232, + -1.3786016, + -1.5625219, + -1.5939487, + -1.7870045, + -1.9720681, + -2.1126823, + -2.4019933, + -2.6860003, + -3.0875945, + 0.20432372, + 0.15129799, + 0.013938812, + -0.2232782, + -0.015540384, + -0.14194742, + 0.101163514, + -1.8428217, + -0.4493768, + -0.0696989, + -0.13811767, + -0.010655463, + 0.08838447, + -0.029466467, + 0.2560379, + 0.22876334, + 0.007477794, + 0.35427654, + 0.21253842, + 0.045614745, + -0.15861186, + -0.40303168, + -0.18372642, + -0.4548651, + -0.39260954, + -0.3718016, + -0.43206328, + 0.071033195, + 0.49815828, + -0.046320613, + -0.5989704, + -1.0416217, + 0.025580395, + 0.6070106, + 0.108398005, + -0.47502953, + -1.0912676, + -0.72844374, + -0.276695, + -0.107974365, + 0.10803582, + -0.051705293, + 0.8276564, + 0.69750035, + 0.22898465, + -0.2231582, + -0.71578366, + 0.8632608, + 0.6233799, + 0.19183461, + -0.2692477, + -0.931921, + -0.7127728, + -0.3830574, + -0.21387303, + -0.10126068, + 0.08173569, + 0.8732113, + 0.65376157, + 0.17976648, + -0.37660488, + -0.8929636, + 0.9574273, + 0.70445794, + 0.1823866, + -0.40663797, + -1.0071309, + -0.13735858, + -0.071567036, + -0.024194432, + -0.14666806, + -0.2154403, + 0.14518414, + -0.09511636, + 0.16196261, + 0.58283925, + 0.18830256, + 0.113657154, + 0.035777677, + 0.5150568, + 0.07032767, + 0.32537, + 0.08320267, + 0.03686488, + 0.21979481, + 0.0011727996, + 0.0015943982, + 0.009848841, ]; #[allow(clippy::unreadable_literal)] @@ -2735,390 +2840,406 @@ pub const POLICY_PARAMS_5S_2KOMI: [f32; NUM_POLICY_FEATURES_5S] = [ #[allow(clippy::unreadable_literal)] pub const VALUE_PARAMS_6S_0KOMI: [f32; NUM_VALUE_FEATURES_6S] = [ - 0.52677685, - 1.3776163, - 0.72810984, - 0.74450064, - 0.35262477, - 0.22489741, - 0.10288154, - 1.6575699, - 1.6362503, - 1.6762651, - 1.7296436, - 1.7553563, - 1.7154024, - 0.71689695, - 0.94949853, - 0.98590076, - 1.191967, - 1.2423357, - 1.3419768, - -0.03979104, - 0.7728359, - 0.9023577, - 1.1651727, - 1.4857488, - 1.7583991, - 0.3961836, - 0.49722832, - 0.49863383, - 0.5478813, - 0.6034816, - 0.6227017, - 0.39394715, - 0.5111089, - 0.51972556, - 0.58713776, - 0.63106626, - 0.64295465, - 2.323359, - 0.69057, - 1.7722232, - 0.35910806, - 1.414186, - 0.12294925, - 0.55165684, - 1.2703333, - 1.1485337, - 0.15646523, - -0.10737495, - -0.5946889, - 0.72604567, - 0.14227667, - -0.1342823, - -0.8233654, - 0.64035136, - 0.8066801, - 0.41075405, - 0.7230843, - 0.40080222, - 0.53828645, - 1.4745706, - 0.79656696, - 0.5682789, - -0.0876107, - 0.022663163, - 0.08228226, - -0.31862795, - -0.15351166, - -0.42730877, - -0.1122215, - -0.35489747, - 0.020045422, - 0.38068625, - 0.004962443, - -0.33914983, - -0.34676778, - -1.17509, - -0.42234838, - 0.02962439, - -0.033302523, - 0.4955061, - 0.93817747, - 1.0390549, - 1.2134665, - 1.9667195, - 0.6322555, - 0.13329017, - 0.8788953, - 1.5319477, - 1.4187906, - 1.1952261, - 1.1205842, - 0.93437505, - 0.8501854, - 0.9264345, - 0.43751803, - 0.7940154, - 0.9416509, - 1.0048789, - 1.0986173, - 1.0722828, - 1.0359914, - 1.1049614, - 1.1191949, - 1.2196469, - -0.20725995, - -0.2031392, - 0.01741985, - 0.3016369, - 0.09408706, - 0.19695292, - 0.068682216, - 1.447181, - 0.84525305, - 0.04215191, - 0.1431699, - 0.059723984, - -0.1665012, - 0.036800664, - -0.16661787, - -0.13958026, + 0.5253215, + 1.3762075, + 0.72730494, + 0.7440856, + 0.3515928, + 0.22421339, + 0.10221959, + 1.925999, + 1.7639575, + 1.8038899, + 1.7175462, + 1.7466991, + 1.7071389, + 0.6779204, + 0.9245847, + 0.9662424, + 1.1833712, + 1.240461, + 1.3463519, + 0.17968313, + 0.8669231, + 1.0097479, + 1.1275097, + 1.4636419, + 1.7468617, + 0.39508116, + 0.49705023, + 0.49915227, + 0.5489564, + 0.6036633, + 0.6205196, + 0.39374897, + 0.51148427, + 0.5209159, + 0.58763105, + 0.63067764, + 0.6428661, + 2.328944, + 0.687426, + 1.774563, + 0.3590999, + 1.413541, + 0.12299153, + 0.5477659, + 1.270343, + 1.1409347, + 0.15526539, + -0.10718679, + -0.60501957, + 0.7226654, + 0.14557783, + -0.13143736, + -0.8276589, + 0.6436797, + 0.8055839, + 0.4133738, + 0.72099394, + 0.39773124, + 0.5432647, + 1.4638195, + 0.80314183, + 0.5662986, + -0.08868053, + 0.017469134, + 0.08606761, + -0.3200623, + -0.15377608, + -0.43625697, + -0.11345321, + -0.35420528, + 0.020165835, + 0.3958578, + 0.006311472, + -0.34029907, + -0.34542295, + -1.1627085, + -0.42495808, + 0.030147014, + -0.031978924, + 0.5166396, + 0.94809395, + 1.0407002, + 1.2088215, + 1.9648633, + 0.63346046, + 0.13475816, + 0.889201, + 1.529552, + 1.4141421, + 1.2000058, + 1.1280923, + 0.9416862, + 0.8596245, + 0.9389782, + 0.44974622, + 0.776107, + 0.9280245, + 0.99374586, + 1.0896912, + 1.0667611, + 1.0358291, + 1.1064796, + 1.1210536, + 1.2285006, + -0.20710298, + -0.20243366, + 0.020790873, + 0.2952964, + 0.06777797, + 0.19040745, + 0.05938006, + 1.433867, + 0.8450785, + 0.053868964, + 0.15060851, + 0.05551107, + -0.16563398, + 0.036960155, + -0.16634974, + -0.14023794, 0.0011965558, - -0.3684968, - -0.2117921, - -0.13463981, - -0.018338695, - 0.20830256, - 0.46716586, - 0.039810926, - -0.2838245, - -0.08379958, - 0.19598818, - 0.6058959, - 0.90774053, - 0.01782463, - -0.25503814, - -0.0028462098, - 0.24673478, - 0.68284255, - 0.8533692, - -0.017771948, - -0.34813178, - -0.03510451, - 0.27883953, - 0.6572555, - 0.8052202, - -0.5137994, - -0.56117445, - -0.43358406, - -0.29591548, - -0.07366374, - 0.14917396, - -0.67243534, - -0.7215666, - -0.4997469, - -0.22306706, - -0.035236914, - 0.30495173, - -0.68838894, - -0.68133384, - -0.42564332, - -0.13869901, - 0.14689483, - 0.4709461, - -0.09716116, - -0.22113325, - -0.2079032, - -0.07112636, - 0.2407405, - 0.57027286, - -0.44574216, - -0.42779562, - -0.21858782, - 0.04059342, - 0.428635, - 0.8151522, - -0.60600865, - -0.536882, - -0.29193303, - 0.04061725, - 0.4529686, - 0.7957314, - -0.5765388, - -0.14659385, - -0.14029077, - -0.5765928, - -0.80026805, - -0.40756023, - -0.43321082, - -0.23226875, - -0.11596294, - -0.0055280733, - -0.00082149263, - -0.005897157, - 0.0069459323, - -0.0069796084, - -0.0075576873, - -0.00044307671, - 0.0042860033, - -0.004753387, - -1.7108212, - -1.6927016, - -1.6755744, - -1.689655, - -1.741076, - -1.774119, - -0.45203015, - -0.54393435, - -0.77253133, - -0.8851289, - -1.0538572, - -1.2347349, - -0.22589399, - -0.5443098, - -0.6236035, - -1.0709316, - -1.3465515, - -1.7902461, - -0.4861489, - -0.5390469, - -0.6011688, - -0.57005966, - -0.688834, - -0.6969319, - -0.45658216, - -0.47412288, - -0.4579253, - -0.59335184, - -0.60064656, - -0.61365145, - -2.454331, - -1.0519127, - -1.7678195, - -0.6109258, - -1.6602814, - -0.13720523, - -0.7395815, - -1.3633318, - -1.4635445, - -0.22373909, - 0.075237766, - 0.6203086, - -0.90246403, - -0.28566217, - 0.052646674, - 0.813734, - -0.5791051, - -0.8580506, - -1.2939769, - -0.61700624, - -0.3404574, - -0.35545766, - -0.8733906, - -0.7765755, - -0.33031693, - 0.073283605, - -0.049641673, - 0.10915266, - 0.38492873, - 0.21463168, - 0.5315532, - 0.09083994, - 0.34069005, - -0.019084679, - 0.03862203, - 0.056769133, - 0.3394418, - 0.63759005, - 0.5768151, - 0.4467732, - 0.08184431, - 0.1664119, - -0.95797974, - -1.0814726, - -1.2686728, - -1.531486, - -0.23283865, - -0.019619396, - -0.0028463053, - -1.5463454, - -1.3720031, - -1.2901881, - -1.09623, - -1.0008837, - -0.77542424, - -0.6258004, - -0.76104313, - -0.16855958, - -1.1657301, - -1.170087, - -1.2152046, - -1.1941228, - -1.1473842, - -1.248301, - -1.3551257, - -1.4500514, - -1.744627, - 0.26207352, - 0.22698463, - 0.005967949, - -0.2175663, - -0.08241258, - -0.17570959, - -0.04003892, - -1.298933, - -0.61153954, - -0.04850853, - -0.12009117, - -0.050116368, - 0.12108745, - -0.037981197, - 0.1729927, - 0.14611691, - 0.007477794, - 0.27245647, - 0.25172493, - 0.15503004, - -0.03358431, - -0.25343722, - -0.46471986, - 0.043973923, - 0.32485086, - 0.1553138, - -0.11391202, - -0.44492835, - -0.754806, - 0.00568806, - 0.29229808, - 0.06812497, - -0.17943546, - -0.56289715, - -0.74985325, - -0.024518821, - 0.37043393, - 0.12322845, - -0.15621816, - -0.53769356, - -0.85171825, - 0.34719577, - 0.33373845, - 0.2863405, - 0.08293446, - -0.15849078, - -0.23281938, - 0.53795785, - 0.5693505, - 0.37409064, - 0.094197854, - -0.12096052, - -0.25746155, - 0.5592565, - 0.58858615, - 0.37465376, - 0.11141922, - -0.17040052, - -0.50346804, - 0.16965704, - 0.26077047, - 0.21360631, - 0.08621939, - -0.19394912, - -0.49720454, - 0.36645865, - 0.4114592, - 0.19731049, - -0.08293207, - -0.41021487, - -0.6985602, - 0.5091297, - 0.5256399, - 0.25089547, - -0.07286224, - -0.45669407, - -0.71479636, - 0.2051366, - 0.15477476, - 0.09131627, - 0.44674346, - 0.034987636, - 0.390291, - 0.3694105, - -0.07653813, - 0.2536276, - 0.0015943982, - 0.009848841, + -0.27293563, + -0.16049002, + -0.12678865, + -0.055507846, + 0.12435743, + 0.33889943, + 0.104946464, + 0.04080964, + 0.108427934, + 0.25435498, + 0.53518844, + 0.71518624, + -0.024179492, + -0.2674189, + -0.0105931265, + 0.24616334, + 0.6884112, + 0.8728321, + -0.05702909, + -0.36433175, + -0.046779804, + 0.27406543, + 0.65835637, + 0.81570226, + -0.10467647, + -0.24787965, + -0.25530404, + -0.2519775, + -0.16258115, + -0.06614574, + -0.7320094, + -0.729103, + -0.50782824, + -0.23069738, + -0.038094997, + 0.30785292, + -0.75570935, + -0.69443893, + -0.43364704, + -0.14011195, + 0.1527702, + 0.48863837, + 0.31460762, + 0.103253216, + -0.018630765, + 0.013705474, + 0.23944926, + 0.50354654, + -0.509019, + -0.43990088, + -0.22536555, + 0.037484054, + 0.43057016, + 0.8296029, + -0.6723295, + -0.5496064, + -0.2986983, + 0.040045064, + 0.46014467, + 0.8121928, + -0.047152333, + 0.04760333, + 0.3587935, + 0.10391628, + 0.133498, + 0.46417397, + -0.055113006, + 0.0865202, + -0.031219894, + -0.57651067, + -0.15005273, + -0.14026043, + -0.57495815, + -0.79957247, + -0.40756136, + -0.43350923, + -0.23560959, + -0.1172012, + 0.009866308, + 0.0054509398, + -0.0066909315, + 0.0056339707, + 0.005903894, + -0.0017206976, + -0.0018851925, + 0.007400766, + -1.8900775, + -1.7871385, + -1.7733483, + -1.6998065, + -1.7572179, + -1.7933517, + -0.42571646, + -0.53345615, + -0.76052433, + -0.89550763, + -1.0576999, + -1.2353834, + -0.36773595, + -0.6201628, + -0.7010968, + -1.0620342, + -1.3453082, + -1.8011515, + -0.48144963, + -0.53631395, + -0.5984394, + -0.56839985, + -0.68604285, + -0.6915131, + -0.45653886, + -0.47597077, + -0.4604547, + -0.59617454, + -0.60254705, + -0.61453146, + -2.4635189, + -1.0519779, + -1.786378, + -0.616205, + -1.6738445, + -0.13927944, + -0.7400635, + -1.3752116, + -1.4651967, + -0.23208939, + 0.08126829, + 0.60013807, + -0.91170126, + -0.28645805, + 0.048485972, + 0.8118066, + -0.58324504, + -0.8617632, + -1.2975961, + -0.62298, + -0.34083772, + -0.3564448, + -0.8830335, + -0.77906036, + -0.32906568, + 0.070248455, + -0.060204964, + 0.10595138, + 0.38507682, + 0.21388042, + 0.5523565, + 0.089031726, + 0.34090006, + -0.019460456, + 0.024474598, + 0.05571595, + 0.33556297, + 0.6350486, + 0.55854696, + 0.44841287, + 0.09063015, + 0.15724608, + -0.965008, + -1.0833607, + -1.2627232, + -1.5180786, + -0.23763992, + -0.018025657, + -0.0015951212, + -1.5381778, + -1.3650976, + -1.2840654, + -1.0917001, + -0.9979869, + -0.7789371, + -0.62929875, + -0.76370585, + -0.1790527, + -1.1635579, + -1.1727182, + -1.2191904, + -1.202029, + -1.157659, + -1.2629862, + -1.3724914, + -1.4663517, + -1.7571698, + 0.25636, + 0.22004683, + -0.00046516364, + -0.21585853, + -0.06911305, + -0.17315118, + -0.031282447, + -1.3043046, + -0.6104238, + -0.045888186, + -0.11885417, + -0.05265238, + 0.1239771, + -0.038392525, + 0.17351927, + 0.14643039, + 0.005978748, + 0.20837763, + 0.20755073, + 0.12999, + -0.036830418, + -0.23380914, + -0.42384002, + 0.10456899, + 0.105868585, + 0.026828764, + -0.15494953, + -0.39513633, + -0.6223809, + -0.022913925, + 0.26851907, + 0.053499885, + -0.18892293, + -0.56732255, + -0.7532428, + -0.0671299, + 0.34240192, + 0.10409668, + -0.16620666, + -0.5378861, + -0.84111625, + 0.065524265, + 0.13433541, + 0.17873327, + 0.06657747, + -0.08699031, + -0.09062244, + 0.53489804, + 0.54845697, + 0.3609705, + 0.09254684, + -0.11207768, + -0.2446962, + 0.5438391, + 0.5577878, + 0.35354802, + 0.09962254, + -0.17342012, + -0.50166714, + -0.11699893, + 0.041926797, + 0.08608339, + 0.008406764, + -0.19797522, + -0.40894142, + 0.35854775, + 0.38723287, + 0.18098193, + -0.089684285, + -0.4107651, + -0.6941487, + 0.49329364, + 0.49487394, + 0.2282827, + -0.08685141, + -0.4635629, + -0.7149052, + 0.078359425, + -0.09524654, + -0.33624437, + -0.032955877, + -0.036220502, + -0.33854374, + 0.12310246, + 0.08939046, + -0.28702775, + 0.20345879, + 0.1682643, + 0.092467636, + 0.4468478, + 0.02779658, + 0.40558934, + 0.3666894, + -0.06638849, + 0.25690126, + -0.005392799, ]; #[allow(clippy::unreadable_literal)] @@ -3335,390 +3456,406 @@ pub const POLICY_PARAMS_6S_0KOMI: [f32; NUM_POLICY_FEATURES_6S] = [ #[allow(clippy::unreadable_literal)] pub const VALUE_PARAMS_6S_2KOMI: [f32; NUM_VALUE_FEATURES_6S] = [ - 0.17229153, - 0.264087, - -0.11551477, - -0.2951409, - -0.6340139, - -0.7685744, - -0.7749833, - 1.5372435, - 1.5092891, - 1.525709, - 1.5499895, - 1.6084298, - 1.5887618, - 0.30863583, - 0.45061687, - 0.6094576, - 0.8064083, - 0.959253, - 1.031676, - 0.5051543, - 0.5391304, - 0.78070325, - 1.1836715, - 1.5253447, - 1.8399162, - 0.35733765, - 0.49771166, - 0.56471807, - 0.59162474, - 0.6641804, - 0.70285743, - 0.3619808, - 0.40967125, - 0.43293595, - 0.52111745, - 0.5584253, - 0.5747827, - 3.4650912, - 1.0985377, - 2.0768583, - 0.6913695, - 1.7492591, - 0.37055948, - 0.9179304, - 1.336736, - 1.4634312, - 0.2108562, - -0.014977078, - -0.31417167, - 0.8755782, - 0.2273331, - -0.0767475, - -0.41906473, - 0.5782624, - 0.6088123, - 0.90024847, - 0.53059334, - 0.27372912, - 0.5458853, - 0.89940846, - 0.7760888, - 0.38641942, - -0.14528191, - 0.32873985, - 0.19016244, - -0.35136896, - -0.11777934, - -0.2785619, - -0.1123709, - -0.32046947, - -0.035665534, - -0.054751325, - -0.013830796, - -0.25439528, - -0.36349788, - -0.9462539, - -0.44470134, - 0.00077606644, - 0.021450194, - 0.26786473, - 1.0601447, - 1.2171279, - 1.4891306, - 2.0205555, - 1.0578886, - 0.21421742, - 1.0109899, - 1.7711909, - 1.5023983, - 1.2776086, - 1.0736384, - 0.9429681, - 0.68969613, - 0.559586, - 0.2315759, - 0.8058793, - 0.8376798, - 0.86985016, - 0.832715, - 0.7848382, - 0.7959257, - 0.77694225, - 0.79591155, - 0.8355637, - -0.21627444, - -0.21252656, - -0.006382326, - 0.24422906, - 0.04576478, - 0.15990077, - -0.0035749278, - 1.5380396, - 0.68067557, - 0.043168128, - 0.12968823, - 0.028285038, - -0.13895537, - 0.031363584, - -0.13323519, - -0.12686588, + 0.17281419, + 0.264805, + -0.11186912, + -0.29102337, + -0.61092955, + -0.76786673, + -0.7554043, + 1.8842833, + 1.6793996, + 1.6940719, + 1.5433341, + 1.604221, + 1.5845268, + 0.2984087, + 0.4450218, + 0.6053174, + 0.808239, + 0.9603414, + 1.0309373, + 0.826145, + 0.6797363, + 0.93133235, + 1.135476, + 1.4949002, + 1.8196776, + 0.35303763, + 0.49421906, + 0.56364065, + 0.58904684, + 0.6619775, + 0.6993996, + 0.3583335, + 0.40644994, + 0.43033993, + 0.51581675, + 0.55393565, + 0.5700895, + 3.288247, + 1.0900425, + 2.0327883, + 0.68778485, + 1.738845, + 0.36787635, + 0.9020738, + 1.3354539, + 1.4455373, + 0.22053765, + -0.014441917, + -0.31269214, + 0.87022203, + 0.2241461, + -0.07109215, + -0.4211904, + 0.58365875, + 0.612944, + 0.89678055, + 0.54070634, + 0.27352288, + 0.550251, + 0.9104687, + 0.7754562, + 0.38492268, + -0.13821165, + 0.2911486, + 0.18958636, + -0.35929275, + -0.123502575, + -0.2887502, + -0.12023692, + -0.31738773, + -0.035067797, + -0.046032082, + -0.0120725855, + -0.26186544, + -0.37565136, + -0.86947656, + -0.4468686, + 0.0017178736, + 0.023806604, + 0.25448182, + 1.1034623, + 1.2362546, + 1.4917396, + 2.0100183, + 0.9852764, + 0.18650676, + 0.88753647, + 1.7162877, + 1.4799799, + 1.2705824, + 1.0813687, + 0.9483497, + 0.70009184, + 0.58412683, + 0.26370537, + 0.7718064, + 0.8094338, + 0.8529817, + 0.82691216, + 0.7840699, + 0.8098613, + 0.7994403, + 0.8288054, + 0.87703466, + -0.21357866, + -0.2081319, + -0.004002547, + 0.23896669, + 0.01843733, + 0.15520686, + -0.014545052, + 1.4265842, + 0.6798554, + 0.05120361, + 0.1365403, + 0.023485243, + -0.13383321, + 0.031369563, + -0.1332541, + -0.12725382, 0.0011965558, - -0.3281977, - -0.2259473, - -0.16275458, - -0.016559593, - 0.18904544, - 0.4219087, - -0.06194341, - -0.34153154, - -0.15963764, - 0.16768803, - 0.5263147, - 0.79377973, - -0.018911917, - -0.33942387, - -0.08376899, - 0.20097221, - 0.55426985, - 0.7112755, - -0.040880475, - -0.4678851, - -0.16329244, - 0.15827283, - 0.5580852, - 0.791999, - -0.49518558, - -0.5398061, - -0.3553466, - -0.18503831, - 0.008449885, - 0.39075682, - -0.63101006, - -0.6579789, - -0.415014, - -0.15758066, - 0.15691742, - 0.4259432, - -0.57291967, - -0.6128423, - -0.36707288, - -0.09660915, - 0.17814593, - 0.57202655, - -0.11002744, - -0.29816216, - -0.24068601, - -0.06266228, - 0.21736628, - 0.48279455, - -0.40104184, - -0.45173776, - -0.22293104, - 0.040642492, - 0.40232292, - 0.6457046, - -0.60695153, - -0.5512893, - -0.28228074, - 0.06555796, - 0.43610123, - 0.7509893, - -0.38897997, - -0.3188491, - -0.22325103, - -0.69138336, - -0.70358986, - -0.29685387, - -0.38099775, - -0.26591885, - -0.2884034, - -0.0055280733, - -0.00082149263, - -0.005897157, - 0.0069459323, - -0.0069796084, - -0.0075576873, - -0.00044307671, - 0.0042860033, - -0.004753387, - -1.5926778, - -1.5860778, - -1.622855, - -1.6286465, - -1.6719478, - -1.6382838, - -0.6395288, - -0.92179334, - -1.0363075, - -1.1549753, - -1.3084995, - -1.3970642, - -0.29979607, - -0.5799602, - -0.8495356, - -1.17072, - -1.5463668, - -1.8309733, - -0.49304953, - -0.5413261, - -0.5872105, - -0.6818672, - -0.66960084, - -0.71020144, - -0.3395552, - -0.42106557, - -0.44324753, - -0.51925427, - -0.5625778, - -0.5629027, - -3.038486, - -0.5746488, - -2.1339061, - -0.25974077, - -1.5809911, - 0.26206616, - -0.65856665, - -1.3149089, - -1.2780025, - -0.27729368, - -0.14350499, - 0.3124162, - -0.93821734, - -0.267488, - 0.04123879, - 0.45775348, - -0.42089283, - -0.7011009, - -1.2488247, - -0.6442938, - -0.42009985, - -0.41599837, - -0.4257754, - -0.60466224, - -0.50042784, - 0.27040932, - -0.3058565, - -0.09536414, - 0.34901237, - 0.21932901, - 0.44861314, - 0.07781213, - 0.31515792, - -0.056498867, - -0.17958269, - 0.03519349, - 0.27513435, - 0.45598802, - 0.5564565, - 0.49193224, - -0.17318295, - -0.014992692, - -0.56546146, - -0.77318317, - -1.0101633, - -1.4803888, - -0.2267055, - -0.16191544, - 0.0009892297, - -1.6273572, - -1.3859569, - -1.1258521, - -1.0200708, - -0.77055275, - -0.60834175, - -0.36606526, - -0.46879396, - -0.13208462, - -1.3267335, - -1.327898, - -1.301158, - -1.2971542, - -1.279153, - -1.2473298, - -1.2989886, - -1.3783206, - -1.4841461, - 0.20905079, - 0.22623026, - 0.0068231258, - -0.23532467, - -0.04446581, - -0.15603775, - -0.013159306, - -1.465774, - -0.47924876, - -0.014797211, - -0.080611, - -0.09647655, - 0.11078001, - -0.031185066, - 0.18141149, - 0.13798071, - 0.007477794, - 0.31240374, - 0.21314771, - 0.10472828, - -0.058980733, - -0.24710302, - -0.46143165, - -0.05778052, - 0.15335616, - -0.008639259, - -0.26372793, - -0.5824746, - -0.77015096, - -0.031049047, - 0.21480343, - 0.011496659, - -0.21172325, - -0.5143131, - -0.7049415, - -0.04762732, - 0.3640666, - 0.10049949, - -0.2007253, - -0.58475804, - -0.8357805, - 0.38812158, - 0.5167361, - 0.37993607, - 0.263736, - -0.008222746, - -0.2598166, - 0.5119715, - 0.573046, - 0.37468287, - 0.17204106, - -0.09863129, - -0.4995051, - 0.5193584, - 0.5254586, - 0.30471575, - 0.07313611, - -0.15866391, - -0.49629816, - 0.14120509, - 0.24804534, - 0.21064621, - 0.06798307, - -0.19417469, - -0.44567162, - 0.37035024, - 0.39414254, - 0.20738044, - -0.053459555, - -0.34459695, - -0.6465355, - 0.57027346, - 0.5117275, - 0.28199753, - -0.012164514, - -0.3830853, - -0.73667634, - 0.33793145, - 0.14585415, - 0.02361368, - 0.49919868, - 0.20406537, - 0.004168112, - 0.20786104, - -0.04893791, - 0.14994046, - 0.0015943982, - 0.009848841, + -0.19836581, + -0.15260199, + -0.14100824, + -0.050334793, + 0.0974065, + 0.27667612, + -0.028700136, + 0.08716952, + 0.095877595, + 0.25183603, + 0.43874037, + 0.5449883, + -0.04111116, + -0.33918458, + -0.081004485, + 0.20568566, + 0.56150377, + 0.7255978, + -0.06321236, + -0.47076634, + -0.16456765, + 0.16006476, + 0.5610546, + 0.80051863, + 0.056986462, + -0.11822691, + -0.10882406, + -0.11071367, + -0.088106245, + 0.12690352, + -0.68561804, + -0.65037376, + -0.41394112, + -0.16001326, + 0.15261202, + 0.428022, + -0.635732, + -0.6131387, + -0.36571792, + -0.093445465, + 0.18341479, + 0.5770836, + 0.43526217, + 0.12750779, + 0.011702701, + 0.05948873, + 0.1929896, + 0.39329502, + -0.46047124, + -0.45137402, + -0.22214232, + 0.040973548, + 0.4051423, + 0.6529103, + -0.66764873, + -0.5518896, + -0.2793152, + 0.07317324, + 0.4455046, + 0.76234496, + -0.03863445, + 0.048894003, + 0.22315869, + 0.096084245, + 0.1157918, + 0.22913374, + -0.04027001, + -0.07756221, + -0.19409607, + -0.40087935, + -0.33339643, + -0.22964358, + -0.6946231, + -0.7064074, + -0.29563707, + -0.38670555, + -0.28900674, + -0.29456967, + 0.009866308, + 0.0054509398, + -0.0066909315, + 0.0056339707, + 0.005903894, + -0.0017206976, + -0.0018851925, + 0.007400766, + -1.9025247, + -1.7425479, + -1.7797096, + -1.6284101, + -1.6789584, + -1.6520143, + -0.62500244, + -0.9183362, + -1.0323185, + -1.1631757, + -1.3171886, + -1.4020954, + -0.57035965, + -0.70606697, + -0.98280674, + -1.1282097, + -1.5274031, + -1.8259516, + -0.4847857, + -0.53311163, + -0.5804887, + -0.67604184, + -0.66289485, + -0.7025512, + -0.34072718, + -0.42110103, + -0.4446203, + -0.5186575, + -0.5626296, + -0.56167924, + -2.847587, + -0.56854284, + -2.07213, + -0.25286362, + -1.5702834, + 0.25198495, + -0.6563695, + -1.3111328, + -1.2163734, + -0.28524005, + -0.13306016, + 0.3003233, + -0.9218822, + -0.2852375, + 0.016928941, + 0.43093374, + -0.430605, + -0.7108876, + -1.2436647, + -0.65993595, + -0.42045292, + -0.41935605, + -0.4510095, + -0.6051989, + -0.5031299, + 0.26565072, + -0.26377144, + -0.10996143, + 0.35356736, + 0.22157945, + 0.44042408, + 0.08490908, + 0.31361908, + -0.057505462, + -0.16518144, + 0.030783841, + 0.27205443, + 0.45850462, + 0.5346894, + 0.4953043, + -0.14763853, + -0.014792236, + -0.5681891, + -0.75653857, + -0.97408396, + -1.4103861, + -0.20049226, + -0.13964891, + 0.0024515367, + -1.5948328, + -1.3751838, + -1.1191384, + -1.0157688, + -0.78117275, + -0.6248849, + -0.38705528, + -0.47485027, + -0.13056596, + -1.2910465, + -1.3074727, + -1.2913764, + -1.2978929, + -1.2874966, + -1.2693439, + -1.3243597, + -1.3972489, + -1.5105149, + 0.19667254, + 0.21671258, + -0.0005950375, + -0.23429374, + -0.020088593, + -0.15035008, + -3.9791925e-5, + -1.3094358, + -0.47357458, + -0.029012706, + -0.09222093, + -0.09053831, + 0.10981825, + -0.031488623, + 0.18236105, + 0.1375754, + 0.005978748, + 0.19650765, + 0.1441219, + 0.076810434, + -0.041973397, + -0.18331753, + -0.35645717, + -0.029077917, + -0.21546164, + -0.2261186, + -0.32972044, + -0.49599537, + -0.53314155, + -0.03984559, + 0.20229289, + 0.005425007, + -0.219436, + -0.52291185, + -0.702637, + -0.073311605, + 0.34135014, + 0.08945098, + -0.2111388, + -0.5863494, + -0.8353207, + -0.10361628, + 0.14738375, + 0.17223692, + 0.21085824, + 0.09402973, + -0.015165068, + 0.53183293, + 0.5517496, + 0.36246535, + 0.1693063, + -0.095525295, + -0.4838605, + 0.5380929, + 0.5019184, + 0.2896796, + 0.06550718, + -0.15971291, + -0.4952261, + -0.3437202, + -0.11930537, + -0.0022514865, + -0.027230065, + -0.15176667, + -0.35704568, + 0.3959393, + 0.3779669, + 0.19599721, + -0.06054718, + -0.34872517, + -0.6490866, + 0.58492863, + 0.4870187, + 0.26167694, + -0.026893638, + -0.3932909, + -0.74484843, + 0.0302986, + -0.058691364, + -0.21338576, + -0.011950933, + -0.10540295, + -0.18303609, + 0.12348479, + 0.14778523, + 0.22239034, + 0.34733197, + 0.17782913, + 0.02569337, + 0.49957815, + 0.18567564, + 0.0056250487, + 0.21071737, + -0.020200944, + 0.15282497, + -0.005392799, ]; #[allow(clippy::unreadable_literal)] diff --git a/src/evaluation/value_eval.rs b/src/evaluation/value_eval.rs index 43ec49c..a84654c 100644 --- a/src/evaluation/value_eval.rs +++ b/src/evaluation/value_eval.rs @@ -425,10 +425,10 @@ pub fn static_eval_game_phase( for i in 0..(S as u8) { let rank = BitBoard::full().rank::(i); let file = BitBoard::full().file::(i); - line_score::(group_data, rank, i, white_value); - line_score::(group_data, rank, i, black_value); - line_score::(group_data, file, i, white_value); - line_score::(group_data, file, i, black_value); + line_score::(position, group_data, rank, i, white_value); + line_score::(position, group_data, rank, i, black_value); + line_score::(position, group_data, file, i, white_value); + line_score::(position, group_data, file, i, black_value); } for i in 0..S as u8 { @@ -671,6 +671,7 @@ fn critical_squares_eval( + position: &Position, group_data: &GroupData, line: BitBoard, i: u8, @@ -684,6 +685,53 @@ fn line_score( if !(Them::blocking_stones(group_data) & line).is_empty() { value.eval(indexes.line_control_their_blocking_piece, index, f16::ONE); } else if !((Us::walls(group_data) | Them::flats(group_data)) & line).is_empty() { + // Specific bonus for strong lines at the edge of the board, + // if they have a flat in our line that is flanked by another one of their pieces + if road_pieces_in_line >= S - 3 && (i == 0 || i == S as u8 - 1) { + let mut guarded = false; + // TODO: Also check protection for critical squares? + for square in (Them::flats(group_data) & line).into_iter() { + let (direction, neighbor) = square + .direction_neighbors() + .find(|(_, neigh)| (BitBoard::empty().set_square(*neigh) & line).is_empty()) + .unwrap(); + if let Some(neighbor_piece) = position.top_stones()[neighbor] { + if Them::piece_is_ours(neighbor_piece) + && !direction + .orthogonal_directions() + .into_iter() + .flat_map(|dir| neighbor.go_direction(dir)) + .all(|sq| { + position.top_stones()[sq].is_some_and(|p| Us::is_road_stone(p)) + }) + { + match neighbor_piece.role() { + Flat => value.eval( + indexes.line_control_guarded_flat, + index + 3 - S, + f16::ONE, + ), + Wall => value.eval( + indexes.line_control_guarded_wall, + index + 3 - S, + f16::ONE, + ), + Cap => value.eval( + indexes.line_control_guarded_cap, + index + 3 - S, + f16::ONE, + ), + } + guarded = true; + } + } + } + // The guarded bonus can be applied several times, but if it's applied at least once, + // skip the regular `line_control_other` value + if guarded { + return; + } + } value.eval(indexes.line_control_other, index, f16::ONE); } else { value.eval(indexes.line_control_empty, index, f16::ONE);