From 6131276373af0f11033cc9bfc25f4094c9c6292e Mon Sep 17 00:00:00 2001 From: Morten Lohne Date: Wed, 17 Jul 2024 16:20:05 +0200 Subject: [PATCH] Value bonus for having a stack that can create a road with a continuously pure spread. +15 +/- 9 elo --- src/evaluation/parameters.rs | 5607 +++++++++++++++--------------- src/evaluation/value_eval.rs | 103 +- src/position/mod.rs | 4 +- src/tests/board_generic_tests.rs | 14 +- 4 files changed, 2969 insertions(+), 2759 deletions(-) diff --git a/src/evaluation/parameters.rs b/src/evaluation/parameters.rs index e7150da..8ecc711 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 = 384; +pub const NUM_VALUE_FEATURES_4S: usize = 400; pub const NUM_POLICY_FEATURES_4S: usize = 176; -pub const NUM_VALUE_FEATURES_5S: usize = 520; +pub const NUM_VALUE_FEATURES_5S: usize = 536; pub const NUM_POLICY_FEATURES_5S: usize = 200; -pub const NUM_VALUE_FEATURES_6S: usize = 544; +pub const NUM_VALUE_FEATURES_6S: usize = 560; pub const NUM_POLICY_FEATURES_6S: usize = 208; const fn value_padding() -> usize { match S { - 4 => 10, - 5 => 6, - 6 => 10, + 4 => 14, + 5 => 10, + 6 => 14, _ => unimplemented!(), } } @@ -95,6 +95,9 @@ pub struct ValueIndexes { pub i_number_of_groups: IndexPair, pub critical_squares: IndexPair, pub critical_square_cap_attack: IndexPair, + pub winning_spread_to_move: IndexPair, + pub winning_flat_spread_not_to_move: IndexPair, + pub winning_cap_spread_not_to_move: IndexPair, pub flat_next_to_our_stack: IndexPair, pub wall_next_to_our_stack: IndexPair, pub cap_next_to_our_stack: IndexPair, @@ -152,6 +155,9 @@ impl ValueIndexes { let (i_number_of_groups, i) = IndexPair::next(i, 3); let (critical_squares, i) = IndexPair::next(i, 4); let (critical_square_cap_attack, i) = IndexPair::next(i, 6); + let (winning_spread_to_move, i) = IndexPair::next(i, 2); + let (winning_flat_spread_not_to_move, i) = IndexPair::next(i, 2); + let (winning_cap_spread_not_to_move, i) = IndexPair::next(i, 2); let (flat_next_to_our_stack, i) = IndexPair::next(i, 1); let (wall_next_to_our_stack, i) = IndexPair::next(i, 1); let (cap_next_to_our_stack, i) = IndexPair::next(i, 1); @@ -208,6 +214,9 @@ impl ValueIndexes { i_number_of_groups, critical_squares, critical_square_cap_attack, + winning_spread_to_move, + winning_flat_spread_not_to_move, + winning_cap_spread_not_to_move, flat_next_to_our_stack, wall_next_to_our_stack, cap_next_to_our_stack, @@ -716,28 +725,28 @@ 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.4357963, - 3.890928, - 2.6024597, - 1.4492911, - 0.8032834, - 1.159072, - 1.5524725, - 2.472899, - 2.0396252, - 1.54026, - 2.1184943, - 1.5660702, - 0.8579293, - -0.68383944, - 1.113215, - 2.1859074, - 1.681783, - 2.086145, - 2.8401904, - 0.23306267, - 0.8042966, - 0.8680228, + 2.4297364, + 4.0146685, + 2.5906136, + 1.4466329, + 1.0158951, + 1.3225129, + 1.680718, + 2.5271606, + 2.0499218, + 1.5046408, + 2.161403, + 1.558434, + 0.8009551, + -0.45659596, + 1.4142693, + 2.4969683, + 1.7237734, + 2.100048, + 2.8475945, + 0.26699722, + 0.83639365, + 0.8837669, -0.0073812627, 0.004104538, 0.0060586967, @@ -747,156 +756,156 @@ pub const VALUE_PARAMS_4S_0KOMI: [f32; NUM_VALUE_FEATURES_4S] = [ 0.005802648, 0.005024814, 0.0038007405, - -0.21487793, - 0.50392306, - 1.208147, - 0.20668745, - 0.6486477, - 0.9545482, - 0.1870762, - 0.13900375, - 0.15920658, - -0.5636391, - 0.64200944, - 1.1954857, - 0.08727974, - 0.4590291, - 0.8342131, - 0.14190145, - 0.18900701, - 0.058776516, - 2.76742, - 0.3153738, - 1.3764616, - 0.13784212, - 1.5190977, - -0.014773955, - 0.81346947, - 0.6014609, - 0.07133689, - -0.07562102, - -0.62247354, - 0.38321644, - -0.32171005, - -0.36431482, - -0.6212491, - -0.29643643, - 1.4685451, - 0.7841495, + -0.55549616, + 0.60244006, + 1.3575288, + 0.21236539, + 0.6682225, + 0.97504485, + 0.20539062, + 0.14074662, + 0.16458511, + -0.5853052, + 0.6541539, + 1.2290869, + 0.089258045, + 0.45798028, + 0.8309533, + 0.13464464, + 0.17768666, + 0.054146785, + 2.993088, + 0.35215592, + 1.5229279, + 0.14981659, + 1.5808123, + 0.009511317, + 0.8293106, + 0.69436496, + -0.049093504, + -0.07424403, + -0.6821401, + 0.41539332, + -0.341665, + -0.3494459, + -0.6089049, + -0.24752432, + 1.4752119, + 0.774546, -0.00496279, 0.007571606, - -0.65273744, - 1.3061956, + -1.1456656, + 1.2757221, -0.0038658213, -0.00062850676, - 0.43019843, - 1.1461996, + 0.4992527, + 1.153685, -0.00188174, 0.00081885327, - 1.0148703, - 0.5741924, + 1.0082864, + 0.5685085, 0.0061870757, -0.0077467104, - -0.71127087, - -0.5197116, + -0.7145048, + -0.52704763, -0.00032685045, -0.00023208652, - -1.7386566, - -0.9152617, + -1.6417491, + -0.9024399, 0.0032768678, 0.0059308577, - 0.10421033, - 0.15347819, + 0.094654486, + 0.1545624, -0.0057374667, 0.00015021767, - -0.92226166, - -0.91917855, + -0.919009, + -0.91454047, -0.00078115705, -0.008447227, - -0.024646778, - -0.12983432, - -0.39336166, - 0.7989443, - 2.7441401, - 1.8993765, - 0.336172, - 0.34914854, - 0.015476182, - 1.2848853, - 1.412236, - 1.2311625, - 1.3865994, - 1.3284178, - 1.845032, - 1.9909893, - 2.9884422, - 2.0030098, - 1.2110032, - 1.5000807, - 1.2451122, - 1.3109763, - 1.7386738, - 1.8938133, - 1.8799374, - 1.4873099, - 1.2677975, - -1.122757, - 0.23255748, - 0.2580939, - 0.350581, - 0.3813461, - 0.24015045, - 0.047061633, + -0.03158332, + -0.14233959, + -0.40541682, + 0.9298186, + 2.9339006, + 2.1309052, + 0.40075096, + 0.40582627, + 0.016099315, + 1.3458207, + 1.396734, + 1.2260834, + 1.3605995, + 1.3072904, + 1.7912179, + 1.9182872, + 2.9051747, + 2.1360333, + 1.277346, + 1.5719273, + 1.2870386, + 1.3445429, + 1.7327977, + 1.8946157, + 1.89032, + 1.4791465, + 1.3582758, + -1.1542697, + 0.24280688, + 0.2691254, + 0.35578558, + 0.3914039, + 0.24382411, + 0.054770768, 0.0074368455, -0.0066757104, 0.004355209, -0.0077824043, 0.0070885587, 0.008410923, - -0.03486327, - -0.2828072, - 0.0010137418, - -0.4830168, - -0.2956328, - 0.061494518, - 0.40246838, - 0.83762974, - 0.06293271, - -0.13816015, - 0.7064363, - 1.4774075, - 0.20570184, - -0.55293477, - 0.45113015, - 1.5004728, - -0.10317205, - -0.2233745, - -0.013333259, - 0.4741793, - -1.0920445, - -0.56640905, - 0.3730191, - 1.1411952, - 0.08623014, - -0.10656993, - 0.36331958, - 1.001, - -1.4096997, - -0.7819904, - 0.30471244, - 1.476953, - -0.12010209, - 0.057324085, - 0.78952205, - -0.17220573, - 0.13297741, - 0.514878, - 0.0012055086, - -0.0018659113, - 0.004368524, - 0.0076928716, - 0.004360006, - 0.009378757, + 1.462033, + 2.2997391, + -0.07246457, + 0.42000136, + 0.0031001903, + -0.002478423, + -0.03427232, + -0.28108907, + 0.009418681, + -0.461782, + -0.30582905, + 0.05292655, + 0.3953347, + 0.83047086, + 0.05566318, + -0.124831505, + 0.6953983, + 1.4424164, + 0.21031226, + -0.5651478, + 0.46613085, + 1.5323257, + -0.03612399, + -0.18341905, + 0.0022022342, + 0.46326533, + -1.1363717, + -0.5808483, + 0.38730818, + 1.1689392, + 0.13688728, + -0.09117828, + 0.35586533, + 0.967846, + -1.4460305, + -0.7947527, + 0.31318775, + 1.4924506, + -0.10815189, + 0.044734478, + 0.75006104, + -0.16322173, + 0.12834117, + 0.49304265, 0.0029043844, 0.008424118, -0.0050589656, @@ -912,194 +921,210 @@ pub const VALUE_PARAMS_4S_0KOMI: [f32; NUM_VALUE_FEATURES_4S] = [ 0.0069459323, -0.0069796084, -0.0075576873, - -1.3126706, - -1.0674293, - -1.0299314, - -2.3490899, - -1.9678485, - -1.5690187, - -2.4184077, - -1.661258, - -0.65551686, - -0.19928299, - -0.20438936, - 0.70135796, - -1.196472, - -2.2388449, - -3.5637207, - -0.51877856, - -0.73041075, - -0.95938057, - -0.008776911, - 0.006379608, - -0.0034764553, - -0.0019571641, - -0.0020065904, - -0.0007181382, - -0.002883594, - 0.0066047404, + -0.00044307671, + 0.0042860033, + -0.004753387, + 0.009866308, + 0.0054509398, + -0.0066909315, + 0.0056339707, + 0.005903894, + -1.524717, + -1.2362134, + -1.1596913, + -2.418805, + -1.9774376, + -1.5163997, + -2.4817305, + -1.6779486, + -0.6220989, + -0.28350902, + -0.3600248, + 0.7194921, + -1.254957, + -2.254246, + -3.5524852, + -0.53604335, + -0.7438604, + -0.9570924, -0.00401304, - 0.022995492, - -0.90950066, - -0.76817214, - -0.34237543, - -0.5911617, - -0.9002356, - 0.0071946653, - -0.2667528, - -0.18609011, - 1.715917, - -0.9218457, - -1.3391118, - -0.316409, - -0.4899847, - -0.79750896, - -0.22544591, - -0.30220196, - -0.20160615, - -2.1564085, - -0.60556084, - -1.492199, - -0.3436965, - -1.2394489, - -0.008241649, - -0.5324297, - -0.5172774, - -1.1797523, - -0.103481084, - -0.28594086, - 0.026253765, - -0.8716072, - -0.17198217, - 0.007625446, - 0.7346401, - -1.0579808, - -1.1555548, - 0.0059623104, - -0.008494556, - 0.19261903, - -1.4049405, - -0.006632633, - -0.00079724286, - -0.5749371, - -0.7808559, + -0.0041113687, + -0.00031996984, + 0.009882869, + -0.0012246752, + 0.00716334, + -0.000495675, + -0.008976857, + 0.0011483384, + 0.09409927, + -0.9796276, + -0.8546019, + -0.33173117, + -0.57152873, + -0.87375814, + 0.030712733, + -0.2605535, + -0.17489535, + 1.6802973, + -0.9947554, + -1.4245812, + -0.31205544, + -0.47609878, + -0.7813887, + -0.19216458, + -0.28268346, + -0.17937012, + -2.3869414, + -0.64719224, + -1.5892441, + -0.34750366, + -1.2509183, + -0.03617249, + -0.562129, + -0.5599357, + -1.177682, + -0.08144411, + -0.28644833, + 0.029813187, + -0.8878239, + -0.17781451, + -0.033171915, + 0.8542306, + -1.0513787, + -1.1452258, 0.008264789, 0.0015326263, - -1.0265335, - -0.7028147, + 0.06888147, + -1.5178113, 0.0023975773, -0.0020184517, - 0.68484324, - 0.5090038, + -0.57448393, + -0.76339763, 0.0038830638, -0.0005412027, - 0.90522385, - 0.59818846, + -1.0420805, + -0.7107945, 0.0028945897, -0.005422716, - 0.035113283, - -0.15301158, + 0.7068532, + 0.53416604, -0.0063391924, 0.0013449714, - 0.8615637, - 0.8573158, + 0.93223715, + 0.57949203, 0.0075244084, -0.003553629, - 0.12059362, - 0.36592308, - -0.24051908, - 0.20947446, - -1.2855688, - -0.64583385, - -0.40417516, - -0.030819222, - -0.0035659648, - -1.3464602, - -1.9851023, - -2.0032356, - -2.4276412, - -2.5305715, - -2.7645435, - -2.5187747, - -2.681742, - -0.9478993, - -0.36772442, - -1.2506609, - -1.3229231, - -1.618762, - -1.8408428, - -1.7228359, - -1.872429, - -1.9928893, - -1.2219712, - 0.80016625, - -0.13805439, - -0.20388442, - -0.25916132, - -0.070687525, - -0.28065845, - -0.08528691, - 0.005034494, - 0.009757778, - -0.0077813696, - 0.0040523577, - 0.005344481, - 0.0020160126, - -0.0028234436, - 0.27239746, + 0.026212126, + -0.15284987, + 0.009908594, + -0.00047137216, + 0.89026684, + 0.8847067, + -0.0071793436, + 0.0004826784, + 0.14983757, + 0.42800686, + -0.3181729, + 0.24019523, + -1.309761, + -0.7060233, + -0.50283176, + -0.041731257, + 0.0021977378, + -1.4555286, + -2.0483093, + -2.043602, + -2.4529133, + -2.5711362, + -2.766352, + -2.522296, + -2.7522287, + -1.0808455, + -0.41869462, + -1.3205136, + -1.3483278, + -1.634689, + -1.7899172, + -1.6963987, + -1.8397233, + -1.963312, + -1.4053695, + 0.7847561, + -0.14414711, + -0.19784987, + -0.2813408, + -0.07303514, + -0.28582704, + -0.087084256, -0.0057330895, - 0.5097069, - 0.35099548, - 0.19433363, - -0.09436732, - -0.40738094, - 0.051116403, - -0.16680147, - -0.8819164, - -1.5126528, - 0.20848711, - 0.8672616, - -0.21111573, - -1.441444, - -0.1717442, - -0.062048033, - -0.37246564, - -0.6805281, - 1.5696565, - 0.66105753, - -0.31685334, - -1.2119168, - 0.011895984, - -0.046995185, - -0.47918737, - -1.0489084, - 1.6491839, - 0.89488304, - -0.22797251, - -1.3771294, - 0.16801454, - -0.23747997, - -0.84345156, - 0.2501719, - -0.297555, - -0.44465464, - 0.006593518, - 0.008852346, - 0.009353582, - 0.007925572, - 0.0061481707, - -0.004423251, - 0.0056418106, - -0.00813673, - -0.009886575, - -0.0087053105, - -0.0017166166, - 0.00021132734, - -0.0017882753, - 0.006511757, + 0.009055974, + 0.0056207534, + 0.0008187201, + 0.009319432, + 0.005889902, + -0.5199132, + -2.1426044, + 0.16151, + 0.13167919, + 0.002234254, + 0.0092526, + -0.0021307669, + 0.27170584, + 0.008827645, + 0.47762632, + 0.33172652, + 0.18522269, + -0.09128785, + -0.39606407, + 0.05047063, + -0.19608384, + -0.874363, + -1.4980359, + 0.20190223, + 0.8836317, + -0.21505708, + -1.4853137, + -0.24226567, + -0.10537942, + -0.38015285, + -0.63705975, + 1.601081, + 0.66725045, + -0.32970005, + -1.2469447, + -0.03340315, + -0.06461967, + -0.47053522, + -1.0047358, + 1.6889338, + 0.9084269, + -0.2368726, + -1.4094272, + 0.15163475, + -0.22223996, + -0.7901063, + 0.23276292, + -0.30013394, + -0.38376638, 0.0011727996, 0.0015943982, 0.009848841, + -0.008626261, + -0.006473, + -0.00014788378, + 0.0038305689, + -0.0051336214, + -0.0013411185, + 0.00012495555, + -0.004604163, + 0.0016861744, + -0.0026721642, + -0.0049328515, + -0.008879824, + 0.0062810984, + 0.0053475164, + -0.008328738, + -0.005392799, ]; #[allow(clippy::unreadable_literal)] @@ -1284,28 +1309,28 @@ 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.5248962, - 0.6886665, - 0.11828675, - -0.1464167, - 1.7527441, - 1.3248014, - 0.9665421, - 2.4147143, - 1.5818328, - 0.5403611, - 3.0817776, - 1.8949406, - 0.7875474, - -0.66431487, - 0.26797727, - 2.2713451, - 1.2865345, - 1.878514, - 1.8833776, - 0.5482514, - 0.6002085, - 0.9569421, + 0.52525187, + 0.68951005, + 0.118255995, + -0.14849867, + 1.7591666, + 1.3327732, + 0.97216195, + 2.4092698, + 1.5784233, + 0.53954166, + 3.0686808, + 1.8879869, + 0.78722537, + -0.66361123, + 0.28973788, + 2.29642, + 1.2973657, + 1.8799173, + 1.8866334, + 0.55429775, + 0.60472155, + 0.96393263, -0.0073812627, 0.004104538, 0.0060586967, @@ -1315,156 +1340,156 @@ pub const VALUE_PARAMS_4S_2KOMI: [f32; NUM_VALUE_FEATURES_4S] = [ 0.005802648, 0.005024814, 0.0038007405, - 0.29785383, - 0.5304332, - 1.6781939, - -0.2881816, - 0.14318405, - 0.2561146, - 0.11159974, - 0.30159333, - 0.13639319, - -0.37120473, - 1.1663918, - 2.3144643, - -0.1004846, - 0.15773948, - 0.041054048, - -0.1905115, - -0.17342909, - -0.18762249, - 3.7893198, - 0.7795229, - 1.6934744, - 0.5042247, - 1.6933888, - 0.15828018, - 0.8134257, - 0.58014596, - 0.39247164, - -0.12844205, - -0.06862253, - -0.43965572, - -0.03145381, - -0.16712257, - -0.009994145, - -0.92266834, - 1.0526892, - 0.9237568, + 0.30823997, + 0.5456902, + 1.6897066, + -0.30282688, + 0.14915824, + 0.25522095, + 0.10925647, + 0.29393807, + 0.13267629, + -0.3753659, + 1.1657312, + 2.3202531, + -0.10008486, + 0.15798727, + 0.040105626, + -0.1896422, + -0.17581661, + -0.19062209, + 3.778261, + 0.7697736, + 1.6870061, + 0.49586606, + 1.6960427, + 0.15311494, + 0.8087468, + 0.57287574, + 0.3844483, + -0.13094622, + -0.07333737, + -0.46446043, + -0.039234836, + -0.164911, + -0.007361708, + -0.9224975, + 1.0626014, + 0.92750317, -0.00496279, 0.007571606, - -0.64862525, - -0.45413017, + -0.9383325, + -0.46982637, -0.0038658213, -0.00062850676, - 0.39780873, - 1.1896341, + 0.44305655, + 1.1900942, -0.00188174, 0.00081885327, - 0.7807681, - 0.3852484, + 0.7777643, + 0.38778353, 0.0061870757, -0.0077467104, - -0.67735445, - -0.54074717, + -0.6771389, + -0.54363513, -0.00032685045, -0.00023208652, - -1.2723223, - -0.2532052, + -1.2162477, + -0.24927859, 0.0032768678, 0.0059308577, - 0.10772221, - 0.0604207, + 0.10028002, + 0.059464667, -0.0057374667, 0.00015021767, - -0.8507695, - -0.69233364, + -0.84327954, + -0.69216645, -0.00078115705, -0.008447227, - -0.01154464, - 0.017699052, - -1.0601748, - 2.3439465, - 1.3977745, - 1.6352184, - 1.0507306, - 1.7043568, - 0.041746315, - 0.15936124, - 1.0384917, - 0.90080065, - 1.243825, - 1.4165356, - 1.4616461, - 1.0535886, - 1.3490204, - 1.509785, - 0.50937295, - 0.35768825, - 1.0087713, - 0.56012815, - 0.751016, - 0.8717804, - 1.3587532, - 1.6698923, - 2.2364993, - -0.5444966, - 0.114615664, - 0.022470912, - 0.39564186, - 0.108865544, - 0.1500284, - -0.0050711944, + -0.0114967255, + 0.01742178, + -1.0537069, + 2.338401, + 1.4052104, + 1.6439728, + 1.0744855, + 1.7055484, + 0.039754704, + 0.148431, + 1.042753, + 0.8919349, + 1.2366179, + 1.4153318, + 1.4626195, + 1.052191, + 1.3504659, + 1.5093977, + 0.49827313, + 0.33003923, + 1.0109578, + 0.5654704, + 0.7440112, + 0.866389, + 1.3581356, + 1.6560048, + 2.2246933, + -0.5452992, + 0.116769455, + 0.025235713, + 0.40390247, + 0.10942934, + 0.1505468, + -0.00494893, 0.0074368455, -0.0066757104, 0.004355209, -0.0077824043, 0.0070885587, 0.008410923, - -0.042718735, - -0.16997251, - 0.0010137418, - -0.25723878, - -0.1803946, - -0.25808084, - -0.09992453, - 0.07057996, - 0.09624321, - 0.26915467, - 0.43033022, - 0.33649057, - -0.061198875, - -0.6831808, - 0.25193197, - 1.0719101, - 0.6053166, - 0.29692602, - 0.08507005, - -0.1344714, - -1.4488237, - -0.6916551, - 0.15615372, - 1.0853889, - 0.43934, - 0.25590256, - 0.18268241, - 0.22164267, - -1.7735894, - -0.74424714, - 0.18374246, - 1.207723, - 0.18282959, - -0.08415497, - -0.11948543, - 0.31082296, - 0.050760105, - -0.2630066, - 0.0012055086, - -0.0018659113, - 0.004368524, - 0.0076928716, - 0.004360006, - 0.009378757, + 1.7187611, + 2.5893004, + -0.099147506, + 0.21423048, + 0.0031001903, + -0.002478423, + -0.04287103, + -0.17039287, + 0.009418681, + -0.26001292, + -0.17895159, + -0.25340825, + -0.09706527, + 0.072061434, + 0.091748364, + 0.26746795, + 0.4304274, + 0.3368292, + -0.04823091, + -0.67922556, + 0.25389883, + 1.069248, + 0.6049769, + 0.3006292, + 0.09300095, + -0.12511754, + -1.447191, + -0.6892165, + 0.15940753, + 1.08975, + 0.4369605, + 0.25538424, + 0.18628822, + 0.22938178, + -1.7712433, + -0.7410094, + 0.18611993, + 1.2082244, + 0.18412933, + -0.08000751, + -0.11695919, + 0.31120667, + 0.054189872, + -0.2563781, 0.0029043844, 0.008424118, -0.0050589656, @@ -1480,194 +1505,210 @@ pub const VALUE_PARAMS_4S_2KOMI: [f32; NUM_VALUE_FEATURES_4S] = [ 0.0069459323, -0.0069796084, -0.0075576873, - -2.251751, - -1.8595331, - -0.78639615, - -2.8014796, - -1.7676619, - -0.8198362, - -3.1470153, - -2.1041665, - -0.8324149, - -0.17480494, - -1.300723, - -1.626019, - -1.5448158, - -1.920357, - -2.331008, - -1.1038306, - -1.6946088, - -1.6955261, - -0.008776911, - 0.006379608, - -0.0034764553, - -0.0019571641, - -0.0020065904, - -0.0007181382, - -0.002883594, - 0.0066047404, + -0.00044307671, + 0.0042860033, + -0.004753387, + 0.009866308, + 0.0054509398, + -0.0066909315, + 0.0056339707, + 0.005903894, + -2.272847, + -1.8706224, + -0.78831613, + -2.8142476, + -1.7676762, + -0.81185114, + -3.1571827, + -2.109214, + -0.8213906, + -0.2007454, + -1.3227224, + -1.649546, + -1.5548195, + -1.929163, + -2.334464, + -1.109758, + -1.695012, + -1.6895772, -0.00401304, - -2.0767217, - -2.5555694, - 1.1589952, - 0.06273023, - -0.20958652, - -0.22282882, - 0.10843075, - 0.20756869, - 0.113381214, - -0.4773462, - -1.0316308, - 0.052299425, - 0.12161466, - -0.1413328, - -0.17434442, - 0.009301815, - -0.0774184, - -0.076016776, - -2.6167345, - -0.28284055, - -1.7896982, - -0.18710911, - -1.2035924, - 0.16021043, - -0.6375874, - -1.0170604, - -0.8352226, - -0.5742156, - -0.15334365, - -0.0033396091, - -0.7621647, - -0.5469079, - -0.09243063, - 0.003192375, - -0.94344616, - -1.2013617, - 0.0059623104, - -0.008494556, - 1.0781909, - 0.030246163, - -0.006632633, - -0.00079724286, - -0.66290885, - -0.67025983, + -0.0041113687, + -0.00031996984, + 0.009882869, + -0.0012246752, + 0.00716334, + -0.000495675, + -0.008976857, + 0.0011483384, + -2.1344213, + -2.5843785, + 1.1945406, + 0.066085234, + -0.20564196, + -0.21861489, + 0.12320059, + 0.21801116, + 0.12656942, + -0.47297105, + -1.0256696, + 0.037634406, + 0.12077222, + -0.14148106, + -0.17297913, + 0.011867968, + -0.07482663, + -0.073418535, + -2.6225135, + -0.28750855, + -1.7585392, + -0.18308635, + -1.163933, + 0.15633287, + -0.65237767, + -1.0453942, + -0.83603674, + -0.5756798, + -0.14835131, + -0.004011558, + -0.8002168, + -0.55535406, + -0.09515114, + 0.0007980626, + -0.9409815, + -1.2067832, 0.008264789, 0.0015326263, - -0.92803186, - -0.38439432, + 0.9941272, + 0.026974415, 0.0023975773, -0.0020184517, - 0.38669714, - 0.62248665, + -0.6623293, + -0.67081404, 0.0038830638, -0.0005412027, - 1.3448598, - 0.004860402, + -0.9356893, + -0.3927391, 0.0028945897, -0.005422716, - -0.01282793, - -0.12146275, + 0.38824996, + 0.62538123, -0.0063391924, 0.0013449714, - 0.43367574, - 0.2977191, + 1.350936, + 0.0008298533, 0.0075244084, -0.003553629, - 0.47984973, - -0.59057945, - -0.37965807, - -0.50268555, - 0.9816188, - -1.2020351, - -0.09196049, - 0.00015811757, - -0.0088056885, - -1.3210896, - -1.4082922, - -1.1665771, - -1.2523808, - -1.1904523, - -1.4937111, - -1.8770425, - -1.2426304, - -0.34342405, - -1.38349, - -1.8953629, - -1.775568, - -1.8841579, - -2.4394448, - -1.7497634, - -1.7036554, - -1.0969915, - -0.37715986, - 0.7070915, - -0.023412809, - -0.11485001, - -0.00568194, - -0.0124391895, - -0.1342335, - 0.2750139, - 0.005034494, - 0.009757778, - -0.0077813696, - 0.0040523577, - 0.005344481, - 0.0020160126, - 0.0035758244, - 0.42985785, + -0.013877698, + -0.12196461, + 0.009908594, + -0.00047137216, + 0.4373162, + 0.29993615, + -0.0071793436, + 0.0004826784, + 0.46416116, + -0.5774923, + -0.36912704, + -0.5143575, + 0.9768044, + -1.1894265, + -0.079493955, + -0.0044750697, + -0.0030395158, + -1.3213454, + -1.4089684, + -1.1684248, + -1.252602, + -1.1893282, + -1.5010495, + -1.8891543, + -1.2303467, + -0.34436744, + -1.3786842, + -1.8914711, + -1.7678406, + -1.8827368, + -2.433266, + -1.7427, + -1.6767193, + -1.0847648, + -0.36822158, + 0.7011577, + -0.022943083, + -0.11175347, + -0.021679442, + -0.009977195, + -0.13916543, + 0.23725584, -0.0057330895, - 0.3093114, - -0.11915139, - -0.17610382, - -0.25214624, - -0.4566327, - 0.08442729, - 0.082936324, - 0.23405926, - 0.015467814, - -0.058413476, - 0.7805907, - -0.10263947, - -0.9417596, - -0.9646366, - -0.42490265, - 0.08327111, - 0.483219, - 0.39535934, - 0.015353169, - -0.7268028, - -1.2930208, - -0.5214309, - -0.016297711, - 0.12707968, - 0.20007245, - 1.2727311, - 0.5703496, - -0.30736777, - -1.0362306, - -0.013591263, - 0.16927463, - 0.3738292, - 0.20501128, - 0.20187505, - 0.34290814, - 0.006593518, - 0.008852346, - 0.009353582, - 0.007925572, - 0.0061481707, - -0.004423251, - 0.0056418106, - -0.00813673, - -0.009886575, - -0.0087053105, - -0.0017166166, - 0.00021132734, - -0.0017882753, - 0.006511757, + 0.009055974, + 0.0056207534, + 0.0008187201, + 0.009319432, + 0.005889902, + -0.2263873, + -0.50676894, + 0.24534863, + 0.13336088, + 0.002234254, + 0.0092526, + 0.002529331, + 0.4291635, + 0.008827645, + 0.2964644, + -0.1363078, + -0.18457003, + -0.25162697, + -0.44523716, + 0.086556114, + 0.078648895, + 0.23682399, + 0.015778638, + -0.05664102, + 0.77785337, + -0.10690906, + -0.9582665, + -0.964888, + -0.42768508, + 0.08482487, + 0.52449304, + 0.40691075, + 0.011572436, + -0.73256737, + -1.2635851, + -0.5193554, + -0.01976819, + 0.13001752, + 0.21148689, + 1.2854792, + 0.57078594, + -0.31008917, + -1.0536582, + -0.01698104, + 0.17040232, + 0.38925144, + 0.20025072, + 0.20491023, + 0.3527331, 0.0011727996, 0.0015943982, 0.009848841, + -0.008626261, + -0.006473, + -0.00014788378, + 0.0038305689, + -0.0051336214, + -0.0013411185, + 0.00012495555, + -0.004604163, + 0.0016861744, + -0.0026721642, + -0.0049328515, + -0.008879824, + 0.0062810984, + 0.0053475164, + -0.008328738, + -0.005392799, ]; #[allow(clippy::unreadable_literal)] @@ -1852,526 +1893,542 @@ 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.1968938, - 2.1004941, - 1.2520066, - 1.563299, - 0.8099755, - 0.8130019, - 0.84027874, - 0.61652744, - 0.62411445, - 0.6342429, - 0.6180136, - 0.48682502, - 0.26664296, - 1.6538118, - 1.442836, - 1.330738, - 1.1390654, - 1.0604159, - 1.000864, - 2.4420202, - 2.2042248, - 1.9823881, - 1.6876835, - 1.5753473, - 1.5061333, - -0.70243, - -0.9968837, - -0.45368385, - -0.7200778, - 0.34447092, - 0.26613447, - 1.1481534, - 1.2485288, - 1.2425126, - 1.7734094, - 1.8711008, - 2.3198097, - 0.35188416, - 1.1076962, - 1.1884718, - 1.3935993, - 1.4188256, - 1.6790364, - -0.9264337, - -0.046230115, - 0.9192667, - 0.34920335, - 0.87810385, - 1.0825856, - -0.64224994, - 0.07721725, - 0.09835798, - 0.77313334, - 0.9658148, - 1.4493723, - -0.39352095, - -0.2556506, - -0.20572084, - -0.3166552, - -0.16905017, - 0.028792476, - 0.40384772, - 0.73529226, - -0.39369643, - -0.6144435, - -0.25512138, - -0.05593748, - 0.32820907, - 0.18898265, - 0.20192917, - 0.22679275, - 0.28733733, - 0.32543615, - 0.44270137, - 0.6708068, - 0.69203293, - 0.6688677, - 0.72690034, - 0.78441656, - 0.29678428, - 0.22555512, - 0.10857679, - 0.11843841, - 0.07965907, - 0.42215088, - 0.061450295, - 0.22068065, - 0.202225, - 0.29220867, - 0.2743772, - 0.28312007, - 0.39453426, - 0.5419599, - 0.4936626, - 0.5233596, - 0.5267208, - 0.55045867, - 2.1145382, - 0.2708047, - 1.1904025, - 0.18696323, - 1.1329459, - -0.066789836, - 0.3944641, - 0.64933825, - 0.52794784, - -0.006313197, - -0.0827682, - -0.30241808, - 0.39385572, - -0.06146659, - -0.20591797, - -0.7323984, - 0.9091607, - 1.0839137, - 1.2756045, - 0.9532147, - 0.3707229, - 0.72563946, - 0.96391064, - 1.5245495, - 0.24644679, - 0.39208153, - 0.7564338, - 0.62913024, - 0.86267513, - 0.41214034, - -0.7598568, - 0.63110447, - -0.65465957, - -0.6515204, - -0.46356085, - -0.5625719, - -0.71183497, - 0.4012923, - 0.2732214, - -0.09322096, - -0.05381343, - -0.009639657, - 0.031044628, - 0.09636732, - -0.77793443, - -0.8579877, - -0.7802003, - -0.8269497, - 0.023079038, - -0.07541269, - -0.12529361, - 0.862781, - 0.89315194, - 1.1348827, - 1.1015788, - 0.36720484, - 0.07478751, - 0.90324396, - 1.1504649, - 1.2619866, - 1.3256354, - 1.43095, - 1.5096177, - 1.7139, - 1.7124653, - 2.0486784, - 0.94933283, - 0.8656434, - 1.1154925, - 1.3770404, - 1.623442, - 1.9772338, - 2.003862, - 2.231897, - 1.8881763, - -0.3144629, - -0.11222663, - 0.006854342, - 0.4207437, - 0.18332395, - 0.20544888, - -0.0021486788, - 2.222595, - 0.9680872, - 0.054727294, - 0.18315123, - 0.03047633, - -0.061510596, - 0.022656064, - -0.21971048, - -0.16689883, - 0.0054334905, - -0.94375664, - -0.42833313, - -0.049879972, - 0.45606723, - 1.0410049, - 0.07126946, - -0.07000531, - 0.36417878, - 0.94095284, - 1.3400911, - 0.061012246, - -0.87803465, - -0.06304139, - 0.80262434, - 1.4228481, - 0.030549746, - -1.1471068, - -0.27206954, - 0.770009, - 1.5523603, - -0.11867737, - -0.44349298, - -0.19503681, - -0.0181808, - 0.47533658, - -1.1247778, - -1.0370569, - -0.35978273, - 0.4089088, - 1.2281783, - -1.280869, - -1.0578388, - -0.27290082, - 0.60247844, - 1.4356728, - 0.09998775, - -0.11732226, - 0.08454799, - 0.47718215, - 0.85025054, - -1.0413644, - -1.0118326, - -0.2652706, - 0.61763906, - 1.42273, - -1.3623661, - -1.0972282, - -0.25905433, - 0.70452094, - 1.7301039, - -0.04121455, - 0.27881324, - 0.5362565, - 0.16202693, - 0.4582346, - 0.6089027, - 0.06593991, - 0.1272696, - 0.08040809, - -0.22153121, - -0.108943045, - 0.12974569, - -0.92533606, - -0.4789576, - -0.4691289, - -0.35306412, - -0.21646991, - -0.31152606, - 0.0015812209, - 0.009482224, - 0.0059623104, - -0.008494556, - -0.001817584, - -0.009368448, + 1.196813, + 2.147385, + 1.2525518, + 1.5435321, + 0.8159286, + 0.8106252, + 0.85074157, + 0.7729565, + 0.7354641, + 0.752382, + 0.68609524, + 0.5597182, + 0.34420305, + 1.7311233, + 1.4710789, + 1.3606308, + 1.1174877, + 1.0405575, + 0.986831, + 2.5417347, + 2.2569497, + 2.042051, + 1.6993638, + 1.5961936, + 1.511021, + -0.7229247, + -0.87134296, + -0.34269434, + -0.5809322, + 0.53436047, + 0.4742004, + 1.1764612, + 1.2641997, + 1.2542868, + 1.7832735, + 1.8761928, + 2.325426, + 0.3739956, + 1.1419506, + 1.2222414, + 1.4338154, + 1.4690233, + 1.7089587, + -1.0131919, + 0.02750925, + 0.99569803, + 0.38243267, + 0.9209924, + 1.1325895, + -0.4943648, + 0.14929195, + 0.16952553, + 0.7989076, + 0.9860711, + 1.4728346, + -0.47494355, + -0.35763377, + -0.3041266, + -0.44564915, + -0.27976885, + -0.10452401, + 0.6208751, + 0.75141066, + -0.42961642, + -0.6578694, + -0.32397678, + -0.08449785, + 0.26282933, + 0.1368152, + 0.15049294, + 0.1883585, + 0.25649753, + 0.2975119, + 0.44370887, + 0.65818715, + 0.67739683, + 0.65580934, + 0.7113937, + 0.7773355, + 0.31339929, + 0.25404292, + 0.12783037, + 0.14472155, + 0.10002973, + 0.45982844, + 0.067110024, + 0.22108771, + 0.20441382, + 0.2948754, + 0.27667835, + 0.2833175, + 0.40560597, + 0.55626714, + 0.50669926, + 0.54098034, + 0.5464544, + 0.56810534, + 2.5406878, + 0.3025869, + 1.4303752, + 0.19180873, + 1.1396976, + -0.06347446, + 0.39649057, + 0.7294534, + 0.52110064, + -0.05510337, + -0.13529108, + -0.43168902, + 0.34662366, + -0.08514227, + -0.17021984, + -0.6178272, + 0.9540677, + 1.1200078, + 1.2594148, + 1.0455025, + 0.302188, + 0.7769355, + 1.0804762, + 1.3262224, + 0.25850502, + 0.38742363, + 0.7546404, + 0.6244989, + 0.9041746, + 0.45073897, + -1.3106656, + 0.6748463, + -0.64763695, + -0.6425281, + -0.43057734, + -0.560307, + -0.69483566, + 0.40139782, + 0.3803799, + -0.06292085, + -0.055654455, + -0.010150911, + -0.027480328, + 0.093447514, + -0.7730492, + -0.85228205, + -1.1018707, + -0.80991507, + 0.04381438, + -0.06466016, + -0.012827134, + 0.9363372, + 0.9670888, + 1.1799208, + 1.3401917, + 0.4951423, + 0.08526957, + 1.0176783, + 1.2217879, + 1.3150336, + 1.3683263, + 1.4605994, + 1.5341598, + 1.705585, + 1.6629876, + 2.0530975, + 1.019812, + 0.8857418, + 1.1323825, + 1.3732207, + 1.6188091, + 1.9744984, + 2.0238097, + 2.32201, + 1.9295881, + -0.3174071, + -0.10993349, + 0.013884477, + 0.42196295, + 0.17963658, + 0.20416148, + -0.0021617166, + 1.7686125, + 0.22426264, + 0.061349902, + 0.19913699, + 0.020851348, + -0.069351755, + 2.3142107, + 2.9042602, + -0.031618122, + 0.2664709, + 0.9420256, + 1.5510353, + 0.022029558, + -0.22142822, + -0.16721624, + -0.0069796084, + -0.9437429, + -0.435119, + -0.060073707, + 0.44011593, + 1.018721, + 0.073062584, + -0.009989337, + 0.3955358, + 0.9444291, + 1.3182713, + 0.046033505, + -0.91073114, + -0.07425168, + 0.8090164, + 1.4404572, + 0.025818683, + -1.1614962, + -0.27209163, + 0.7805247, + 1.5584604, + -0.031086922, + -0.3843227, + -0.16816096, + -0.01864428, + 0.44556057, + -1.178155, + -1.06178, + -0.3659792, + 0.4208466, + 1.2605121, + -1.3277913, + -1.0783472, + -0.278178, + 0.61296564, + 1.4728854, + 0.18788007, + -0.0605375, + 0.10896111, + 0.47454253, + 0.81806046, + -1.0984803, + -1.039684, + -0.27460274, + 0.62693465, + 1.4486213, + -1.4086338, + -1.1196733, + -0.2637025, + 0.7161684, + 1.7642037, + -0.017652258, + 0.27439508, + 0.49912363, + 0.18142056, + 0.44559357, + 0.5669523, + 0.091077976, + 0.122591145, + 0.043361943, + -0.22064613, + -0.107763454, + 0.12772202, + -0.93951863, + -0.48010385, + -0.46007398, + -0.3579957, + -0.21864966, + -0.30650228, -0.006632633, -0.00079724286, -0.001203401, -0.001678803, - -0.44484305, - -0.61147314, - -0.3471109, - -0.42601228, - -0.31840518, - -0.32036966, - -1.754078, - -1.326252, - -1.4050503, - -1.111467, - -1.1496159, - -0.9321292, - -2.6113698, - -2.0200438, - -1.9366812, - -1.6316938, - -1.5515676, - -1.4845215, - 0.8423966, - 0.68782324, - 0.02183099, - -0.37770718, - 0.11940632, - 0.39501315, - -0.59378856, - -1.025195, - -1.2209104, - -1.740665, - -1.8939053, - -2.0094502, - -0.6947676, - -0.8296108, - -0.97221154, - -1.264745, - -1.4338754, - -1.3341452, - 0.63691896, - 0.5502101, - 0.52379936, - -0.4769221, - -0.6619411, - -0.89181066, - 0.12777802, - 0.0015773248, - 0.01574679, - -0.80674714, - -1.1698514, - -1.5217952, - -0.21914868, - -0.034359433, - -0.020456605, - -0.23955779, - -0.19716194, - -0.59165937, - -0.06306139, - -0.89018285, - -0.5234711, - 0.22013383, - 0.8443627, - 0.046057764, - -0.33832133, - -0.45035195, - -0.4366456, - -0.3888735, - -0.41068295, - -0.29234797, - -0.5082694, - -0.70753336, - -0.72358435, - -0.6797181, - -0.69597185, - -0.8059947, - -0.38749725, - -0.36994115, - 0.017969858, - -0.12107547, - 0.15896834, - 0.13461475, - -0.09898115, - -0.19852194, - -0.08595807, - -0.2721182, - -0.29533324, - -0.2800463, - -0.44550696, - -0.49359378, - -0.508492, - -0.57326263, - -0.52706414, - -0.56816393, - -1.957993, - -0.47302213, - -1.0109646, - -0.18299906, - -0.8897048, - 0.061507657, - -0.1731401, - -0.3172683, - -1.0405055, - -0.06591034, - 0.20822382, - 0.06476548, - -0.7219562, - -0.070343554, - 0.37239337, - 0.6164922, - -0.91370326, - -0.92917204, - -0.9489233, - -1.4803916, - -0.072025105, - -0.5466855, - -0.4094848, - -0.689761, - -0.25855854, - -0.4688371, - -0.86676246, - -0.32395214, - -0.7128764, - -0.43762884, - -1.0139304, - -0.44459504, - 0.59066397, - 0.47725993, - 0.23407497, - 0.54075164, - 0.62954277, - 0.1901225, - 0.41154507, - 0.13889018, - 0.088821776, - -0.029656567, - -0.32318866, - -0.10266873, - 0.7091862, - 0.71989846, - 1.071729, - 0.5688946, - 0.18491605, - 0.2288558, - -0.55991614, - -0.616642, - -0.9013786, - -1.110565, - -0.205049, - -0.07905446, - -0.005361257, - -1.0622607, - -1.0956246, - -1.2323551, - -1.380197, - -1.3594375, - -1.4908882, - -1.634926, - -1.8225753, - -1.7846316, - -0.90050787, - -1.077885, - -1.2398311, - -1.5699179, - -1.9276227, - -2.0282273, - -2.3159795, - -2.2693043, - -2.0197172, - 0.25905675, - 0.12786089, - -0.040714066, - -0.2317173, - -0.099967934, - -0.13309021, - -0.02127338, - -1.3525194, - -0.5765043, - -0.01169161, - -0.087217905, - -0.088336274, - 0.2316966, - -0.030088142, - 0.22347088, - 0.17718217, - 0.004125176, - 0.91146135, - 0.57476676, - 0.09429154, - -0.4585248, - -1.0308565, - 0.07627321, - 0.17285596, - -0.1839484, - -0.70825714, - -1.2419466, - 0.059923466, - 0.9444582, - 0.021835303, - -0.8473922, - -1.5244391, - 0.02271662, - 1.1268196, - 0.2493339, - -0.7663204, - -1.5168272, - 0.13011274, - 0.46615526, - 0.1571667, - -0.08215871, - -0.43049917, - 1.2227547, - 1.1446127, - 0.34168878, - -0.40556785, - -1.2338904, - 1.2671192, - 1.0222621, - 0.22358643, - -0.54163754, - -1.4358602, - -0.20198017, - 0.14063661, - -0.047965616, - -0.5107326, - -0.9697594, - 1.1592789, - 1.0688163, - 0.29126805, - -0.6271604, - -1.4213763, - 1.391164, - 1.1272751, - 0.22172052, - -0.7527184, - -1.6072445, - -0.01966803, - -0.42253816, - -0.7910546, - -0.075491205, - -0.32977065, - -0.6572985, - 0.14284766, - -0.13654515, - -0.1562064, - 0.15647241, - 0.3731098, - 0.17364167, - 0.6758522, - 0.4167647, - 0.5016467, - 0.35884336, - 0.26332945, - 0.38436717, - 0.005503459, - 0.009021362, - -0.009674854, + 0.008264789, + 0.0015326263, + -0.006872382, + -0.0035781572, + 0.0023975773, + -0.0020184517, + -0.00068451837, + -0.0031730435, + -0.59719783, + -0.7169829, + -0.4504656, + -0.48829833, + -0.37444133, + -0.37073565, + -1.8127528, + -1.3393819, + -1.4153965, + -1.0793953, + -1.1171643, + -0.8953199, + -2.6885939, + -2.048247, + -1.9652423, + -1.6168728, + -1.5272992, + -1.4660542, + 0.8836757, + 0.6239415, + -0.10675414, + -0.64831555, + -0.000117003634, + 0.5292693, + -0.6006094, + -1.0255533, + -1.2132746, + -1.7357997, + -1.8923441, + -2.0034897, + -0.71376175, + -0.83912104, + -0.9931064, + -1.2853303, + -1.4485689, + -1.3655131, + 0.7337959, + 0.5386345, + 0.50120294, + -0.48208863, + -0.6620747, + -0.8864416, + -0.019644657, + -0.081187315, + -0.061428227, + -0.8423867, + -1.2044727, + -1.5505245, + -0.38405898, + -0.1585598, + -0.14347242, + -0.3321643, + -0.26869565, + -0.6661586, + -0.13000467, + -0.97031945, + -0.5426394, + 0.19519529, + 0.8603658, + 0.014862907, + -0.33315665, + -0.44372496, + -0.42823845, + -0.3868975, + -0.41059002, + -0.27999705, + -0.5407013, + -0.73204476, + -0.7601025, + -0.70695287, + -0.7202301, + -0.8454061, + -0.438591, + -0.39496598, + -0.004735442, + -0.13257423, + 0.14615427, + 0.117169544, + -0.1019094, + -0.20011722, + -0.08452672, + -0.27107158, + -0.29630283, + -0.28160006, + -0.46760178, + -0.5101951, + -0.5308713, + -0.5956938, + -0.5460678, + -0.5906477, + -2.4145792, + -0.5045854, + -1.2256825, + -0.22259712, + -0.95435256, + 0.03924498, + -0.21294253, + -0.3799368, + -1.0756669, + -0.013070454, + 0.29895473, + 0.08554671, + -0.70322967, + -0.04448177, + 0.3732324, + 0.58071166, + -0.9124023, + -0.9209816, + -0.96066546, + -1.499808, + -0.09171549, + -0.5642357, + -0.30628252, + -0.43701392, + -0.2549299, + -0.46845308, + -0.8737495, + -0.3650252, + -0.69937474, + -0.42542765, + -1.3239977, + -0.43602642, + 0.5959484, + 0.4784313, + 0.17991538, + 0.5476931, + 0.6363799, + 0.18790261, + 0.75138557, + 0.10528716, + 0.08687811, + -0.029260278, + -0.37032694, + -0.09937968, + 0.7109928, + 0.727058, + 1.4309665, + 0.5682886, + 0.24913257, + 0.22204065, + -0.60410225, + -0.63919044, + -0.90622383, + -1.2710884, + -0.302677, + -0.12308367, + 0.0018291076, + -1.0927283, + -1.1233913, + -1.2293359, + -1.3698388, + -1.3470405, + -1.4552686, + -1.5807644, + -1.7043709, + -2.0856297, + -1.029768, + -1.1572393, + -1.3246717, + -1.6468236, + -1.9832667, + -2.104935, + -2.4153187, + -2.4513664, + -2.1084793, + 0.25921598, + 0.12541114, + -0.04156143, + -0.23071072, + -0.102646194, + -0.13608162, + -0.023615586, + -1.5928775, + -0.352665, + -0.0029025883, + -0.08678213, + -0.090199634, + 0.22445844, + -1.5149714, + -2.9121416, + -0.05178563, + -0.013168632, + -0.21295045, + -1.2297513, + -0.030210463, + 0.22569647, + 0.17588963, + 0.016745556, + 0.9039596, + 0.5613608, + 0.07380435, + -0.48720396, + -1.0688034, + 0.07671167, + 0.1235085, + -0.20781925, + -0.71381265, + -1.2384914, + 0.051861178, + 0.9691609, + 0.022767732, + -0.8678577, + -1.5677501, + 0.030598586, + 1.1607652, + 0.25351772, + -0.7863478, + -1.5588385, + 0.046705823, + 0.41578168, + 0.12910683, + -0.0854443, + -0.4135135, + 1.2515894, + 1.1576179, + 0.33219135, + -0.4362205, + -1.2898526, + 1.3040986, + 1.04525, + 0.22351176, + -0.56744176, + -1.481952, + -0.28406838, + 0.09639718, + -0.06640034, + -0.5087065, + -0.94579315, + 1.1917287, + 1.0865977, + 0.28797016, + -0.65247655, + -1.470224, + 1.4282557, + 1.1543663, + 0.22380283, + -0.7750405, + -1.6495152, + -0.03463815, + -0.42070848, + -0.76835984, + -0.10178234, + -0.3349951, + -0.63667834, + 0.12263701, + -0.13314337, + -0.13226153, + 0.15973982, + 0.3719807, + 0.17987633, + 0.6688497, + 0.4115776, + 0.48799163, + 0.364243, + 0.26315048, + 0.39107242, + 0.005306828, + -0.00012632087, + 0.0043307636, + 0.0066054463, + -0.0020516347, ]; #[allow(clippy::unreadable_literal)] @@ -2580,526 +2637,542 @@ 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.7452693, - 0.8884029, - 0.19034223, - 0.2878733, - -0.06113673, - -0.18072972, - 0.05957889, - 0.74406934, - 0.5826557, - 0.60369337, - 0.5399739, - 0.4526437, - 0.0801274, - 1.710338, - 1.345855, - 1.4656348, - 1.0321804, - 1.1249988, - 0.9183174, - 2.3670921, - 1.8248702, - 1.8402843, - 1.271831, - 1.2524304, - 1.3059237, - -1.1815143, - -0.84551066, - -1.9671977, - -1.1715091, - -0.5402239, - -0.3396544, - 0.95385015, - 1.0786659, - 1.0149479, - 1.3325489, - 1.514868, - 1.3694252, - 0.31846407, - 0.59296197, - 0.6074989, - 0.68892175, - 0.7250909, - 0.9592837, - 0.375452, - 0.24341524, - -0.020134006, - 0.99817663, - 0.9893154, - 0.9930396, - 0.049046073, - 0.16299447, - 0.25464013, - 0.5601901, - 0.98776674, - 1.1246996, - 0.14175273, - -0.44393423, - -0.3797762, - -0.6064716, - -0.4131032, - -0.22892988, - 0.6120425, - 0.54539603, - 0.30889955, - -0.66527784, - -0.27660906, - -0.13407247, - 0.2718068, - 0.2610338, - 0.34153175, - 0.37647355, - 0.38597023, - 0.46936756, - 0.42417926, - 0.4934313, - 0.55626553, - 0.5137952, - 0.5888993, - 0.46237022, - 0.15367943, - 0.14634076, - 0.25811657, - 0.40057793, - 0.23533437, - 0.39920646, - 0.122183375, - 0.21159272, - 0.18294734, - 0.27311105, - 0.3173241, - 0.22972694, - 0.2349214, - 0.25285316, - 0.25289696, - 0.3138733, - 0.3355385, - 0.29363024, - 2.9971833, - 0.53007966, - 1.2757199, - 0.3973889, - 1.0685316, - 0.17138916, - 0.21777664, - 0.5923407, - 0.55395776, - -0.038282882, - -0.09706147, - -0.17864221, - 0.16841622, - -0.05785547, - -0.056069735, - -0.23016423, - 0.8334942, - 0.84766763, - 1.5448701, - 0.7056648, - -0.22933078, - 0.56675565, - 0.36155075, - 1.7986249, - 0.24398944, - 0.3885595, - 0.5434935, - 0.40201938, - 0.5149159, - 0.14555937, - 0.64107573, - 0.30727893, - -0.5389814, - -0.42824468, - -0.52762294, - -0.44842812, - -0.60653275, - -0.22254287, - 0.73957646, - -0.20463262, - -0.056046076, - 0.06326287, - 0.0033303173, - 0.10809539, - -0.7296656, - -0.6345798, - -0.57903147, - -0.7114408, - 0.019711863, - -0.12856978, - -0.25283536, - 0.86745006, - 1.2385831, - 1.3392938, - 1.1250145, - 0.7603918, - 0.13970223, - 0.56514984, - 0.8311498, - 1.0232519, - 1.2981528, - 1.2710807, - 1.2851101, - 1.2940427, - 1.2831739, - 1.3783487, - 1.075531, - 1.0241358, - 1.0593121, - 1.0139433, - 1.0940503, - 1.3910645, - 1.4906893, - 1.7093564, - 1.9416988, - -0.30559385, - -0.10253417, - -0.0076153097, - 0.27578437, - 0.031772636, - 0.1379809, - -0.012525622, - 2.8384624, - 0.7889668, - 0.032205805, - 0.121540785, - 0.04961206, - -0.16713753, - 0.016010048, - -0.16914298, - -0.14813013, - 0.0054334905, - -0.7334265, - -0.42722666, - -0.11137601, - 0.364907, - 0.8783214, - -0.13287672, - -0.20868511, - 0.109700784, - 0.56298023, - 0.8903078, - 0.06304267, - -0.89164513, - -0.1599225, - 0.63763094, - 1.3204436, - 0.031398475, - -0.9090991, - -0.20689648, - 0.7282199, - 1.3745742, - -0.07911351, - -0.42099023, - -0.22646683, - -0.081296496, - 0.20990267, - -1.0640345, - -0.957159, - -0.31481743, - 0.38502085, - 1.1368365, - -1.0743997, - -0.94546324, - -0.2858097, - 0.42797923, - 1.1337937, - 0.32554758, - -0.09646693, - 0.012275668, - 0.25405076, - 0.5838089, - -1.0035142, - -0.85921854, - -0.21646814, - 0.5618698, - 1.3369014, - -1.1007947, - -0.95251346, - -0.1920668, - 0.5943271, - 1.34914, - -0.035431933, - 0.10802721, - 0.29287773, - -0.001784083, - 0.05441544, - 0.2986462, - -0.045100268, - 0.0323814, - 0.015017402, - -0.32585576, - -0.4961573, - -0.21684493, - -0.56425637, - -0.30114195, - -0.26079792, - -0.13541377, - -0.04856084, - -0.41063696, - 0.0015812209, - 0.009482224, - 0.0059623104, - -0.008494556, - -0.001817584, - -0.009368448, + 0.744421, + 0.88778675, + 0.18981418, + 0.2862533, + -0.058998063, + -0.17330426, + 0.074028395, + 0.7845727, + 0.6048966, + 0.626208, + 0.54475653, + 0.4562622, + 0.082769744, + 1.74634, + 1.3666561, + 1.4895221, + 1.0369438, + 1.1312525, + 0.92800456, + 2.3937767, + 1.8380368, + 1.8571601, + 1.2725054, + 1.2556088, + 1.3062816, + -1.2137636, + -0.83562547, + -2.0052252, + -1.1690018, + -0.5234365, + -0.34709084, + 0.9618222, + 1.084642, + 1.022162, + 1.3318293, + 1.5152484, + 1.3654702, + 0.33157194, + 0.599315, + 0.6151848, + 0.6973882, + 0.7310851, + 0.95719385, + 0.43382195, + 0.26700947, + 0.008446065, + 0.99933743, + 0.98524755, + 0.98493814, + 0.0806228, + 0.17379422, + 0.26464275, + 0.56021935, + 0.9846464, + 1.1222295, + 0.12776034, + -0.4717977, + -0.40562615, + -0.6414424, + -0.44087347, + -0.26145622, + 0.65368724, + 0.5607279, + 0.31702635, + -0.74098617, + -0.26065114, + -0.1269282, + 0.2665912, + 0.26773423, + 0.3442091, + 0.3925113, + 0.3999259, + 0.48486236, + 0.43040037, + 0.49894878, + 0.564583, + 0.5212924, + 0.60195416, + 0.47685096, + 0.17494495, + 0.14465174, + 0.26879606, + 0.3938066, + 0.23400177, + 0.40032423, + 0.12610342, + 0.21381436, + 0.18393128, + 0.27702487, + 0.3204278, + 0.2351231, + 0.23765653, + 0.25391853, + 0.2558927, + 0.31698757, + 0.34073994, + 0.29997724, + 3.089301, + 0.53449863, + 1.2918159, + 0.40113723, + 1.1024193, + 0.17060605, + 0.21864207, + 0.61604065, + 0.5344227, + -0.055580087, + -0.09383589, + -0.17392153, + 0.16481912, + -0.06207179, + -0.06620441, + -0.24377458, + 0.8397131, + 0.8445602, + 1.5661404, + 0.7679617, + -0.37035972, + 0.57294464, + -0.007953096, + 1.354521, + 0.25903484, + 0.38783583, + 0.58024687, + 0.45287362, + 0.51430756, + 0.13773961, + 0.68248796, + 0.30515945, + -0.53776413, + -0.4262115, + -0.4688175, + -0.4456564, + -0.5759159, + -0.22260056, + 0.58492684, + -0.17645946, + -0.059207883, + 0.06339653, + 0.008202185, + 0.10437323, + -0.72766876, + -0.6303598, + -0.7223325, + -0.70299816, + 0.025211371, + -0.12206734, + -0.24198774, + 0.9001239, + 1.2687281, + 1.3633974, + 1.178136, + 0.8082346, + 0.14055654, + 0.5660956, + 0.8936381, + 1.0511028, + 1.3132452, + 1.2796816, + 1.289973, + 1.2923594, + 1.2740294, + 1.3668749, + 1.0886523, + 1.0372819, + 1.0769991, + 1.0295774, + 1.1087018, + 1.3980274, + 1.4939495, + 1.7145919, + 1.9305323, + -0.30735326, + -0.09889909, + 0.0003220055, + 0.27798787, + 0.034652475, + 0.13984744, + -0.012005497, + 1.8012823, + 0.30355674, + 0.031956647, + 0.12562132, + 0.048491966, + -0.16146496, + 2.5794253, + 3.6987255, + 0.008829914, + 0.34637317, + 0.5668086, + 1.3701355, + 0.015819738, + -0.17071486, + -0.14785153, + -0.0069796084, + -0.7295656, + -0.42786813, + -0.11269894, + 0.36067978, + 0.8709615, + -0.13262066, + -0.19536945, + 0.10862384, + 0.54673153, + 0.8598621, + 0.056707274, + -0.8965826, + -0.16097462, + 0.6358394, + 1.3131495, + 0.026459135, + -0.9140821, + -0.20510238, + 0.73009384, + 1.3667091, + -0.045369256, + -0.40217578, + -0.2227599, + -0.08854404, + 0.1902847, + -1.0764203, + -0.96149087, + -0.31518042, + 0.38785297, + 1.1435213, + -1.0830243, + -0.9459228, + -0.2848101, + 0.43056408, + 1.1355504, + 0.35632733, + -0.08038181, + 0.014696894, + 0.24234797, + 0.5592285, + -1.0142434, + -0.86357045, + -0.21869119, + 0.56187165, + 1.3403852, + -1.105331, + -0.94999355, + -0.18867342, + 0.5981654, + 1.3521897, + -0.034198068, + 0.09746, + 0.26796356, + -0.0026246773, + 0.04439071, + 0.27342275, + -0.04317298, + 0.019473845, + -0.007828881, + -0.32712469, + -0.49703285, + -0.23127675, + -0.5665348, + -0.302965, + -0.23688069, + -0.13449545, + -0.046174936, + -0.40877584, -0.006632633, -0.00079724286, -0.001203401, -0.001678803, - -0.6531083, - -0.8227959, - -0.720212, - -0.39270186, - -0.28089738, - -0.17843051, - -1.8699031, - -1.4588947, - -1.4144516, - -1.025639, - -1.0219687, - -0.97580075, - -2.5000787, - -1.9145142, - -1.8304847, - -1.2928325, - -1.3002993, - -1.205946, - 0.44069615, - 0.782119, - 0.5211002, - -0.4393066, - -0.5669086, - -0.028226087, - -0.9730817, - -1.3230426, - -1.2881117, - -1.7893777, - -1.8283598, - -1.8697228, - -0.82968456, - -1.1246688, - -1.1304692, - -1.3242332, - -1.4460608, - -1.5006644, - 0.27801877, - 0.41605842, - 0.532941, - -0.034642503, - -0.2661353, - -0.39299747, - -0.09956189, - -0.37481964, - -0.24820805, - -0.7948388, - -1.0080465, - -1.4132624, - -0.44844472, - -0.26128522, - -0.34878466, - -0.17351595, - -0.39612496, - -0.4124883, - -0.6060519, - -1.0442241, - -0.16120888, - 0.1302393, - 0.32818362, - 0.15411454, - -0.13132627, - -0.45680526, - -0.5342953, - -0.398467, - -0.5000523, - -0.48209903, - -0.37168366, - -0.40740055, - -0.48832336, - -0.41267034, - -0.4475263, - -0.34968632, - -0.009164672, - -0.5714959, - 0.011360626, - -0.054794136, - 0.040403705, - -0.389995, - -0.07261904, - -0.2052106, - -0.21501426, - -0.27134496, - -0.3128293, - -0.26019138, - -0.27280623, - -0.30961385, - -0.35480887, - -0.30418915, - -0.34957883, - -0.32784033, - -2.693682, - -0.4655432, - -1.6546177, - -0.15699217, - -0.8869281, - 0.1472198, - -0.3246534, - -0.6040194, - -1.0165133, - -0.63546807, - -0.32659447, - -0.17597613, - -0.8772867, - -0.5122817, - -0.24665038, - 0.017018327, - -0.81290406, - -1.0055763, - -1.6524627, - -1.1192735, - 0.1858645, - -0.43651214, - -1.0900251, - -1.0686463, - -0.2571654, - -0.27797925, - -0.13941932, - -0.2761457, - -0.70153546, - -0.27613583, - -0.39028805, - -0.31152344, - 0.4828392, - 0.4682794, - 0.6912335, - 0.3020399, - 0.4971318, - -0.13534777, - -0.29117936, - 0.3525775, - 0.09075516, - -0.021384688, - -0.077187255, - -0.078897886, - 0.47750703, - 0.55135524, - 0.71205974, - 0.49924532, - 0.057037577, - -0.42687207, - -0.12873712, - 0.00047784447, - -0.47004038, - -0.54918116, - -0.16215391, - -0.04628914, - -0.014295458, - -1.2428293, - -1.1087011, - -1.1383184, - -1.2023358, - -1.101937, - -1.3309935, - -1.6496916, - -1.7701358, - -0.97285795, - -1.009981, - -1.366158, - -1.3672799, - -1.5635875, - -1.7106496, - -1.6757752, - -1.6920881, - -1.754162, - -1.7206662, - 0.2844472, - 0.12669401, - 0.0058898665, - -0.23788473, - -0.02567568, - -0.15785661, - 0.102757305, - -1.1456109, - -0.41073593, - -0.030422302, - -0.096339166, - -0.04500505, - 0.10005195, - -0.03201275, - 0.25749302, - 0.22186892, - -0.0055551147, - 0.66497046, - 0.40460455, - 0.0534405, - -0.347497, - -0.7785845, - -0.12787412, - -0.20100367, - -0.3505897, - -0.5381141, - -0.8415784, - 0.061953522, - 0.8382977, - 0.115585804, - -0.6613449, - -1.2978594, - 0.023565622, - 0.9143543, - 0.21306723, - -0.5723457, - -1.3872665, - -0.49443135, - -0.042455174, - -0.06643269, - -0.07268991, - -0.49584508, - 1.0257636, - 0.85115767, - 0.20541199, - -0.44965473, - -1.1479878, - 1.0914657, - 0.8190784, - 0.16945365, - -0.5185535, - -1.3626881, - -0.3967861, - -0.10335569, - -0.15381497, - -0.26966262, - -0.30106422, - 1.1550177, - 0.8786784, - 0.2188853, - -0.5437245, - -1.2631505, - 1.2731756, - 0.96742284, - 0.23623352, - -0.5725658, - -1.3668672, - -0.094286054, - -0.1836892, - -0.37779906, - -0.06884515, - -0.2758342, - -0.13783918, - -0.031058827, - 0.0013827592, - 0.19629316, - 0.124875605, - 0.13536122, - 0.039903097, - 0.46329695, - 0.02846287, - 0.26726073, - 0.09583619, - 0.06696042, - 0.19807713, - 0.005503459, - 0.009021362, - -0.009674854, + 0.008264789, + 0.0015326263, + -0.006872382, + -0.0035781572, + 0.0023975773, + -0.0020184517, + -0.00068451837, + -0.0031730435, + -0.6890998, + -0.8422213, + -0.7386834, + -0.3932265, + -0.28177455, + -0.18490753, + -1.9067286, + -1.4779525, + -1.431873, + -1.0258085, + -1.0222512, + -0.9747136, + -2.5293505, + -1.924936, + -1.8385903, + -1.2882059, + -1.294973, + -1.2079747, + 0.40012774, + 0.75190586, + 0.5110061, + -0.44503614, + -0.5784066, + -0.038622703, + -0.9823419, + -1.3307447, + -1.2927109, + -1.7946016, + -1.8335941, + -1.8763372, + -0.825324, + -1.12254, + -1.1253926, + -1.3199674, + -1.4413863, + -1.4987608, + 0.27371582, + 0.4044831, + 0.53309673, + -0.024436468, + -0.2511689, + -0.37582758, + -0.13860494, + -0.39867878, + -0.27653322, + -0.80177706, + -1.011813, + -1.4135803, + -0.48891598, + -0.29734626, + -0.37990573, + -0.1987239, + -0.41437307, + -0.42882216, + -0.6022456, + -1.0421313, + -0.1582915, + 0.114152655, + 0.32787904, + 0.15919533, + -0.13492517, + -0.45579213, + -0.537462, + -0.39920998, + -0.504219, + -0.48965558, + -0.37592462, + -0.41367877, + -0.4956509, + -0.42401612, + -0.46312618, + -0.37125257, + -0.002233495, + -0.5795715, + 0.01374164, + -0.054260116, + 0.039712403, + -0.39108703, + -0.07531973, + -0.20618689, + -0.21745306, + -0.27325374, + -0.31516618, + -0.2630365, + -0.27431017, + -0.31168717, + -0.35701105, + -0.3068624, + -0.3538997, + -0.3325884, + -2.7611673, + -0.47310945, + -1.7311555, + -0.15729605, + -1.040355, + 0.13515732, + -0.33171695, + -0.6078026, + -1.0252293, + -0.6661697, + -0.34603974, + -0.19738494, + -0.8891, + -0.5245224, + -0.24980372, + 0.016606582, + -0.81107867, + -0.99732196, + -1.6515212, + -1.1417959, + 0.19855173, + -0.46242657, + -1.0172958, + -0.8311344, + -0.26351708, + -0.27482694, + -0.13788274, + -0.3109098, + -0.6970051, + -0.26916215, + -0.42706814, + -0.3064, + 0.48570406, + 0.46850973, + 0.6564051, + 0.30427694, + 0.49796513, + -0.13026854, + -0.23146811, + 0.33738294, + 0.089694016, + -0.022535278, + -0.06637164, + -0.07737743, + 0.47908857, + 0.5537233, + 0.81925374, + 0.49501723, + 0.045486353, + -0.44635218, + -0.10931311, + 0.026395878, + -0.43754277, + -0.5630856, + -0.17119528, + -0.06205942, + -0.0065732417, + -1.2759963, + -1.1266135, + -1.1517131, + -1.2090644, + -1.107018, + -1.3281474, + -1.6200341, + -1.8610084, + -1.0447512, + -1.0338696, + -1.3874451, + -1.3862191, + -1.5800074, + -1.7262486, + -1.7044166, + -1.7430825, + -1.7526973, + -1.7826265, + 0.28257138, + 0.12672566, + 0.0030841678, + -0.24566321, + -0.02501938, + -0.15867135, + 0.1032163, + -0.933846, + 0.14618368, + -0.024784926, + -0.09912079, + -0.046111096, + 0.099384725, + -1.3249024, + -2.2110765, + 0.05497332, + 0.016297346, + -0.6877832, + -1.1818271, + -0.03194345, + 0.25894293, + 0.21984458, + 0.0046677087, + 0.6546359, + 0.39375478, + 0.0418807, + -0.3606342, + -0.7928083, + -0.12897182, + -0.21718425, + -0.35359713, + -0.52843857, + -0.82305074, + 0.06253487, + 0.84164083, + 0.113564834, + -0.66943085, + -1.3027228, + 0.03123934, + 0.91864353, + 0.21222329, + -0.5762596, + -1.3860683, + -0.52564937, + -0.06011067, + -0.068493955, + -0.060986634, + -0.47422525, + 1.0313395, + 0.8524793, + 0.20298935, + -0.45689675, + -1.1592506, + 1.1066505, + 0.82603735, + 0.17178519, + -0.52049583, + -1.3742176, + -0.4236264, + -0.1176367, + -0.15337686, + -0.257942, + -0.27774143, + 1.1600782, + 0.88118297, + 0.21630758, + -0.54974115, + -1.2736688, + 1.2861251, + 0.9709121, + 0.23602588, + -0.57850075, + -1.3774083, + -0.09392878, + -0.17309879, + -0.35164455, + -0.06962184, + -0.26754197, + -0.11006782, + -0.033609197, + 0.011213157, + 0.22195265, + 0.12318727, + 0.13267997, + 0.037741356, + 0.46160907, + 0.03149537, + 0.25664428, + 0.09757549, + 0.06850445, + 0.19736391, + 0.005306828, + -0.00012632087, + 0.0043307636, + 0.0066054463, + -0.0020516347, ]; #[allow(clippy::unreadable_literal)] @@ -3308,550 +3381,566 @@ 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.5260148, - 1.3536146, - 0.72278893, - 0.7492248, - 0.34588894, - 0.2237298, - 0.10123463, - 0.5132457, - 0.52867484, - 0.6302818, - 0.5386496, - 0.6293917, - 0.5719745, - 1.520479, - 1.3565434, - 1.3623099, - 1.3049121, - 1.2930866, - 1.2219919, - 2.2371595, - 1.9307797, - 1.8703638, - 1.6972665, - 1.6309338, - 1.6186886, - -0.39511463, - -0.94362754, - -0.12492073, - 0.16268127, - 0.0013849669, - 0.95109785, - 0.93615437, - 1.234702, - 1.2934706, - 1.4479475, - 1.493586, - 1.5396183, - 0.8323143, - 1.0385784, - 0.90593904, - 1.2078156, - 1.2147906, - 1.3987948, - -0.08489356, - 0.21747902, - 0.10208229, - 0.15416242, - 0.6012575, - 0.9874478, - -1.0970556, - 0.043486074, - 0.292766, - 0.39801162, - 0.6874495, - 0.9690168, - -0.20907672, - -0.04613881, - -0.1785575, - -0.06949712, - 0.14591669, - 0.3312408, - -0.30378485, - 0.056668486, - -0.10186405, - 0.12007309, - 0.10944024, - -0.09124805, - 0.11403177, - 0.19293071, - 0.17045361, - 0.25238407, - 0.30111453, - 0.35929456, - 0.43802637, - 0.51285565, - 0.5720144, - 0.53854305, - 0.61237544, - 0.5927831, - -0.15919158, - 0.008372268, - 0.009028152, - 0.13540085, - 0.13910174, - 0.26579747, - 0.0322659, - 0.15343016, - 0.18911849, - 0.24179874, - 0.28409067, - 0.31767294, - 0.34793887, - 0.44250932, - 0.41333976, - 0.48139152, - 0.5140322, - 0.5057068, - 1.518285, - 0.45016682, - 0.99454445, - 0.1559865, - 0.82523805, - -0.07164724, - 0.1978145, - 0.5911254, - 0.6450385, - -0.032073036, - 0.0031420656, - -0.30941895, - 0.3539207, - 0.02317186, - -0.037797313, - -0.55243504, - 0.82655656, - 1.043201, - 0.18688926, - 1.0082378, - 0.3862399, - 0.48729807, - 0.2721271, - 0.8954389, - 0.12871854, - 0.20563649, - 0.8004986, - 0.26081702, - 0.76751643, - 0.18537146, - 0.033836663, - 0.3990245, - -0.6119751, - -0.4512421, - 0.07975068, - -0.449863, - -0.6188947, - -0.084619515, - 0.4201952, - -0.11737652, - -0.028529419, - 0.04763308, - -0.25193313, - 0.07001725, - -0.61858416, - -0.6191782, - -0.9274837, - -0.7004601, - -0.12643804, - -0.09064909, - 0.27766156, - 0.37425235, - 0.35405552, - 0.54939085, - 1.0588346, - 0.51645714, - 0.22707506, - 0.64498043, - 0.9236956, - 0.9981291, - 1.1203066, - 1.2456367, - 1.2169503, - 1.3537017, - 1.5201713, - 1.4379824, - 0.76596516, - 0.8589588, - 1.0337539, - 1.2389994, - 1.3044423, - 1.4444523, - 1.5766902, - 1.5103908, - 1.8182547, - -0.26397306, - -0.0821718, - 0.056018703, - 0.30793366, - 0.10058551, - 0.20217945, - 0.07610583, - 1.0142341, - 0.76568407, - 0.013737986, - 0.118996926, - 0.0888005, - -0.17952368, - 0.037060596, - -0.17312782, - -0.1392547, - 0.0054334905, - -0.49283922, - -0.3001193, - -0.19013721, - -0.019768003, - 0.27175066, - 0.6001263, - 0.12994139, - -0.2068132, - -0.022223288, - 0.24339157, - 0.6324449, - 0.8956618, - -0.0110164685, - -0.5577704, - -0.17516378, - 0.22082742, - 0.7982886, - 1.1055692, - -0.013470291, - -0.71347314, - -0.2681075, - 0.23394524, - 0.7950093, - 1.1330462, - -0.21488725, - -0.3886176, - -0.32451165, - -0.26465043, - -0.10180225, - 0.08549266, - -0.91795146, - -0.8678859, - -0.5227564, - -0.11320846, - 0.21079512, - 0.65663886, - -1.0768952, - -0.9154398, - -0.49350363, - -0.017473483, - 0.46744487, - 0.9572788, - 0.031300727, - -0.17097768, - -0.16426189, - -0.0211383, - 0.30337492, - 0.631132, - -0.80839455, - -0.687988, - -0.3311294, - 0.07230763, - 0.5964211, - 1.1172984, - -1.0618695, - -0.8240399, - -0.41420776, - 0.09808327, - 0.69760156, - 1.2208768, - -0.08668628, - 0.08855606, - 0.525307, - 0.039148595, - 0.07410318, - 0.4780233, - -0.11022356, - 0.12915969, - 0.1424668, - -0.4826211, - -0.17183264, - -0.14855368, - -0.52941436, - -0.78909636, - -0.38900536, - -0.37619734, - -0.27783862, - -0.1318345, - 0.008264789, - 0.0015326263, - -0.006872382, - -0.0035781572, - 0.0023975773, - -0.0020184517, + 0.52595997, + 1.3535309, + 0.724029, + 0.74913675, + 0.3465033, + 0.22406225, + 0.10147476, + 0.51619333, + 0.52895916, + 0.63101655, + 0.5373952, + 0.6282629, + 0.57131356, + 1.5201395, + 1.3556314, + 1.3617207, + 1.3040144, + 1.2914932, + 1.2206461, + 2.233889, + 1.925945, + 1.866241, + 1.6920065, + 1.6267836, + 1.6153704, + -0.39434454, + -0.9424804, + -0.1274271, + 0.16334726, + -0.0032635003, + 0.94729453, + 0.9317901, + 1.2318139, + 1.2932904, + 1.4461478, + 1.4937698, + 1.5398873, + 0.8331274, + 1.0385038, + 0.90423673, + 1.2095138, + 1.2117862, + 1.3965455, + -0.08656884, + 0.2187755, + 0.11128988, + 0.15423444, + 0.60006636, + 0.98438233, + -1.1020019, + 0.039495148, + 0.28320768, + 0.39903596, + 0.68609923, + 0.9670127, + -0.21783319, + -0.047795523, + -0.17414181, + -0.06811051, + 0.15009587, + 0.33872402, + -0.3164961, + 0.05545119, + -0.10951722, + 0.12360749, + 0.11728147, + -0.08912331, + 0.11507089, + 0.19572417, + 0.17194529, + 0.2570856, + 0.3066101, + 0.3675468, + 0.434712, + 0.5121179, + 0.5737471, + 0.5385083, + 0.614181, + 0.5963681, + -0.15452181, + 0.007858729, + 0.009366114, + 0.135558, + 0.13910621, + 0.2639657, + 0.030736247, + 0.15222622, + 0.18794899, + 0.241139, + 0.2836103, + 0.31829506, + 0.34608325, + 0.44119486, + 0.41307902, + 0.48001048, + 0.5132451, + 0.5060837, + 1.5009851, + 0.4601835, + 0.99510497, + 0.14758614, + 0.8519268, + -0.0623111, + 0.204336, + 0.58907086, + 0.6383172, + -0.03405932, + 0.007825993, + -0.30306336, + 0.36040404, + 0.0304293, + -0.039017145, + -0.5426542, + 0.8270301, + 1.0397471, + 0.1863184, + 1.0410641, + 0.35038254, + 0.4938865, + 0.22994144, + 0.7428441, + 0.13113812, + 0.20379113, + 0.7975095, + 0.27212426, + 0.76654464, + 0.18135105, + 0.028179264, + 0.39913267, + -0.61256915, + -0.45200872, + 0.085620835, + -0.45015362, + -0.6125517, + -0.08466356, + 0.40042287, + -0.10898262, + -0.028807845, + 0.04793375, + -0.24730067, + 0.06898127, + -0.6154962, + -0.6158076, + -0.9350872, + -0.6967203, + -0.12582874, + -0.08909451, + 0.2683344, + 0.3707741, + 0.3531516, + 0.5478455, + 1.0598999, + 0.5145541, + 0.22600923, + 0.645275, + 0.92331475, + 1.0003363, + 1.1224816, + 1.2468545, + 1.2218863, + 1.3560693, + 1.5221082, + 1.4420515, + 0.777979, + 0.8670666, + 1.0415566, + 1.2485416, + 1.3144068, + 1.4518961, + 1.5865961, + 1.5250385, + 1.8322215, + -0.26544693, + -0.08031994, + 0.058443584, + 0.3021199, + 0.10074443, + 0.20166846, + 0.07706084, + 0.88984835, + 0.42444652, + 0.014183425, + 0.12173109, + 0.08796081, + -0.1845155, + 0.73860896, + 1.4294312, + 0.049636867, + 0.27900037, + 0.38718253, + 1.0870295, + 0.037029885, + -0.17336018, + -0.13881645, + -0.0069796084, + -0.4918545, + -0.2977804, + -0.18680893, + -0.015400371, + 0.27685526, + 0.6062593, + 0.12692203, + -0.20567316, + -0.021743663, + 0.24276492, + 0.6301729, + 0.8846822, + -0.0030065326, + -0.5578576, + -0.17462753, + 0.22136088, + 0.7977093, + 1.0955907, + -0.013293327, + -0.71375126, + -0.26924333, + 0.23377712, + 0.79383934, + 1.1263008, + -0.2129092, + -0.38810018, + -0.3254468, + -0.26628155, + -0.104903445, + 0.08428907, + -0.9155419, + -0.86683536, + -0.5219443, + -0.111488275, + 0.21340981, + 0.6599751, + -1.0778109, + -0.9164875, + -0.4939913, + -0.017692888, + 0.46735483, + 0.9586803, + 0.03656888, + -0.17079112, + -0.16513622, + -0.02315218, + 0.30130392, + 0.6300154, + -0.8058357, + -0.6875018, + -0.3304276, + 0.07327665, + 0.59714466, + 1.1155794, + -1.0608811, + -0.824427, + -0.41426966, + 0.098101676, + 0.6969143, + 1.2202202, + -0.087545715, + 0.085738935, + 0.5236707, + 0.03891224, + 0.0722697, + 0.47360983, + -0.109618284, + 0.12605377, + 0.14081387, + -0.48272377, + -0.17237826, + -0.1519421, + -0.5277962, + -0.787164, + -0.376734, + -0.37582815, + -0.27601248, + -0.13085866, -0.00068451837, -0.0031730435, 0.0038830638, -0.0005412027, 0.0021412876, -0.0075254655, - -0.37160802, - -0.53368765, - -0.48016393, - -0.55578387, - -0.6045032, - -0.5673268, - -1.497102, - -1.3569679, - -1.3176363, - -1.2890171, - -1.3053344, - -1.3379956, - -2.1441078, - -1.9371884, - -1.8837392, - -1.7007173, - -1.7040383, - -1.5860411, - 0.4477522, - 0.40812021, - 0.29136795, - -0.13327006, - 0.30209336, - 0.028984651, - -0.6996948, - -0.7380465, - -0.9677574, - -1.1698103, - -1.2763383, - -1.4607601, - -0.7375846, - -0.7724686, - -0.97815824, - -0.98808527, - -1.1768249, - -1.2958293, - 0.27910787, - 0.21007009, - 0.0073771896, - -0.3680278, - -0.5478222, - -0.75576144, - 0.6159723, - -0.01662515, - 0.086903095, - -0.5802947, - -0.72566694, - -1.2435728, - -0.13233936, - 0.14819767, - 0.08575914, - 0.16879134, - -0.07892476, - -0.4277751, - 0.052388858, - -0.23162888, - -0.123480015, - -0.24538773, - 0.24130952, - 0.23068044, - -0.028554972, - -0.2472604, - -0.26383638, - -0.23272003, - -0.38025764, - -0.40163457, - -0.6208902, - -0.53604096, - -0.62150306, - -0.6009614, - -0.68934524, - -0.6620832, - 0.49978545, - -0.14944556, - 0.020246811, - -0.16400099, - 0.0018855295, - 0.017540963, - -0.13895813, - -0.18510056, - -0.14414646, - -0.33776608, - -0.31870705, - -0.37008074, - -0.54235524, - -0.49043548, - -0.4899758, - -0.5317113, - -0.5553725, - -0.56568307, - -1.5119742, - -0.4873463, - -0.9076629, - -0.24525596, - -0.9394716, - 0.11296773, - -0.32534292, - -0.59208935, - -0.8042169, - 0.04473937, - 0.102899395, - 0.23194416, - -0.38943347, - -0.06889658, - 0.08780674, - 0.5675712, - -0.77424324, - -1.1216848, - -1.4836822, - -0.91641223, - -0.3386797, - -0.15883154, - -0.6677606, - -0.9223785, - -0.121369176, - -0.19839434, - -0.31061128, - -0.23604935, - -0.5691667, - -0.26273805, - -0.05954537, - -0.19325304, - 0.576724, - 0.44142655, - 0.43124992, - 0.34542754, - 0.4923232, - 0.0826731, - 0.009860865, - 0.1748796, - 0.05765879, - -0.05983176, - 0.0983258, - -0.05181983, - 0.57738394, - 0.8011102, - 0.688393, - 0.6196084, - 0.27349573, - 0.20257503, - -0.7066332, - -0.7588722, - -0.93143827, - -0.6428466, - -0.2769798, - -0.1411699, - -0.078156054, - -0.7946493, - -0.8257768, - -0.93639505, - -0.96992433, - -1.0119247, - -1.1913724, - -1.2896032, - -1.6066061, - -1.7178559, - -0.81436193, - -0.9359756, - -1.0531203, - -1.2067497, - -1.2821192, - -1.4341031, - -1.6530752, - -1.5777385, - -1.8467673, - 0.30630445, - 0.0946507, - -0.01260146, - -0.2301464, - -0.083972245, - -0.17981514, - -0.048201505, - -0.89521027, - -0.55874807, - -0.021922411, - -0.09826894, - -0.06601351, - 0.11228751, - -0.041106418, - 0.180042, - 0.14314388, - 0.0028334782, - 0.46287775, - 0.38818803, - 0.1999241, - -0.08758921, - -0.39796486, - -0.6892506, - 0.1359692, - 0.3512695, - 0.11608529, - -0.19776787, - -0.5132567, - -0.7760772, - -0.00038290455, - 0.60031426, - 0.22966506, - -0.17778495, - -0.71589106, - -1.0377716, - -0.020196345, - 0.7918339, - 0.36761907, - -0.10882677, - -0.67388976, - -1.1639535, - 0.26408714, - 0.3280185, - 0.29927653, - 0.15010685, - -0.08197934, - -0.17514491, - 0.7913391, - 0.74758685, - 0.39931238, - -0.020585977, - -0.36943653, - -0.61175567, - 0.87357336, - 0.78601784, - 0.40403032, - -0.038663097, - -0.5038227, - -0.98324966, - 0.23439193, - 0.3254196, - 0.22968936, - 0.048913773, - -0.2330067, - -0.46130636, - 0.6998236, - 0.66178304, - 0.30772766, - -0.119313695, - -0.59324706, - -1.0176193, - 0.9116672, - 0.7952907, - 0.3482111, - -0.15111911, - -0.71778846, - -1.1580647, - 0.1187584, - -0.098558694, - -0.4073549, - 0.09492173, - 0.049338818, - -0.24668969, - 0.16101074, - 0.060742162, - -0.49023408, - 0.158471, - 0.20524879, - 0.09314824, - 0.4162699, - 0.051472075, - 0.41416955, - 0.33187917, - -0.023207845, - 0.2811946, - -0.0058266926, - 0.0066394918, - -0.0031571696, - -0.0045039677, - -0.0037830565, + 0.0028945897, + -0.005422716, + -0.0038055968, + 0.0065068007, + -0.0063391924, + 0.0013449714, + 0.003440666, + 0.0040632943, + -0.37729958, + -0.5355814, + -0.48418292, + -0.5541029, + -0.6043965, + -0.56844634, + -1.4992253, + -1.3570195, + -1.3196701, + -1.286427, + -1.3053985, + -1.3406842, + -2.1415884, + -1.9341265, + -1.8819685, + -1.6961168, + -1.7025375, + -1.5841411, + 0.44847223, + 0.40578714, + 0.3013062, + -0.13887002, + 0.30141732, + 0.027807768, + -0.69935185, + -0.73727256, + -0.97036433, + -1.1713092, + -1.2781056, + -1.461381, + -0.7327349, + -0.7709831, + -0.97107375, + -0.98473054, + -1.1715224, + -1.2917954, + 0.28165245, + 0.20952131, + 0.0028147853, + -0.36671337, + -0.54663587, + -0.75431025, + 0.6179566, + -0.019420432, + 0.08315486, + -0.5812741, + -0.72941446, + -1.2487152, + -0.13006257, + 0.14971836, + 0.08919717, + 0.16493735, + -0.081960484, + -0.4340465, + 0.048780773, + -0.22780965, + -0.118116714, + -0.24644458, + 0.24327487, + 0.23497218, + -0.027226051, + -0.25048944, + -0.26589665, + -0.23658332, + -0.38377675, + -0.40695167, + -0.62494546, + -0.536662, + -0.6224117, + -0.60340583, + -0.6932358, + -0.66010636, + 0.49720323, + -0.14793873, + 0.021341326, + -0.16283648, + 0.0020036355, + 0.01888614, + -0.13832524, + -0.18528083, + -0.14436235, + -0.33784607, + -0.31919658, + -0.3712634, + -0.5413, + -0.48981908, + -0.48792014, + -0.5306076, + -0.5544925, + -0.564671, + -1.5159595, + -0.49724996, + -0.91713613, + -0.25128528, + -0.9834398, + 0.11259969, + -0.33365077, + -0.57892495, + -0.7994534, + 0.04887892, + 0.09706264, + 0.22203392, + -0.39332128, + -0.07120203, + 0.08207417, + 0.56104696, + -0.7757935, + -1.1174827, + -1.4813718, + -0.94221586, + -0.31093457, + -0.16781785, + -0.5936949, + -0.79039615, + -0.122076236, + -0.19640198, + -0.31622756, + -0.24848941, + -0.5677756, + -0.2576232, + -0.045357026, + -0.18639953, + 0.57796687, + 0.4415063, + 0.41853577, + 0.3464844, + 0.48938558, + 0.08354264, + 0.041218746, + 0.16449173, + 0.057190455, + -0.06004644, + 0.093392454, + -0.050953683, + 0.57780373, + 0.7994904, + 0.7262626, + 0.6153096, + 0.27305594, + 0.19591661, + -0.7029559, + -0.7573375, + -0.93021494, + -0.64342046, + -0.27345696, + -0.13956036, + -0.07062561, + -0.7972765, + -0.82629347, + -0.9359638, + -0.97017753, + -1.0144674, + -1.195349, + -1.2932758, + -1.6114411, + -1.7273937, + -0.82193094, + -0.94090205, + -1.0653497, + -1.219307, + -1.2927066, + -1.4451418, + -1.667016, + -1.5855582, + -1.8575338, + 0.30803072, + 0.09286822, + -0.016210658, + -0.21986929, + -0.0826025, + -0.17875914, + -0.048746817, + -0.7356709, + -0.2565407, + -0.018596303, + -0.09805993, + -0.06880927, + 0.11313932, + -0.7851041, + -1.2167251, + -0.09703437, + -0.1947279, + -0.3429672, + -0.8502395, + -0.041003298, + 0.18016687, + 0.14249268, + -0.0038519236, + 0.46054682, + 0.3865031, + 0.1985188, + -0.08817671, + -0.3987287, + -0.6887193, + 0.13683017, + 0.34637594, + 0.11279319, + -0.20028925, + -0.5112825, + -0.7555057, + -0.003588393, + 0.6011742, + 0.22969739, + -0.17818612, + -0.71598995, + -1.0302234, + -0.02169739, + 0.7898493, + 0.36687717, + -0.108419925, + -0.66999114, + -1.1533068, + 0.25992006, + 0.325016, + 0.29938698, + 0.15113002, + -0.07675234, + -0.17470752, + 0.7958661, + 0.75006276, + 0.4010848, + -0.019248677, + -0.36840737, + -0.6129127, + 0.87321454, + 0.78574497, + 0.40514886, + -0.035521504, + -0.4999801, + -0.9782861, + 0.22885466, + 0.32313704, + 0.22999126, + 0.050458997, + -0.23063628, + -0.45962974, + 0.7040182, + 0.66424996, + 0.30989686, + -0.11758618, + -0.59181315, + -1.0142381, + 0.9098042, + 0.7938104, + 0.34847206, + -0.1490093, + -0.71383566, + -1.1522063, + 0.11936925, + -0.09760121, + -0.40220338, + 0.094898306, + 0.054537818, + -0.24790093, + 0.15991648, + 0.057512786, + -0.48700178, + 0.15846634, + 0.20569989, + 0.09523947, + 0.41577616, + 0.052331015, + 0.41131806, + 0.33205104, + -0.024028663, + 0.28009635, + -0.0033244444, + -0.0040353606, + 0.006353423, + 0.0058200676, + 0.0057283062, + 0.005123331, + 0.0009506848, ]; #[allow(clippy::unreadable_literal)] @@ -4068,550 +4157,566 @@ 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.31186754, - 0.37755504, + 0.31186366, + 0.3775278, -0.24196897, -0.35275528, -0.8089235, -0.843111, -0.7156322, - 0.85337186, - 0.94895625, - 0.96971613, - 0.8696182, - 0.9506284, - 0.76905394, - 1.5685483, - 1.3293477, - 1.3049144, - 1.2913846, - 1.2163808, - 1.1391037, - 2.28737, - 1.9385058, - 1.811323, - 1.5572675, - 1.4572089, - 1.3325466, - -0.4535446, - -0.05309095, - -0.08854369, - -0.27689147, - 0.057638288, - 0.4694604, - 0.97249824, - 0.93278664, - 1.158158, - 1.2543082, - 1.3464237, - 1.5604728, - 0.34083402, - 0.5777549, - 0.74346215, - 0.7281165, - 0.83270836, - 0.9933724, - -0.21186782, - -0.6121376, - 0.5867903, - 0.32631853, - 0.9754316, - 1.4750057, - -0.4027743, - -0.038927734, - 0.3350223, - 0.5719532, - 0.8411306, - 1.2913238, - 0.05670066, - -0.26991212, - -0.15726192, - -0.68572706, - -0.5382853, - -0.24833517, - 0.17132334, - 0.72635186, - -0.24924733, - 0.17743917, - -0.25223485, - -0.94941443, - -0.1709695, - 0.10209545, - 0.20569752, - 0.2330747, - 0.28013524, - 0.314895, - 0.5607895, - 0.5764893, - 0.5930226, - 0.5236301, - 0.6414126, - 0.6772306, - -0.6515798, - 0.105981715, - -0.19563024, - 0.009136501, - 0.13413964, - 0.16685967, - 0.10096796, - 0.16836761, - 0.23132975, - 0.33705232, - 0.3152168, - 0.31221697, - 0.41767284, - 0.47948405, - 0.48646742, - 0.4769486, - 0.49539664, - 0.5230866, - 3.1496992, - 1.074075, - 1.7651477, - 0.618035, - 1.4709038, - 0.3658608, - 0.7634136, - 1.1577097, - 1.2203366, - 0.026504602, - -0.18213992, - -0.39078206, - 0.7028363, - 0.062665485, - -0.19818433, - -0.5074151, - 0.65401, - 0.62548494, - 0.4880692, - 0.43841365, - 0.43439594, - 0.42576954, - 1.8516033, - 1.487136, - 0.17493472, - 0.48112878, - 0.4804807, - 0.40684727, - 0.81739986, - 0.3011693, - 0.41566595, - 0.41936353, - -0.37498474, - -0.2660123, - -0.23107557, - -0.41083542, - -0.72556174, - -0.1892623, - -0.13753748, - -0.04774463, - -0.07980112, - 0.054751292, - 0.017034905, - 0.059107937, - -0.62764114, - -0.6043362, - -0.90727574, - -0.50129765, - -0.0751728, - -0.09759557, - 0.55801207, - 1.0240337, - 1.1636754, - 1.34022, - 1.5265359, - 1.2253785, - 0.62768, - 0.65185094, - 0.78691363, - 0.9904045, - 1.0338584, - 1.070076, - 1.066287, - 1.0936731, - 1.1790866, - 1.1527697, - 1.0561892, - 1.0014712, - 0.94313884, - 0.9187832, - 0.968932, - 1.1958328, - 1.2424617, - 1.3088417, - 1.4999964, - -0.3166824, - -0.08065816, - -0.02220266, - 0.2948259, - 0.054869182, - 0.17030072, - 0.01972339, - 1.7551781, - 0.58947873, - -0.033830665, - 0.07486321, - 0.04399366, - -0.04359281, - 0.0373623, - -0.14970289, - -0.1425995, - 0.0054334905, - -0.54911023, - -0.27805287, - -0.18661164, - -0.013230725, - 0.22170725, - 0.48973, - -0.058246493, - -0.059221193, - 0.1084236, - 0.34695038, - 0.6620188, - 0.76002187, - -0.023471909, - -0.75448436, - -0.3441226, - 0.19575842, - 0.7115763, - 1.0055966, - -0.059901632, - -0.94229084, - -0.4218926, - 0.16047227, - 0.7538798, - 1.1713641, - 0.0002585734, - -0.17768922, - -0.12865569, - -0.041515484, - 0.073030666, - 0.38671154, - -0.8182264, - -0.73264647, - -0.37302628, - 0.005285605, - 0.40462014, - 0.80957985, - -1.0925379, - -0.88422596, - -0.41652662, - 0.066415556, - 0.5614821, - 1.0230992, - -0.0038961382, - -0.12477508, - -0.04726579, - 0.091222815, - 0.27992216, - 0.56953603, - -0.88909775, - -0.76416826, - -0.42073253, - 0.00460637, - 0.47522032, - 0.9236304, - -1.2177018, - -0.93728626, - -0.4558984, - 0.10166332, - 0.7216797, - 1.3040127, - 0.016654264, - 0.15012765, - 0.42620194, - 0.050595213, - 0.07034502, - 0.10902617, - -0.052081507, - -0.02935415, - 0.0836976, - -0.30946913, - -0.36256453, - -0.09471042, - -0.37772048, - -0.2141223, - -0.40085846, - -0.29280147, - -0.19943371, - -0.3686233, - 0.008264789, - 0.0015326263, - -0.006872382, - -0.0035781572, - 0.0023975773, - -0.0020184517, + 0.85452354, + 0.9478291, + 0.9692355, + 0.86722726, + 0.9479617, + 0.7670037, + 1.5667348, + 1.327146, + 1.3026025, + 1.2887297, + 1.2143553, + 1.1369964, + 2.2804103, + 1.9328986, + 1.8071995, + 1.5518978, + 1.4536897, + 1.3299664, + -0.45071906, + -0.050019935, + -0.08897769, + -0.2720979, + 0.055488445, + 0.46679765, + 0.97424287, + 0.9332177, + 1.1596559, + 1.2544224, + 1.347112, + 1.5594426, + 0.3422008, + 0.5789337, + 0.7430066, + 0.7288531, + 0.8334785, + 0.9942355, + -0.20613408, + -0.60287267, + 0.58876306, + 0.32616323, + 0.9735404, + 1.4710212, + -0.41092327, + -0.046590656, + 0.33091846, + 0.57240355, + 0.84107137, + 1.2889751, + 0.049799565, + -0.26864818, + -0.15947413, + -0.68091726, + -0.5308493, + -0.24018063, + 0.16647926, + 0.7261204, + -0.24177171, + 0.18199703, + -0.24236351, + -0.94118804, + -0.16983926, + 0.103348225, + 0.20438582, + 0.23814115, + 0.28346628, + 0.32024714, + 0.5596979, + 0.57655334, + 0.59445447, + 0.5240795, + 0.6436056, + 0.6812786, + -0.65280145, + 0.10569296, + -0.19547571, + 0.008190138, + 0.13409582, + 0.16447653, + 0.10087117, + 0.16864198, + 0.23158342, + 0.3379244, + 0.31644243, + 0.3145738, + 0.41750365, + 0.47956, + 0.4869932, + 0.47756287, + 0.49613246, + 0.5241882, + 3.1411088, + 1.0821787, + 1.754829, + 0.6201941, + 1.4799318, + 0.3679069, + 0.76008415, + 1.150715, + 1.2214833, + 0.016215527, + -0.188786, + -0.38933972, + 0.70239717, + 0.065114394, + -0.19856736, + -0.517771, + 0.65524143, + 0.6232836, + 0.53237385, + 0.47006312, + 0.38826054, + 0.431225, + 1.5975692, + 1.3323095, + 0.17877473, + 0.4789856, + 0.49656507, + 0.4204371, + 0.8172229, + 0.2988308, + 0.3918103, + 0.41685084, + -0.37440383, + -0.26585576, + -0.23042151, + -0.410276, + -0.71697605, + -0.18787947, + -0.13526145, + -0.034953635, + -0.08054674, + 0.054693405, + 0.029491572, + 0.05750283, + -0.62349486, + -0.603706, + -0.92245823, + -0.49669448, + -0.07795771, + -0.09776041, + 0.5575181, + 1.0232941, + 1.1631253, + 1.3387421, + 1.5240612, + 1.2242737, + 0.62672913, + 0.6537483, + 0.78460354, + 0.98877287, + 1.0328065, + 1.0689582, + 1.0668991, + 1.0957938, + 1.1802148, + 1.1534138, + 1.0708092, + 1.0159247, + 0.9568931, + 0.9320323, + 0.98194456, + 1.2059731, + 1.2555709, + 1.3216995, + 1.5191351, + -0.3181254, + -0.07941883, + -0.017816383, + 0.28932613, + 0.056054175, + 0.16996692, + 0.020389467, + 1.1025473, + 0.1982455, + -0.033484396, + 0.0781305, + 0.042944126, + -0.044300657, + 1.9370145, + 3.1925151, + 0.050432935, + 0.26424304, + 0.4926819, + 0.88156927, + 0.037490264, + -0.14985302, + -0.14197038, + -0.0069796084, + -0.5480098, + -0.27603766, + -0.18388137, + -0.009509887, + 0.22633025, + 0.49587104, + -0.059561722, + -0.05754791, + 0.109628476, + 0.34820983, + 0.66048205, + 0.7551802, + -0.016337896, + -0.75440085, + -0.34353277, + 0.19598004, + 0.7121891, + 0.9979284, + -0.060418475, + -0.9426428, + -0.42203972, + 0.16033338, + 0.75293326, + 1.1654742, + 0.0048904824, + -0.17591484, + -0.12746875, + -0.04020392, + 0.07504886, + 0.38969213, + -0.8172976, + -0.73226875, + -0.37209547, + 0.0065236646, + 0.40639806, + 0.8126165, + -1.0937374, + -0.88482976, + -0.41701657, + 0.06594187, + 0.5611562, + 1.0216854, + -0.0014709559, + -0.12443284, + -0.047389217, + 0.091074996, + 0.27995303, + 0.57046926, + -0.88799214, + -0.76392686, + -0.42026734, + 0.0051511824, + 0.4752043, + 0.9221466, + -1.2176849, + -0.937193, + -0.4559339, + 0.10139159, + 0.72065675, + 1.3023882, + 0.016467566, + 0.15032591, + 0.42611703, + 0.050068006, + 0.06986142, + 0.109051794, + -0.049371496, + -0.025534656, + 0.08776758, + -0.30889967, + -0.3622509, + -0.100948416, + -0.3768726, + -0.21227975, + -0.39045346, + -0.29292023, + -0.19835572, + -0.36931372, -0.00068451837, -0.0031730435, 0.0038830638, -0.0005412027, 0.0021412876, -0.0075254655, - -0.53223765, - -0.8654266, - -1.0368376, - -0.8554309, - -0.9132316, - -0.7979339, - -1.6363758, - -1.3775605, - -1.3833218, - -1.1593024, - -1.2056499, - -1.1451389, - -2.4168992, - -1.9944699, - -1.8248788, - -1.5391933, - -1.4522504, - -1.341326, - 0.32996434, - -0.124707416, - -0.38280237, - -0.635783, - -0.8314897, - -1.1656595, - -1.1145805, - -1.2842175, - -1.3830714, - -1.6325022, - -1.6747999, - -1.7890656, - -0.8945702, - -1.2269739, - -1.1462268, - -1.4047244, - -1.4026593, - -1.3542341, - 0.3779675, - 0.39181358, - -0.50956225, - -0.60260904, - -0.96168494, - -1.3116957, - 0.797407, - -0.024887735, - -0.37971684, - -0.81238794, - -0.9813268, - -1.2340773, - -0.752849, - -0.47281262, - -0.22374414, - -0.22512066, - -0.2248111, - -0.24498565, - -0.13548832, - -0.36849964, - 0.11600393, - -0.47565395, - 0.11326299, - -0.14934534, - 0.058558244, - -0.14525016, - -0.31340316, - -0.26481804, - -0.30775464, - -0.25471076, - -0.33874768, - -0.4680071, - -0.5003741, - -0.4104628, - -0.45280603, - -0.48967755, - 0.5457791, - -0.154334, - 0.13875306, - -0.1740423, - -0.042508524, - -0.07520449, - -0.011745283, - -0.105792515, - -0.19376071, - -0.27981338, - -0.28823036, - -0.27309537, - -0.42277348, - -0.50210387, - -0.42764172, - -0.44730002, - -0.45445964, - -0.48547104, - -2.7684798, - -0.6534242, - -2.053173, - -0.2668525, - -1.57908, - 0.28342095, - -0.5766602, - -1.2003884, - -1.354647, - -0.25692257, - 0.013091927, - 0.07467796, - -0.8226674, - -0.21777958, - -0.06038691, - 0.24388354, - -0.6876354, - -0.71499944, - -1.1710596, - -0.7560169, - -0.38206044, - -0.37829545, - -0.9029629, - -0.7175128, - -0.1894402, - -0.41103297, - -0.32971358, - -0.463197, - -0.75290555, - -0.39983186, - 0.14765683, - -0.46886596, - 0.43298972, - 0.4088578, - 0.50874454, - 0.36642444, - 0.5393314, - 0.03606175, - -0.12774572, - 0.057894316, - 0.106592715, - -0.045151178, - -0.05393247, - -0.038565632, - 0.4385051, - 0.4501903, - 0.59387875, - 0.47980967, - -0.06352412, - -0.083485834, - -0.3018525, - -0.4576842, - -0.5923801, - -0.8596994, - -0.5666686, - -0.14248647, - -0.061505485, - -0.9981912, - -0.9981941, - -1.0140743, - -1.0182136, - -1.0499904, - -1.1257573, - -1.3985138, - -1.592981, - -1.692655, - -1.1196828, - -1.232422, - -1.2621387, - -1.4447193, - -1.5134315, - -1.490634, - -1.4292715, - -1.4687172, - -1.6209682, - 0.2633309, - 0.08496846, - -0.025636714, - -0.26622516, - -0.032977782, - -0.17905223, - -0.025713818, - -1.3636696, - -0.5058787, - 0.0004928388, - -0.09528293, - -0.047613394, - 0.043973684, - -0.039750572, - 0.20632166, - 0.16578378, - 0.0028334782, - 0.5285534, - 0.28328946, - 0.06562716, - -0.14751045, - -0.39573833, - -0.6426495, - -0.052219816, - 0.066848636, - -0.065664165, - -0.27247366, - -0.46930587, - -0.5549962, - -0.012838291, - 0.65327245, - 0.23407105, - -0.28484762, - -0.8582831, - -1.1659178, - -0.06663009, - 0.8143714, - 0.39723083, - -0.13705088, - -0.724566, - -1.2162782, - -0.23376837, - 0.04959713, - 0.1105696, - 0.17194752, - 0.16082235, - -0.08428561, - 0.8669959, - 0.772002, - 0.4235444, - 0.010172001, - -0.40187907, - -0.89025533, - 0.9197537, - 0.73601794, - 0.2996228, - -0.16853988, - -0.65433735, - -1.1685109, - -0.19380721, - 0.03029426, - 0.02523978, - -0.06951303, - -0.18223636, - -0.32110226, - 0.88277453, - 0.7345103, - 0.32967097, - -0.13941777, - -0.64880973, - -1.1005889, - 1.1683067, - 0.8821976, - 0.44013977, - -0.11107009, - -0.71948755, - -1.3019346, - 0.0062780697, - -0.053857174, - -0.27526754, - -0.012275557, - -0.049056165, - 0.032723233, - 0.17343436, - 0.19114898, - 0.16425215, - 0.3322111, - 0.33234736, - 0.11145767, - 0.2551164, - -0.02835252, - 0.050044887, - 0.25227484, - -0.05953155, - 0.18609345, - -0.0058266926, - 0.0066394918, - -0.0031571696, - -0.0045039677, - -0.0037830565, + 0.0028945897, + -0.005422716, + -0.0038055968, + 0.0065068007, + -0.0063391924, + 0.0013449714, + 0.003440666, + 0.0040632943, + -0.5342733, + -0.8655351, + -1.0387394, + -0.85380876, + -0.9134021, + -0.79925996, + -1.6356592, + -1.3756698, + -1.3838544, + -1.1568018, + -1.2049342, + -1.1471062, + -2.4151995, + -1.9917606, + -1.8246831, + -1.536627, + -1.4508003, + -1.3426169, + 0.32487664, + -0.124433614, + -0.38239685, + -0.6347472, + -0.8297359, + -1.160981, + -1.1147102, + -1.2864226, + -1.3837416, + -1.6328716, + -1.6750965, + -1.7891625, + -0.8949483, + -1.2242308, + -1.145735, + -1.4040906, + -1.4000826, + -1.3518387, + 0.38212487, + 0.3884287, + -0.5138297, + -0.6034261, + -0.9606266, + -1.3099717, + 0.7899953, + -0.02349262, + -0.38305548, + -0.8123915, + -0.98335034, + -1.2371585, + -0.75193447, + -0.47036955, + -0.21933793, + -0.22549838, + -0.22686376, + -0.24940352, + -0.13438715, + -0.37192488, + 0.11595589, + -0.47793612, + 0.106719285, + -0.14994304, + 0.053863075, + -0.14752382, + -0.31482422, + -0.26872885, + -0.31096333, + -0.26103473, + -0.34011573, + -0.47023365, + -0.50239134, + -0.41333, + -0.45882422, + -0.49596196, + 0.5465938, + -0.15082799, + 0.14319868, + -0.16967715, + -0.039998487, + -0.070607625, + -0.0092304805, + -0.10274651, + -0.19082628, + -0.2775836, + -0.2854642, + -0.27108067, + -0.4198481, + -0.4981504, + -0.42453188, + -0.44423023, + -0.45189664, + -0.48316997, + -2.770392, + -0.67250496, + -2.03049, + -0.26650792, + -1.6028192, + 0.2801714, + -0.57437676, + -1.1930792, + -1.3506569, + -0.24178942, + 0.012406767, + 0.07258712, + -0.8257551, + -0.21810982, + -0.059052844, + 0.25765803, + -0.6860228, + -0.7103895, + -1.1888703, + -0.7745197, + -0.36231267, + -0.38414198, + -0.74375093, + -0.59613883, + -0.19133835, + -0.4093433, + -0.34147084, + -0.47652873, + -0.7469584, + -0.39795545, + 0.13287438, + -0.4638142, + 0.43559313, + 0.411869, + 0.49847403, + 0.36894757, + 0.5366853, + 0.035787135, + -0.0927038, + 0.05011924, + 0.10669218, + -0.04546723, + -0.06462096, + -0.037418768, + 0.43961585, + 0.45150343, + 0.5697895, + 0.47995538, + -0.071848996, + -0.08352242, + -0.29956424, + -0.45552668, + -0.5895992, + -0.86559486, + -0.56272566, + -0.14356159, + -0.052904658, + -0.9981824, + -0.997597, + -1.0142797, + -1.0189018, + -1.0517799, + -1.1293278, + -1.4010464, + -1.591525, + -1.7025664, + -1.1249242, + -1.237603, + -1.2671843, + -1.4520074, + -1.5244622, + -1.501021, + -1.4398017, + -1.5004932, + -1.6473485, + 0.2642086, + 0.08387495, + -0.028143765, + -0.26420248, + -0.032945313, + -0.17926535, + -0.02590716, + -1.1335201, + -0.081323, + 0.0027188307, + -0.09608593, + -0.048589118, + 0.03915321, + -1.3641007, + -2.5540562, + -0.019152345, + -0.1511399, + -0.5124063, + -0.9857367, + -0.039734073, + 0.20657603, + 0.16504624, + -0.0038519236, + 0.526085, + 0.281289, + 0.064170085, + -0.14837727, + -0.3964078, + -0.6433061, + -0.04965373, + 0.066731445, + -0.06480024, + -0.27062336, + -0.4650613, + -0.5438363, + -0.016919855, + 0.65476555, + 0.23552151, + -0.28388044, + -0.8556874, + -1.1560085, + -0.06881858, + 0.8125462, + 0.39722466, + -0.13585828, + -0.71960074, + -1.2043672, + -0.23693693, + 0.047959935, + 0.110575445, + 0.17362972, + 0.16358824, + -0.08200628, + 0.86874014, + 0.7728501, + 0.4245817, + 0.010152964, + -0.4028078, + -0.8932226, + 0.9174433, + 0.7343451, + 0.2996925, + -0.16669738, + -0.65002894, + -1.163252, + -0.19613905, + 0.03032054, + 0.026403524, + -0.06792948, + -0.18050183, + -0.32021505, + 0.88563704, + 0.73672444, + 0.33192837, + -0.13764544, + -0.6471183, + -1.0971051, + 1.1655698, + 0.87988174, + 0.43960702, + -0.10932796, + -0.7152038, + -1.2956649, + 0.007546314, + -0.0518678, + -0.26972714, + -0.011205444, + -0.047849305, + 0.038119707, + 0.17177528, + 0.1905527, + 0.16381362, + 0.33315644, + 0.33088776, + 0.11375621, + 0.25498348, + -0.028909964, + 0.0417895, + 0.2528363, + -0.060151853, + 0.18621926, + -0.0033244444, + -0.0040353606, + 0.006353423, + 0.0058200676, + 0.0057283062, + 0.005123331, + 0.0009506848, ]; #[allow(clippy::unreadable_literal)] diff --git a/src/evaluation/value_eval.rs b/src/evaluation/value_eval.rs index f33043f..cb00fc9 100644 --- a/src/evaluation/value_eval.rs +++ b/src/evaluation/value_eval.rs @@ -15,7 +15,7 @@ use crate::position::{ Role::*, Square, }; -use crate::position::{starting_capstones, starting_stones}; +use crate::position::{starting_capstones, starting_stones, Direction, Stack}; use super::parameters::ValueApplier; @@ -339,6 +339,48 @@ pub fn static_eval_game_phase( f16::from(-(data.deep_captives as i8) - data.shallow_captives as i8) * endgame_scale_factor, ); + + // Check if a continuously pure spread can create a road + let edge_connection = group_data.amount_in_group[group_data.groups[square] as usize].1; + for (is_connected, direction) in [ + (edge_connection.is_connected_west(), Direction::East), + (edge_connection.is_connected_north(), Direction::South), + (edge_connection.is_connected_east(), Direction::West), + (edge_connection.is_connected_south(), Direction::North), + ] { + if piece.role() == Wall || !is_connected { + continue; + } + let Some(destination) = pure_winning_spread_to( + position, + group_data, + square, + stack, + data.shallow_supports, + direction, + ) else { + continue; + }; + let index = (square.rank().abs_diff(destination.rank()) + + square.file().abs_diff(destination.file())) as usize + - 1; + match (controlling_player == position.side_to_move(), piece.role()) { + (true, _) => { + value_for_stack.eval(indexes.winning_spread_to_move, index.min(1), f16::ONE) + } + (false, Flat) => value_for_stack.eval( + indexes.winning_flat_spread_not_to_move, + index.min(1), + f16::ONE, + ), + (false, Cap) => value_for_stack.eval( + indexes.winning_cap_spread_not_to_move, + index.min(1), + f16::ONE, + ), + (false, Wall) => unreachable!(), + } + } } // Bonus/malus depending on the number of groups each side has @@ -697,6 +739,65 @@ fn cap_activity( } } +fn pure_winning_spread_to( + position: &Position, + group_data: &GroupData, + square: Square, + stack: Stack, + num_shallow_supports: u8, + direction: Direction, +) -> Option> { + let mut edge_connection = group_data.amount_in_group[group_data.groups[square] as usize].1; + + let controlling_player = stack.top_stone.unwrap().color(); + let is_hard_cap = stack.top_stone.unwrap().role() == Cap + && stack.get(stack.height - 2).unwrap().color() == controlling_player; + + let mut destination = square; + for _ in 0..num_shallow_supports { + let Some(dest) = destination.go_direction(direction) else { + break; + }; + let top_stone = position.top_stones()[dest]; + // The spread is blocked by a capstone or a wall, unless we're a hard cap + if top_stone + .is_some_and(|piece| piece.role() == Cap || (piece.role() == Wall && !is_hard_cap)) + { + break; + } + destination = dest; + edge_connection = edge_connection | destination.group_edge_connection(); + for orth_dir in direction.orthogonal_directions() { + if let Some(sq) = destination.go_direction(orth_dir) { + if position.top_stones()[sq].is_some_and(|piece| { + piece.is_road_piece() && piece.color() == controlling_player + }) { + edge_connection = edge_connection + | group_data.amount_in_group[group_data.groups[sq] as usize].1; + } + } + } + if edge_connection.is_winning() { + break; + } + // Smashing a wall ends the spread + if top_stone.is_some_and(|piece| piece.role() == Wall) { + break; + } + } + // Connect the square in front of us, if it's ours + if let Some(sq) = destination.go_direction(direction) { + if position.top_stones()[sq] + .is_some_and(|piece| piece.is_road_piece() && piece.color() == controlling_player) + { + edge_connection = + edge_connection | group_data.amount_in_group[group_data.groups[sq] as usize].1; + } + } + + edge_connection.is_winning().then_some(destination) +} + /// Give bonus for our critical squares fn critical_squares_eval( position: &Position, diff --git a/src/position/mod.rs b/src/position/mod.rs index 85dbb77..9bea689 100644 --- a/src/position/mod.rs +++ b/src/position/mod.rs @@ -145,10 +145,10 @@ impl GroupEdgeConnection { pub const fn connect_square_const(self, square: Square) -> Self { let mut edge_connection = self; - if square.rank() == S as u8 - 1 { + if square.rank() == 0 { edge_connection = edge_connection.connect_north(); } - if square.rank() == 0 { + if square.rank() == S as u8 - 1 { edge_connection = edge_connection.connect_south(); } if square.file() == 0 { diff --git a/src/tests/board_generic_tests.rs b/src/tests/board_generic_tests.rs index 2b9d271..413aa6c 100644 --- a/src/tests/board_generic_tests.rs +++ b/src/tests/board_generic_tests.rs @@ -114,7 +114,9 @@ fn play_random_games_prop(num_games: usize) { let eval = position.static_eval(); for rotation in position.symmetries() { assert!(rotation.static_eval() - eval < 0.0001, - "Static eval changed with rotation from {} to {} on board\n{:?}Rotated board:\n{:?}", eval, rotation.static_eval(), position, rotation); + "Static eval changed with rotation from {} to {} on board\nTPS: {}\n{:?}\nRotated TPS: {}\nRotated board:\n{:?}", + eval, rotation.static_eval(), position.to_fen(), position, rotation.to_fen(), rotation + ); } moves.clear(); @@ -195,10 +197,12 @@ fn play_random_games_prop(num_games: usize) { for rotation in position.symmetries() { assert!( rotation.static_eval().abs() - static_eval.abs() < 0.0001, - "Original static eval {}, rotated static eval {}.Board:\n{:?}\nRotated board:\n{:?}", + "Original static eval {}, rotated static eval {}.\nTPS: {}\nBoard:\n{:?}\nRotated TPS: {}\nRotated board:\n{:?}", static_eval, rotation.static_eval(), + position.to_fen(), position, + rotation.to_fen(), rotation ); } @@ -419,10 +423,10 @@ fn group_connection_generic_prop() { let a1_connection = group_connection.connect_square_const::(Square::parse_square("a1").unwrap()); - assert!(!a1_connection.is_connected_south()); - assert!(!a1_connection.is_connected_east()); - assert!(a1_connection.is_connected_north()); assert!(a1_connection.is_connected_west()); + assert!(a1_connection.is_connected_south()); + assert!(!a1_connection.is_connected_east()); + assert!(!a1_connection.is_connected_north()); } #[test]