From e22ce4a89c6a67e1aa3e3e65ef665cf120ea9a17 Mon Sep 17 00:00:00 2001 From: Morten Lohne Date: Thu, 11 Jul 2024 18:44:08 +0200 Subject: [PATCH] Separate psqt value bonuses for each game phase (opening, middlegame, endgame) +25 +/- 7 elo --- src/evaluation/parameters.rs | 5210 +++++++++++++++++++--------------- src/evaluation/value_eval.rs | 164 +- 2 files changed, 3058 insertions(+), 2316 deletions(-) diff --git a/src/evaluation/parameters.rs b/src/evaluation/parameters.rs index 61a023a..65a0066 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 = 320; +pub const NUM_VALUE_FEATURES_4S: usize = 384; pub const NUM_POLICY_FEATURES_4S: usize = 176; -pub const NUM_VALUE_FEATURES_5S: usize = 400; +pub const NUM_VALUE_FEATURES_5S: usize = 520; pub const NUM_POLICY_FEATURES_5S: usize = 200; -pub const NUM_VALUE_FEATURES_6S: usize = 416; +pub const NUM_VALUE_FEATURES_6S: usize = 544; pub const NUM_POLICY_FEATURES_6S: usize = 208; const fn value_padding() -> usize { match S { - 4 => 6, + 4 => 10, 5 => 6, - 6 => 2, + 6 => 10, _ => unimplemented!(), } } @@ -60,11 +60,21 @@ impl IndexPair { pub struct ValueIndexes { pub first_ply: IndexPair, pub second_ply: IndexPair, - pub flat_psqt: IndexPair, - pub wall_psqt: IndexPair, - pub cap_psqt: IndexPair, - pub supports_psqt: IndexPair, - pub captives_psqt: IndexPair, + pub flat_psqt_opening: IndexPair, + pub flat_psqt_middlegame: IndexPair, + pub flat_psqt_endgame: IndexPair, + pub wall_psqt_opening: IndexPair, + pub wall_psqt_middlegame: IndexPair, + pub wall_psqt_endgame: IndexPair, + pub cap_psqt_opening: IndexPair, + pub cap_psqt_middlegame: IndexPair, + pub cap_psqt_endgame: IndexPair, + pub supports_psqt_opening: IndexPair, + pub supports_psqt_middlegame: IndexPair, + pub supports_psqt_endgame: IndexPair, + pub captives_psqt_opening: IndexPair, + pub captives_psqt_middlegame: IndexPair, + pub captives_psqt_endgame: IndexPair, pub flat_win_this_ply: IndexPair, pub flat_win_next_ply: IndexPair, pub flat_win_two_ply: IndexPair, @@ -107,11 +117,21 @@ impl ValueIndexes { let (first_ply, i) = IndexPair::next(i, 1); let (second_ply, i) = IndexPair::next(i, num_square_symmetries::()); - let (flat_psqt, i) = IndexPair::next(i, num_square_symmetries::()); - let (wall_psqt, i) = IndexPair::next(i, num_square_symmetries::()); - let (cap_psqt, i) = IndexPair::next(i, num_square_symmetries::()); - let (supports_psqt, i) = IndexPair::next(i, num_square_symmetries::()); - let (captives_psqt, i) = IndexPair::next(i, num_square_symmetries::()); + let (flat_psqt_opening, i) = IndexPair::next(i, num_square_symmetries::()); + let (flat_psqt_middlegame, i) = IndexPair::next(i, num_square_symmetries::()); + let (flat_psqt_endgame, i) = IndexPair::next(i, num_square_symmetries::()); + let (wall_psqt_opening, i) = IndexPair::next(i, num_square_symmetries::()); + let (wall_psqt_middlegame, i) = IndexPair::next(i, num_square_symmetries::()); + let (wall_psqt_endgame, i) = IndexPair::next(i, num_square_symmetries::()); + let (cap_psqt_opening, i) = IndexPair::next(i, num_square_symmetries::()); + let (cap_psqt_middlegame, i) = IndexPair::next(i, num_square_symmetries::()); + let (cap_psqt_endgame, i) = IndexPair::next(i, num_square_symmetries::()); + let (supports_psqt_opening, i) = IndexPair::next(i, num_square_symmetries::()); + let (supports_psqt_middlegame, i) = IndexPair::next(i, num_square_symmetries::()); + let (supports_psqt_endgame, i) = IndexPair::next(i, num_square_symmetries::()); + let (captives_psqt_opening, i) = IndexPair::next(i, num_square_symmetries::()); + let (captives_psqt_middlegame, i) = IndexPair::next(i, num_square_symmetries::()); + let (captives_psqt_endgame, i) = IndexPair::next(i, num_square_symmetries::()); let (flat_win_this_ply, i) = IndexPair::next(i, 1); let (flat_win_next_ply, i) = IndexPair::next(i, 2); let (flat_win_two_ply, i) = IndexPair::next(i, 2); @@ -153,11 +173,21 @@ impl ValueIndexes { ValueIndexes { first_ply, second_ply, - flat_psqt, - wall_psqt, - cap_psqt, - supports_psqt, - captives_psqt, + flat_psqt_opening, + flat_psqt_middlegame, + flat_psqt_endgame, + wall_psqt_opening, + wall_psqt_middlegame, + wall_psqt_endgame, + cap_psqt_opening, + cap_psqt_middlegame, + cap_psqt_endgame, + supports_psqt_opening, + supports_psqt_middlegame, + supports_psqt_endgame, + captives_psqt_opening, + captives_psqt_middlegame, + captives_psqt_endgame, flat_win_this_ply, flat_win_next_ply, flat_win_two_ply, @@ -686,326 +716,390 @@ 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.4297454, - 4.0062056, - 2.6049376, - 1.4463036, - 2.8994281, - 2.7487843, - 2.4791486, - 0.7649904, - 1.4559717, - 2.079845, - -0.0059250165, - -0.00050385203, - -0.00651386, - 0.6632251, - 0.87528414, - 1.0533004, - 0.38034552, - 0.6393864, - 0.8693372, - 3.3091753, - 0.68515193, - 1.494346, - 0.30523694, - 1.6621726, - 0.2527586, - 0.8558426, - 0.75762683, - 0.36499202, - -0.21396698, - -0.52877104, - -0.05796332, - -0.077265985, - -0.34016138, - -0.7399847, - -0.5193773, - 1.186428, - 0.4868523, - -0.005124028, - -0.008343117, - -0.7121833, - 1.2432246, - 0.005951524, - -0.0043248367, - 0.47360346, - 1.2494856, - -0.005560641, - 0.0036220215, - 0.7080674, - 0.20422132, - -0.0055643534, - -0.0015320918, - -0.33004308, - -0.21427998, - -0.009827926, - 0.00059686694, - -2.1530406, - -0.91932803, - 0.0076304395, - -0.0060374904, - 0.09715872, - 0.1427178, - -0.003094554, - 0.0022945618, - -0.69062984, - -0.63445973, - 0.0020511579, - -0.0041063665, - 0.13397199, - 1.7633629, - 2.4993577, - 2.0939841, - 1.9141829, - 2.0209584, - 1.7708625, - 1.8816401, - -0.04202944, - 1.9637618, - 2.320527, - 1.5358956, - 1.3520178, - 1.1428481, - 1.1184006, - 0.7593216, - 1.7888674, - 1.7226784, - 0.49231845, - 0.72212595, - 1.1380248, - 1.635386, - 2.2385087, - 2.9456835, - 3.769143, - 2.7827318, - 1.4978321, - -0.3055099, - 0.38302973, - 0.27147746, - 0.28666082, - 0.35981005, - 0.20209663, - 0.0505335, - 0.00022801384, - -0.007706399, - -0.008808966, - -0.0034274147, - 0.004325905, - -0.0049592447, - -0.041873995, - -0.3197183, - 0.002150652, - -0.10749555, - -0.19537899, - -0.038020886, - 0.17142868, - 0.53205943, - 0.019410018, - -0.056579553, - 0.58234483, - 1.2963107, - 0.2004575, - -0.100739405, - 0.558412, - 1.1716634, - 0.029161898, - -0.13676095, - -0.093282394, - 0.29149008, - -0.6763643, - -0.4900143, - -0.009130489, - 0.3600723, - 0.3665329, - 0.004788068, - 0.26830053, - 0.87092334, - -0.8215979, - -0.549833, - 0.16141431, - 0.95809555, - -0.026637591, - -0.035968695, - 0.552472, - -0.060984254, - 0.04068201, - 0.3823705, - 0.009418681, - -0.007463541, - -0.009312019, - 0.008915393, - -0.0005510999, - 0.0035254955, - 0.008046815, - 0.008674609, - 0.008508706, - -0.0008124877, - 0.004095099, - 0.002457223, - -0.0064589093, - 0.0060925093, - 0.0012618108, - -0.0039176345, - 0.0039970186, - -0.005868571, - -0.0075792954, - -3.1479914, - -2.7256768, - -2.3492322, - -0.7401775, - -1.3929883, - -2.2978892, - -0.0027733874, - 0.009177124, - -0.006355319, - -0.56166685, - -0.90971625, - -1.0511231, - -0.5120219, - -0.7148568, - -0.91679996, - -2.6472833, - -0.86285955, - -2.0424664, - -0.3404026, - -1.5783554, - -0.14597398, - -0.70944977, - -0.8100352, - -1.7216436, - -0.4821051, - -0.5839781, - 0.0969088, - -1.236617, - -0.407661, - -0.1988834, - 0.8713249, - -0.70934373, - -0.8958695, - 0.0042860033, - -0.004753387, - 0.40877464, - -1.1522579, - -0.0066909315, - 0.0056339707, - -0.5868196, - -0.80889297, - -0.0018851925, - 0.007400766, - -0.6799517, - -0.25676736, - 0.0092722215, - 0.0030306866, - 0.505714, - 0.29308283, - 0.00912733, + 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, + -0.0073812627, + 0.004104538, + 0.0060586967, + -0.008598236, + 0.0018530292, + -0.004704423, + 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.00496279, + 0.007571606, + -0.65273744, + 1.3061956, + -0.0038658213, + -0.00062850676, + 0.43019843, + 1.1461996, + -0.00188174, + 0.00081885327, + 1.0148703, + 0.5741924, + 0.0061870757, + -0.0077467104, + -0.71127087, + -0.5197116, + -0.00032685045, + -0.00023208652, + -1.7386566, + -0.9152617, + 0.0032768678, + 0.0059308577, + 0.10421033, + 0.15347819, + -0.0057374667, + 0.00015021767, + -0.92226166, + -0.91917855, + -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.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, + 0.0029043844, + 0.008424118, + -0.0050589656, + -0.0051581357, + 0.007047029, + -0.0010688612, + -0.007828684, + 0.0054334905, + -0.006010456, + -0.0055280733, + -0.00082149263, + -0.005897157, + 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.8997595, - 0.46416217, + 0.006379608, + -0.0034764553, -0.0019571641, -0.0020065904, - 0.05280533, - -0.13786243, + -0.0007181382, + -0.002883594, 0.0066047404, -0.00401304, - 0.74043065, - 0.60071516, - 0.009882869, - -0.0012246752, - -0.04448644, - -1.0739167, - -1.8513304, - -1.7591248, - -1.5562627, - -1.0575562, - -1.2044964, - 0.05274436, - -0.0030021705, - -2.6908884, - -3.320067, - -2.7970364, - -2.6813624, - -2.5500464, - -2.3904552, - -1.6554959, - -2.308423, - -1.4813823, - 0.32780287, - 0.036904573, - -0.84991413, - -1.8104398, - -2.293292, - -2.5367718, - -3.3909104, - -2.828258, - -0.9779187, - 0.25371704, - -0.19917162, - -0.3740929, - -0.19925304, - -0.05447088, - -0.2287449, - 0.032563645, - -0.001817584, - -0.009368448, + 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.001203401, - -0.001678803, - -0.0145629775, - 0.28788972, - -0.006872382, - 0.15369716, - 0.17134078, - 0.19448477, - 0.0464677, - -0.21203437, - 0.015142955, - -0.23993327, - -0.6938286, - -1.2016369, - 0.20232521, - 0.40268332, - -0.23988982, - -1.1354849, - -0.37138003, - -0.119677156, - -0.1611546, - -0.20968457, - 1.0306233, - 0.48724326, - -0.11466457, - -0.7253666, - -0.34234065, - -0.12565605, - -0.26051366, - -0.70830524, - 1.0524085, - 0.6905243, - -0.08098609, - -0.85194665, - 0.07823153, - -0.044929374, - -0.48582554, - 0.20754094, - -0.19081149, - -0.14343016, - 0.0021977378, - -0.0029488825, - 0.006474953, - 0.007961744, - -0.0059215473, - -0.0042123506, - -0.0038043214, - 0.007477794, - 0.007423345, - -0.0053779697, - -0.0015040664, - -0.008595528, - -0.0028329133, - 0.009884633, - 0.009884935, + -0.5749371, + -0.7808559, + 0.008264789, + 0.0015326263, + -1.0265335, + -0.7028147, + 0.0023975773, + -0.0020184517, + 0.68484324, + 0.5090038, + 0.0038830638, + -0.0005412027, + 0.90522385, + 0.59818846, + 0.0028945897, + -0.005422716, + 0.035113283, + -0.15301158, + -0.0063391924, + 0.0013449714, + 0.8615637, + 0.8573158, + 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.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.0011727996, + 0.0015943982, + 0.009848841, ]; #[allow(clippy::unreadable_literal)] @@ -1190,326 +1284,390 @@ 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.52550673, - 0.68916845, - 0.11563919, - -0.14715458, - 2.8277855, - 2.230739, - 1.542515, - 0.7696426, - 1.2870432, - 1.5650468, - -0.0059250165, - -0.00050385203, - -0.00651386, - 0.35650814, - 0.6718961, - 0.65419704, - 0.2973203, - 0.51381546, - 0.4688092, - 4.071519, - 0.80232555, - 2.0828228, - 0.6069396, - 2.0615935, - 0.15641983, - 0.98783904, - 0.93368614, - 0.47739226, - 0.014972169, - 0.13906036, - -0.41427022, - 0.077820234, - -0.06608179, - 0.02725945, - -0.96086925, - 0.7079178, - 0.5674669, - -0.005124028, - -0.008343117, - -0.7849244, - -0.09562964, - 0.005951524, - -0.0043248367, - 0.35779402, - 1.1420021, - -0.005560641, - 0.0036220215, - 0.4856812, - -0.08472786, - -0.0055643534, - -0.0015320918, - -0.2134208, - -0.22233927, - -0.009827926, - 0.00059686694, - -1.6346165, - 0.09591504, - 0.0076304395, - -0.0060374904, - 0.0685955, - 0.023615561, - -0.003094554, - 0.0022945618, - -0.58997613, - -0.23454693, - 0.0020511579, - -0.0041063665, - -0.008211616, - 1.861964, - 1.7256736, - 2.5979977, - 1.5632825, - 1.3304522, - 0.64854914, - 1.195511, - -0.98488164, - 0.19034651, - 1.3182425, - 0.97880423, - 0.8634156, - 1.0485606, - 0.786302, - 0.3148401, - 0.15357049, - 0.4334279, - 0.079379536, - -0.45780203, - 0.48278227, - 0.5385578, - 1.3703121, - 2.3002777, - 3.0417378, - 3.9715538, - 4.0489464, - -0.27683988, - 0.19481778, - 0.07868378, - 0.3522826, - 0.09341672, - 0.15323727, - 0.00048257707, - 0.00022801384, - -0.007706399, - -0.008808966, - -0.0034274147, - 0.004325905, - -0.0049592447, - -0.023711177, - -0.19735336, - 0.002150652, - 0.0918693, - -0.19995064, - -0.27319708, - -0.19047348, - -0.06440252, - 0.097287506, - 0.280878, - 0.4159084, - 0.29352912, - -0.08258481, - -0.36553434, - 0.23706087, - 0.70045704, - 0.6408008, - 0.28690997, - 0.07003039, - -0.17076239, - -0.90892595, - -0.4742232, - 0.006765828, - 0.62323034, - 0.54945904, - 0.37255636, - 0.26208767, - 0.24215749, - -1.226941, - -0.5168553, - 0.060615838, - 0.71191627, - 0.29605922, - -0.0056521636, - -0.22719087, - 0.38140985, - 0.09892963, - -0.14723366, - 0.009418681, - -0.007463541, - -0.009312019, - 0.008915393, - -0.0005510999, - 0.0035254955, - 0.008046815, - 0.008674609, - 0.008508706, - -0.0008124877, - 0.004095099, - 0.002457223, - -0.0064589093, - 0.0060925093, - 0.0012618108, - -0.0039176345, - 0.0039970186, - -0.005868571, - -0.0075792954, - -3.1569335, - -2.5242715, - -1.7407578, - -1.2393014, - -1.8171988, - -2.1422937, - -0.0027733874, - 0.009177124, - -0.006355319, - -0.48711416, - -0.61996865, - -0.60756475, - -0.098757036, - -0.3575179, - -0.3761897, - -2.3689826, - -0.14972685, - -1.2524751, - -0.065120235, - -0.94068134, - 0.20320809, - -0.27026406, - -0.6600044, - -0.6856557, - -0.37039065, - 0.0052424334, - 0.016527921, - -0.56993353, - -0.24071953, - 0.31213483, - 0.0014620738, - -0.58306, - -0.74813014, - 0.0042860033, - -0.004753387, - 1.5623237, - 0.11837501, - -0.0066909315, - 0.0056339707, - -0.7123404, - -0.71717614, - -0.0018851925, - 0.007400766, - -0.45169938, - 0.04882392, - 0.0092722215, - 0.0030306866, - 0.18052137, - 0.35240895, - 0.00912733, + 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.0073812627, + 0.004104538, + 0.0060586967, + -0.008598236, + 0.0018530292, + -0.004704423, + 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.00496279, + 0.007571606, + -0.64862525, + -0.45413017, + -0.0038658213, + -0.00062850676, + 0.39780873, + 1.1896341, + -0.00188174, + 0.00081885327, + 0.7807681, + 0.3852484, + 0.0061870757, + -0.0077467104, + -0.67735445, + -0.54074717, + -0.00032685045, + -0.00023208652, + -1.2723223, + -0.2532052, + 0.0032768678, + 0.0059308577, + 0.10772221, + 0.0604207, + -0.0057374667, + 0.00015021767, + -0.8507695, + -0.69233364, + -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.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, + 0.0029043844, + 0.008424118, + -0.0050589656, + -0.0051581357, + 0.007047029, + -0.0010688612, + -0.007828684, + 0.0054334905, + -0.006010456, + -0.0055280733, + -0.00082149263, + -0.005897157, + 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, - 1.4145095, - -0.08807056, + 0.006379608, + -0.0034764553, -0.0019571641, -0.0020065904, - -0.022590104, - -0.06779834, + -0.0007181382, + -0.002883594, 0.0066047404, -0.00401304, - 0.19959562, - 0.09618675, - 0.009882869, - -0.0012246752, - -1.8321629, - -1.991576, - -1.4599735, - -1.2139837, - 0.01777924, - -0.7372808, - 0.42317328, - -0.0030643002, - -0.040494867, - -2.6305847, - -2.4768515, - -2.0206914, - -1.9042807, - -2.0988615, - -1.7114905, - -2.3807535, - -1.6715409, - -0.34043166, - 1.0847187, - 0.118677124, - -0.24765377, - -1.0526614, - -2.2538598, - -2.670453, - -1.4110692, - -0.84070796, - -0.29149517, - 0.11121553, - -0.07344372, - -0.10506089, - -0.1074835, - 0.0010816874, - -0.12665065, - 0.36529997, - -0.001817584, - -0.009368448, + -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.001203401, - -0.001678803, - -0.0054546706, - 0.4445638, - -0.006872382, - -0.075786084, - -0.12149787, - -0.08463431, - -0.111497074, - -0.2513803, - 0.09302041, - 0.09131029, - 0.2621101, - 0.17976685, - -0.0807174, - 0.4096398, - -0.083573215, - -0.48400417, - -1.0185872, - -0.52044743, - 0.08373761, - 0.36914578, - -0.14505386, - -0.19116105, - -0.5635713, - -0.74019825, - -0.55976826, - -0.06728599, - 0.13793282, - 0.2330763, - 0.78524774, - 0.4121335, - -0.12191589, - -0.47684953, - -0.055205997, - 0.15502705, - 0.32514188, - 0.21223225, - 0.14458957, - 0.3190941, - 0.0021977378, - -0.0029488825, - 0.006474953, - 0.007961744, - -0.0059215473, - -0.0042123506, - -0.0038043214, - 0.007477794, - 0.007423345, - -0.0053779697, - -0.0015040664, - -0.008595528, - -0.0028329133, - 0.009884633, - 0.009884935, + -0.66290885, + -0.67025983, + 0.008264789, + 0.0015326263, + -0.92803186, + -0.38439432, + 0.0023975773, + -0.0020184517, + 0.38669714, + 0.62248665, + 0.0038830638, + -0.0005412027, + 1.3448598, + 0.004860402, + 0.0028945897, + -0.005422716, + -0.01282793, + -0.12146275, + -0.0063391924, + 0.0013449714, + 0.43367574, + 0.2977191, + 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.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.0011727996, + 0.0015943982, + 0.009848841, ]; #[allow(clippy::unreadable_literal)] @@ -1694,406 +1852,526 @@ 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.1918659, - 2.0893366, - 1.2471892, - 1.5523591, - 0.81921875, - 0.80374527, - 0.85770124, - 2.0775743, - 2.0100415, - 1.9407905, - 1.8177477, - 1.7840679, - 1.7239945, - 0.5269436, - 0.97980946, - 1.0298374, - 1.5033469, - 1.5534542, - 1.8717141, - 0.16902849, - 0.81483114, - 0.97242945, - 1.4600396, - 1.7333257, - 2.124839, - 0.5775688, - 0.6405401, - 0.62823415, - 0.6332654, - 0.6971824, - 0.7664683, - 0.39951113, - 0.5471608, - 0.53000325, - 0.60530275, - 0.61534774, - 0.64171356, - 2.292497, - 0.6565315, - 1.4133617, - 0.4340728, - 1.4190128, - 0.16868669, - 0.57024395, - 0.889122, - 1.1048332, - 0.53752905, - 0.4343081, - -0.18382467, - 0.8957778, - 0.3892366, - 0.21037464, - -0.6988739, - 0.63554096, - 0.8874598, - 1.003031, - 0.7588266, - 0.24563166, - 0.5889993, - 0.8125583, - 1.5510347, - 0.23427877, - 0.36114866, - 0.7219598, - 0.54086876, - 0.6067982, - 0.15003824, - -0.47200987, - 0.36037225, - -0.4246881, - -0.44644055, - -0.112327434, - -0.29181728, - -0.6039501, - 0.43884093, - 0.29739112, - -0.17559962, - -0.055427294, - 0.00020423914, - -0.052231662, - 0.12164362, - -0.51339877, - -0.54958284, - -0.4663809, - -0.54183656, - 0.11259515, - 0.23960546, - 0.6128682, - 1.404538, - 1.3526511, - 1.4431278, - 1.2538688, - 0.1954831, - 0.035001468, - 1.9130627, - 1.9566518, - 1.7557888, - 1.5125302, - 1.2795407, - 0.9899276, - 0.8508801, - 0.613161, - 1.1650457, - 0.3367184, - 0.34837943, - 0.7650228, - 1.2172495, - 1.5878721, - 2.1661332, - 2.481667, - 2.713252, - 2.431455, - -0.33107087, - -0.14038132, - 0.10234496, - 0.42160866, - 0.1715594, - 0.2003486, - -0.015210704, - 2.136305, - 0.96142596, - 0.043299958, - 0.17221427, - 0.02500731, - -0.08930884, - 0.024827277, - -0.21496062, - -0.15576957, - 0.0051122922, - -0.67359966, - -0.29207748, - -0.018953279, - 0.3302115, - 0.75018334, - 0.049111944, - 0.002666045, - 0.34939662, - 0.828986, - 1.162065, - 0.039343823, - -0.5203438, - 0.09591602, - 0.7316724, - 1.1196012, - 0.011651255, - -0.75902474, - -0.118672974, - 0.642113, - 1.1246438, - -0.14040856, - -0.36807057, - -0.16483098, - -0.056152113, - 0.38472146, - -0.8531432, - -0.827557, - -0.3566531, - 0.19506481, - 0.8347913, - -0.8710035, - -0.7843257, - -0.26620966, - 0.33306417, - 0.92586964, - 0.13065219, - -0.004571968, - 0.10721829, - 0.40884194, - 0.7164686, - -0.74768794, - -0.77879184, - -0.23300746, - 0.4320129, - 1.0341018, - -0.91387945, - -0.7699587, - -0.19339615, - 0.48586285, - 1.2496941, - -0.009654252, - 0.23810254, - 0.4355241, - 0.21849494, - 0.45104843, - 0.5809996, - 0.091210686, - 0.08495714, - -0.045515068, - -0.24433374, - -0.08461547, - 0.15909046, - -0.9693524, - -0.50716466, - -0.47615945, - -0.32850415, - -0.2447702, - -0.3295132, - 0.0042860033, - -0.004753387, - 0.009866308, - 0.0054509398, - -0.0066909315, - 0.0056339707, - 0.005903894, - -0.0017206976, - -0.0018851925, - 0.007400766, - -2.2188537, - -1.9348854, - -1.9646758, - -1.8119453, - -1.8369038, - -1.719102, - -0.47311375, - -0.78578466, - -0.9665624, - -1.4029945, - -1.5534004, - -1.5697842, - -0.42945996, - -0.58624005, - -0.5643495, - -1.3714833, - -1.6698115, - -2.027647, - -0.64650244, - -0.80375195, - -0.82098883, - -0.7522659, - -0.76841, - -0.7881199, - -0.39630637, - -0.48605737, - -0.43992406, - -0.59009516, - -0.59751385, - -0.61465764, - -2.157712, - -0.66358006, - -1.2055236, - -0.30817416, - -1.076931, - -0.008670354, - -0.21109828, - -0.53518254, - -1.3288403, - -0.5187102, - -0.1569528, - 0.093801856, - -1.0597152, - -0.3748056, - 0.13033721, - 0.81102145, - -0.6015944, - -0.65486866, - -0.6317136, - -1.182904, - -0.085015535, - -0.48505002, - -0.35622197, - -0.82610035, - -0.23053925, - -0.47001588, - -0.81368756, - -0.2521419, - -0.4314916, - -0.17895341, - -0.7419683, - -0.1474509, - 0.4069688, - 0.31622452, - -0.017260417, - 0.285682, - 0.5110542, - 0.17676471, - 0.33216548, - 0.21634087, - 0.0828652, - -0.047332697, - -0.31225273, - -0.12091931, - 0.46933016, - 0.5399481, - 0.78001845, - 0.3365533, - 0.05495743, - -0.039874323, - -1.2316328, - -1.1801776, - -1.3561523, - -1.1941088, - -0.09820265, - -0.009646242, - -0.0032199433, - -2.4371488, - -2.1606867, - -1.9424404, - -1.7201182, - -1.3684496, - -1.1932931, - -1.0471852, - -1.0245235, - -1.2939262, - -0.010620178, - -0.30814862, - -0.7385395, - -1.2947171, - -1.7674267, - -2.0800915, - -2.531807, - -2.5866277, - -2.1522677, - 0.36321956, - 0.12974857, - -0.14063813, - -0.23213056, - -0.07020149, - -0.1357339, - 0.0031997203, - -1.2411505, - -0.5937269, - -0.018691497, - -0.09909079, - -0.078387596, - 0.23563363, - -0.033299588, - 0.21881804, - 0.16626777, - 0.002863534, - 0.57342964, - 0.39201733, - 0.103971496, - -0.27324498, - -0.6916572, - 0.057713393, - 0.10178161, - -0.1417985, - -0.5869379, - -1.0218619, - 0.02924521, - 0.6059573, - -0.07226298, - -0.6801375, - -1.1236855, - -0.0029651695, - 0.7079816, - 0.11520403, - -0.6225288, - -1.1042641, - 0.12590759, - 0.4003287, - 0.16332132, - 0.018670887, - -0.20013574, - 0.8375242, - 0.8778095, - 0.31509924, - -0.19611418, - -0.82477975, - 0.8714972, - 0.7545527, - 0.2228721, - -0.2694781, - -0.942901, - -0.2799783, - 0.0247798, - -0.04256979, - -0.41939566, - -0.8088288, - 0.7753818, - 0.8014177, - 0.25479764, - -0.4166117, - -0.98672265, - 0.9657827, - 0.8297541, - 0.18620977, - -0.526132, - -1.1196947, - -0.035360537, - -0.3742483, - -0.6757443, - -0.11813929, - -0.346387, - -0.68725485, - 0.14737168, - -0.06785119, - 0.08270316, - 0.16709302, - 0.411984, - 0.1804605, - 0.70599705, - 0.42267603, - 0.5343885, - 0.3347701, - 0.28322986, - 0.41277596, - 0.0053475164, - -0.008328738, - -0.005392799, + 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, + -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, ]; #[allow(clippy::unreadable_literal)] @@ -2302,406 +2580,526 @@ 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.7441071, - 0.88720983, - 0.19527824, - 0.28629193, - -0.06264062, - -0.17329699, - 0.06245191, - 2.1558506, - 1.8676485, - 1.9471008, - 1.6401341, - 1.6858913, - 1.5126742, - 0.44063008, - 0.6628767, - 0.63892376, - 0.89351577, - 1.0385884, - 1.0346128, - 0.96485287, - 0.8775198, - 0.9644575, - 1.3171802, - 1.6400793, - 1.7648816, - 0.5557184, - 0.61416245, - 0.6826261, - 0.67193556, - 0.7179551, - 0.7002009, - 0.36216816, - 0.4451952, - 0.43366194, - 0.5470946, - 0.5837053, - 0.51948553, - 3.2919118, - 0.7017195, - 1.470978, - 0.5666292, - 1.3246655, - 0.27053574, - 0.29459804, - 0.8796851, - 0.9177723, - 0.23386106, - 0.21110123, - 0.050550334, - 0.4305253, - 0.20122169, - 0.23467791, - -0.009938547, - 0.59160364, - 0.63027203, - 1.2996399, - 0.4746071, - -0.33511534, - 0.5331516, - 0.27372402, - 2.143826, - 0.2424982, - 0.39495426, - 0.5233511, - 0.2934401, - 0.25732788, - -0.098237425, - 0.7138267, - 0.06014345, - -0.34064636, - -0.24053752, - -0.2830778, - -0.21162674, - -0.56363153, - -0.22536324, - 0.8264542, - -0.26970378, - -0.056609612, - 0.07243384, - 0.0027168673, - 0.118664555, - -0.51836383, - -0.43364942, - -0.3897988, - -0.480984, - 0.033200555, - -0.029837826, - 0.5738556, - 1.6888087, - 1.9082824, - 1.9412371, - 2.0663927, - 0.8803622, - 0.03499267, - 1.2999039, - 1.7347076, - 1.6062657, - 1.5493773, - 1.1216433, - 0.7943463, - 0.395461, - 0.06884023, - -0.2494125, - 0.39886823, - 0.32170665, - 0.64366454, - 0.8107403, - 1.2051617, - 1.7506636, - 2.070606, - 2.5188816, - 3.0204918, - -0.31652465, - -0.12881841, - 0.08712035, - 0.28643104, - 0.011732175, - 0.13824922, - -0.009436996, - 2.9768114, - 0.8618459, - 0.044514682, - 0.1325942, - 0.037401136, - -0.19741878, - 0.019267721, - -0.17529123, - -0.14947936, - 0.0051122922, - -0.55812556, - -0.2626163, - -0.03206904, - 0.30008367, - 0.6625201, - -0.17822197, - -0.13737914, - 0.0972783, - 0.4684769, - 0.7139947, - 0.06316821, - -0.6127628, - -0.008294375, - 0.5888766, - 1.0518848, - 0.011484184, - -0.64253354, - -0.10392624, - 0.62839556, - 1.109431, - -0.050402313, - -0.3226719, - -0.1860921, - -0.08946294, - 0.11229613, - -0.7576815, - -0.7442973, - -0.28864837, - 0.2084742, - 0.78053296, - -0.7848585, - -0.7286151, - -0.25585207, - 0.27161643, - 0.7942266, - 0.42230964, - 0.03225596, - 0.046302184, - 0.2187461, - 0.48855495, - -0.69752455, - -0.6310905, - -0.15981972, - 0.41823772, - 0.9823154, - -0.82973856, - -0.7246395, - -0.14108467, - 0.4648172, - 1.0417857, - -0.010378178, - 0.08311143, - 0.18606663, - 0.060189996, - 0.0870116, - 0.28912586, - -0.019070756, - -0.018523272, - -0.15637593, - -0.31566572, - -0.49943757, - -0.23314303, - -0.54432046, - -0.32449606, - -0.28723732, - -0.10487124, - -0.07272469, - -0.4338804, - 0.0042860033, - -0.004753387, - 0.009866308, - 0.0054509398, - -0.0066909315, - 0.0056339707, - 0.005903894, - -0.0017206976, - -0.0018851925, - 0.007400766, - -2.359537, - -2.0704906, - -2.0255523, - -1.6604756, - -1.6715237, - -1.6348218, - -0.8753812, - -1.2137821, - -1.1795653, - -1.5663438, - -1.634132, - -1.7081224, - -0.52112114, - -0.7325884, - -0.70145667, - -1.0978994, - -1.3642168, - -1.6886274, - -0.5485081, - -0.73722154, - -0.8150362, - -0.69216996, - -0.76198417, - -0.6982526, - -0.296411, - -0.4141438, - -0.43111384, - -0.45951524, - -0.5023182, - -0.47671017, - -2.8885694, - -0.6942656, - -1.874969, - -0.23789114, - -0.9273582, - 0.1322735, - -0.35253897, - -0.5931728, - -1.297067, - -0.911203, - -0.30462667, - -0.043822598, - -1.1303803, - -0.73735034, - -0.16969167, - 0.13011317, - -0.53026885, - -0.77103895, - -1.3613573, - -0.91693133, - 0.23517984, - -0.40073332, - -1.0609215, - -1.0141041, - -0.26176733, - -0.27235082, - -0.17130807, - -0.2449508, - -0.39235315, - 0.017472243, - -0.29817587, - 0.008602867, - 0.30342436, - 0.29076347, - 0.49014738, - 0.076913446, - 0.4276812, - -0.13439558, - -0.39087644, - 0.38941056, - 0.10010801, - -0.027857669, - -0.045054633, - -0.079416156, - 0.27985865, - 0.35874927, - 0.5113117, - 0.26199177, - -0.12085431, - -0.6756403, - -0.46491027, - -0.4490599, - -0.7062989, - -0.3203352, - -0.12606199, - -0.009357988, - -0.0028563866, - -2.7993639, - -2.2368164, - -1.8812959, - -1.5674816, - -1.0916656, - -1.037261, - -1.0010945, - -1.1745555, - -0.77410096, - -0.053808473, - -0.7189909, - -0.9417576, - -1.4144077, - -1.8440995, - -2.011019, - -2.3419125, - -2.3776133, - -1.9961619, - 0.2903704, - 0.14406782, - -0.08044951, - -0.24285999, - -0.03968244, - -0.15858164, - 0.12232234, - -1.2058078, - -0.41838443, - -0.036113977, - -0.10781504, - -0.028362863, - 0.07235353, - -0.03763448, - 0.2664625, - 0.22123748, - 0.0020160126, - 0.41662878, - 0.25033382, - 0.06333009, - -0.17016743, - -0.4407392, - -0.16962084, - -0.34555748, - -0.40051863, - -0.5075551, - -0.6880697, - 0.053069286, - 0.4943114, - -0.025716739, - -0.57203674, - -1.0051825, - -0.003131977, - 0.60055214, - 0.1257772, - -0.46003124, - -1.0629367, - -0.5223966, - -0.16378315, - -0.13117586, - -0.046064954, - -0.3238323, - 0.79960936, - 0.68898046, - 0.22856537, - -0.23070753, - -0.73895264, - 0.8161251, - 0.60702974, - 0.18315972, - -0.28328472, - -0.9454511, - -0.480964, - -0.25397906, - -0.2037318, - -0.21479857, - -0.16413991, - 0.89045924, - 0.67577857, - 0.2030874, - -0.35942432, - -0.87684274, - 0.96221405, - 0.721273, - 0.20514739, - -0.3913067, - -0.99525315, - -0.13864742, - -0.16849144, - -0.25172234, - -0.14801925, - -0.3227605, - -0.08942281, - -0.08192892, - 0.05945107, - 0.38686156, - 0.1592539, - 0.14852233, - 0.036884163, - 0.433348, - 0.06707817, - 0.3458845, - 0.03666865, - 0.08332379, - 0.23508781, - 0.0053475164, - -0.008328738, - -0.005392799, + 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.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, ]; #[allow(clippy::unreadable_literal)] @@ -2910,422 +3308,550 @@ 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.5262509, - 1.3646078, - 0.7224677, - 0.7471034, - 0.34748542, - 0.22230913, - 0.10203428, - 1.9211336, - 1.7880797, - 1.8319982, - 1.7632765, - 1.7965604, - 1.7628267, - 0.73785806, - 0.9915271, - 1.0164173, - 1.2485598, - 1.2916486, - 1.4172758, - 0.061341904, - 0.7623549, - 0.9135059, - 1.0484185, - 1.3839645, - 1.7030803, - 0.4121454, - 0.48739296, - 0.49596906, - 0.5332734, - 0.5834777, - 0.6019581, - 0.33200958, - 0.44105044, - 0.45230198, - 0.51855433, - 0.56094795, - 0.588039, - 1.9952204, - 0.639548, - 1.2909421, - 0.2833036, - 1.0435098, - 0.07832201, - 0.27937493, - 0.72908914, - 1.0802518, - 0.370846, - 0.31608972, - -0.11557279, - 0.7472407, - 0.35375708, - 0.25634795, - -0.47649145, - 0.6280468, - 0.8547168, - -0.035107516, - 0.80348474, - 0.40322733, - 0.49794227, - 0.24355717, - 0.9480296, - 0.1110896, - 0.2000617, - 0.8354744, - 0.24147949, - 0.5998924, - 0.0256828, - 0.014296946, - 0.21005258, - -0.42343926, - -0.28439894, - 0.25588852, - -0.21956067, - -0.5488662, - -0.088319175, - 0.55013615, - -0.14181338, - -0.027440146, - 0.0616775, - -0.26572436, - 0.07785046, - -0.39010474, - -0.37408134, - -0.99259853, - -0.47220078, - -0.03229078, - 0.33689535, - 1.1006444, - 1.0914527, - 0.9377648, - 0.96870255, - 1.3232132, - 0.5288126, - 0.17746015, - 1.4264653, - 1.4381129, - 1.2955395, - 1.203904, - 1.1214869, - 0.9155681, - 0.8585982, - 0.8558701, - 0.5215006, - 0.3638761, - 0.56133956, - 0.85520744, - 1.1583823, - 1.2696047, - 1.4823128, - 1.6993862, - 1.7092537, - 2.1669834, - -0.285098, - -0.10346406, - 0.1450054, - 0.30980217, - 0.0728388, - 0.20336469, - 0.06226266, - 1.2458721, - 0.7418788, - 0.01153995, - 0.111377716, - 0.089281805, - -0.17137736, - 0.040972207, - -0.17010264, - -0.13557914, - 0.0051122922, - -0.28631046, - -0.16667394, - -0.12267732, - -0.050986238, - 0.12685934, - 0.33848238, - 0.11882424, - 0.00041961914, - 0.09609309, - 0.26743236, - 0.5697197, - 0.76543707, - -0.017917842, - -0.28284523, - -0.025394807, - 0.23507354, - 0.67394453, - 0.8435625, - -0.06093793, - -0.3850766, - -0.073227756, - 0.2507454, - 0.63659203, - 0.7940394, - -0.09292225, - -0.21673074, - -0.21186705, - -0.19806212, - -0.1077961, - -0.0014228593, - -0.68474114, - -0.6740289, - -0.46105087, - -0.19334532, - -0.0049354164, - 0.32409245, - -0.7083936, - -0.6499635, - -0.3990362, - -0.11243451, - 0.18070738, - 0.5091522, - 0.24943176, - 0.06771581, - -0.026486248, - 0.023479225, - 0.26372588, - 0.5422397, - -0.5481546, - -0.46143675, - -0.23848708, - 0.023051921, - 0.4084056, - 0.8042622, - -0.70126504, - -0.56415296, - -0.31214055, - 0.022752471, - 0.43993583, - 0.7982584, - -0.04035981, - 0.0636372, - 0.398818, - 0.12583806, - 0.14719377, - 0.5085543, - -0.06653115, - 0.09096465, - 0.005203919, - -0.525823, - -0.15336221, - -0.1294713, - -0.5423648, - -0.8853662, - -0.40752304, - -0.3387668, - -0.27023464, - -0.15339209, - -0.000116079114, - -0.009369239, - 0.0092722215, - 0.0030306866, - -0.00916178, - -0.0003501959, - 0.00912733, - -0.008776911, - -1.9057529, - -1.8163021, - -1.8078283, - -1.7499542, - -1.8105956, - -1.8471847, - -0.5310317, - -0.6098644, - -0.81945604, - -0.9721973, - -1.1060125, - -1.2926981, - -0.3423018, - -0.57857215, - -0.6241287, - -1.0296546, - -1.2865738, - -1.7785736, - -0.53544486, - -0.5796795, - -0.6369491, - -0.5960413, - -0.70862174, - -0.70686203, - -0.4437853, - -0.45343304, - -0.4366593, - -0.5723672, - -0.57435095, - -0.60474813, - -2.0765245, - -0.88366014, - -1.2966001, - -0.45268452, - -1.2021767, - -0.024457805, - -0.42845386, - -0.82365507, - -1.3432237, - -0.42381328, - -0.2579079, - 0.045384284, - -0.8668672, - -0.47768286, - -0.22750546, - 0.41498366, - -0.5384459, - -0.8856498, - -1.294174, - -0.67428136, - -0.26805708, - -0.12609579, - -0.60901994, - -0.99092394, - -0.10303091, - -0.19814044, - -0.27670836, - -0.19872825, - -0.33655736, - -0.030520586, - -0.056671664, - 0.025761813, - 0.40287617, - 0.28097117, - 0.32710892, - 0.13013722, - 0.4467462, - 0.09660841, - -0.07156851, - 0.266617, - 0.05877501, - -0.062756985, - 0.07151222, - -0.06829051, - 0.37532368, - 0.6095025, - 0.54693985, - 0.4297103, - -0.10058099, - -0.56016546, - -1.2388914, - -1.1672602, - -1.1809531, - -0.92055404, - -0.22741352, - -0.10544123, - -0.069451734, - -1.6933323, - -1.4585413, - -1.3863543, - -1.2251937, - -1.071667, - -1.0147732, - -0.9395899, - -1.0256444, - -0.990162, - -0.3881382, - -0.62050354, - -0.81194705, - -1.0520649, - -1.1564204, - -1.4264901, - -1.7407557, - -1.7564917, - -2.1231525, - 0.33199582, - 0.12027014, - -0.11686586, - -0.22949545, - -0.064047046, - -0.18096107, - -0.030958373, - -1.1411972, - -0.5642649, - -0.016689131, - -0.094007924, - -0.073626116, - 0.13173069, - -0.046415653, - 0.18017575, - 0.14083041, - 0.005889902, - 0.20814957, - 0.21028988, - 0.13102686, - -0.03756788, - -0.23960894, - -0.43342882, - 0.10363206, - 0.1525143, - 0.042962376, - -0.17465758, - -0.4137458, - -0.65177953, - -0.018696278, - 0.30741227, - 0.075930595, - -0.17740111, - -0.55915785, - -0.73388666, - -0.055940967, - 0.37044734, - 0.12767503, - -0.1515057, - -0.5254169, - -0.8288924, - 0.07204488, - 0.13172115, - 0.17307365, - 0.05191424, - -0.10396975, - -0.10893872, - 0.49687114, - 0.51528525, - 0.31966662, - 0.05609451, - -0.15177116, - -0.26710862, - 0.50218153, - 0.5199993, - 0.3199943, - 0.06267308, - -0.21076109, - -0.52543, - -0.028317874, - 0.097597, - 0.11500467, - 0.022410892, - -0.19238545, - -0.40750363, - 0.39295503, - 0.40917757, - 0.197951, - -0.07550067, - -0.397636, - -0.67999345, - 0.52688193, - 0.51433533, - 0.2428111, - -0.07260796, - -0.45349038, - -0.7085955, - 0.08822638, - -0.09872757, - -0.34320846, - -0.024958631, - -0.050161928, - -0.34248084, - 0.14085825, - 0.11133494, - -0.30234963, - 0.14624442, - 0.18451294, - 0.10413163, - 0.41163, - 0.06378609, - 0.42478168, - 0.31088006, - -0.033239454, - 0.29447088, - -0.0075867055, + 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.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, ]; #[allow(clippy::unreadable_literal)] @@ -3542,422 +4068,550 @@ 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.17279415, - 0.26403475, - -0.11452551, - -0.28992337, - -0.6073518, - -0.76404655, - -0.76104933, - 1.9040512, - 1.705788, - 1.7249058, - 1.5696108, - 1.6327494, - 1.6148369, - 0.34232837, - 0.49385145, - 0.63885677, - 0.84745675, - 0.98808646, - 1.0741498, - 0.7871209, - 0.6325125, - 0.87380385, - 1.078817, - 1.4328644, - 1.7958317, - 0.40306494, - 0.5319942, - 0.60159224, - 0.61677045, - 0.6833001, - 0.72055197, - 0.3245068, - 0.37355945, - 0.39554337, - 0.48069626, - 0.5167085, - 0.54934907, - 3.0265062, - 0.9114201, - 1.6164106, - 0.45398182, - 1.2876424, - 0.22116295, - 0.5363435, - 0.9570742, - 1.2978804, - 0.3195341, - 0.24662241, - 0.115939155, - 0.76784796, - 0.32347834, - 0.22540112, - 0.0033180327, - 0.5158919, - 0.61187303, - 0.87040585, - 0.5997813, - 0.132426, - 0.3615559, - -0.09734784, - 0.78698355, - 0.112486966, - 0.25358018, - 0.49453592, - 0.25949046, - 0.40340877, - -0.057446565, - 0.34532934, - 0.2546485, - -0.4171796, - -0.20713401, - -0.116817124, - -0.17663942, - -0.43139806, - -0.19521916, - -0.17019275, - -0.25076613, - -0.04883483, - 0.05024809, - 0.051280886, - 0.086992174, - -0.3311898, - -0.39331892, - -0.5697751, - -0.43539774, - 0.049563173, - 0.3960988, - 1.1391767, - 1.2745606, - 1.2432822, - 1.3983454, - 1.5915155, - 0.7536242, - 0.4157909, - 1.221723, - 1.2483829, - 1.1306301, - 1.0132332, - 0.8946096, - 0.75700486, - 0.625237, - 0.6226553, - 0.44465286, - 0.52521497, - 0.5684443, - 0.7440826, - 0.87668014, - 1.0266014, - 1.33939, - 1.5255879, - 1.6700183, - 1.9695652, - -0.26110813, - -0.12583278, - 0.10045391, - 0.25113964, - 0.005591153, - 0.16789998, - -0.0146687245, - 1.4085088, - 0.58120215, - 0.004153588, - 0.09130483, - 0.06279459, - -0.14404358, - 0.037438717, - -0.13718905, - -0.12548526, - 0.0051122922, - -0.18163668, - -0.14880478, - -0.14018163, - -0.052521236, - 0.09282707, - 0.27174264, - -0.024697082, - 0.08458526, - 0.097845435, - 0.2632982, - 0.4452553, - 0.5403607, - -0.045895606, - -0.37061465, - -0.09455917, - 0.20098075, - 0.55381215, - 0.708998, - -0.073398694, - -0.49349013, - -0.17875887, - 0.15311965, - 0.55499935, - 0.78606, - 0.13453156, - -0.05136304, - -0.062167127, - -0.07556031, - -0.06662996, - 0.12792492, - -0.6316509, - -0.60212916, - -0.37449133, - -0.13126442, - 0.16858608, - 0.43137592, - -0.5908049, - -0.57823026, - -0.33518657, - -0.07121597, - 0.19756378, - 0.57767725, - 0.44096097, - 0.14111233, - 0.023241485, - 0.060293663, - 0.18446018, - 0.37557042, - -0.47377434, - -0.45618355, - -0.21991508, - 0.03594097, - 0.39135936, - 0.6349963, - -0.67611444, - -0.55723333, - -0.28051034, - 0.06573074, - 0.42887726, - 0.74197745, - -0.03764219, - 0.036991388, - 0.19944336, - 0.092303924, - 0.102584295, - 0.20306627, - -0.0465083, - -0.09191514, - -0.19452117, - -0.3189867, - -0.33795607, - -0.2333588, - -0.6465309, - -0.75601715, - -0.33112714, - -0.29623392, - -0.34266493, - -0.3442869, - -0.000116079114, - -0.009369239, - 0.0092722215, - 0.0030306866, - -0.00916178, - -0.0003501959, - 0.00912733, - -0.008776911, - -1.930159, - -1.774108, - -1.814551, - -1.6618705, - -1.714798, - -1.6868759, - -0.7373635, - -1.0166231, - -1.1083775, - -1.2516993, - -1.3841048, - -1.4732039, - -0.5227566, - -0.6524835, - -0.8946363, - -1.0709773, - -1.4597453, - -1.7701585, - -0.5332694, - -0.5636421, - -0.6077803, - -0.6927174, - -0.67567235, - -0.714497, - -0.31561014, - -0.39330235, - -0.41076183, - -0.4868839, - -0.5303483, - -0.5372423, - -2.7827687, - -0.6187916, - -1.8097489, - -0.25549427, - -1.1991937, - 0.21779758, - -0.4673679, - -0.8856375, - -1.3919991, - -0.6445494, - -0.44508186, - -0.024429414, - -1.1109254, - -0.55415714, - -0.394067, - 0.077490255, - -0.40773046, - -0.74812007, - -1.193569, - -0.7072509, - -0.36638686, - -0.17159757, - -0.14971937, - -0.6244034, - -0.119113356, - -0.21199153, - -0.2541353, - -0.2191131, - -0.50598586, - 0.17245848, - -0.2366202, - -0.18771987, - 0.37898022, - 0.28042373, - 0.2717797, - 0.122348875, - 0.39617497, - -0.06481092, - -0.022873733, - 0.1521157, - 0.053760987, - -0.034688797, - -0.042496238, - -0.043555193, - 0.29743832, - 0.43255004, - 0.42602172, - 0.48185557, - -0.81570715, - -0.6617618, - -0.6599081, - -0.70841354, - -0.8294414, - -0.95597804, - -0.26273194, - -0.16866133, - -0.051828384, - -1.5949942, - -1.4609954, - -1.3508232, - -1.2714145, - -1.0882983, - -1.0135634, - -0.97444266, - -1.0386729, - -1.1160114, - -0.38917077, - -0.68252784, - -0.81502986, - -1.0525925, - -1.2842677, - -1.3900411, - -1.5385859, - -1.6558887, - -1.7548083, - 0.2859136, - 0.11464934, - -0.10615974, - -0.24869297, - -0.026943482, - -0.16050956, - 0.003822267, - -1.3040481, - -0.45888147, - -0.005225673, - -0.07897966, - -0.096989304, - 0.11940558, - -0.03861919, - 0.19188954, - 0.13217305, - 0.005889902, - 0.19765075, - 0.12536936, - 0.061372645, - -0.038426068, - -0.16943263, - -0.33494437, - -0.03988951, - -0.23146564, - -0.23847151, - -0.34549186, - -0.5156543, - -0.55446225, - -0.04667405, - 0.20588426, - 0.014874102, - -0.21005814, - -0.5101321, - -0.68738794, - -0.06840199, - 0.3398873, - 0.10147638, - -0.19386706, - -0.57075024, - -0.8194524, - -0.1598108, - 0.09557116, - 0.12369536, - 0.16280326, - 0.044825047, - -0.04495956, - 0.51594466, - 0.5252459, - 0.3358771, - 0.13836691, - -0.12408599, - -0.50142646, - 0.5094806, - 0.4697088, - 0.26585445, - 0.037076402, - -0.18924126, - -0.51414454, - -0.32696548, - -0.12461967, - -0.013332247, - -0.036217187, - -0.15959927, - -0.3613491, - 0.44501373, - 0.40111136, - 0.21700348, - -0.044546433, - -0.33224282, - -0.6270707, - 0.63026, - 0.50584644, - 0.28040072, - -0.010607446, - -0.3786559, - -0.7350688, - 0.020513538, - -0.06690713, - -0.20993479, - -0.009768924, - -0.12046202, - -0.20557337, - 0.12417806, - 0.15187474, - 0.22968265, - 0.31009275, - 0.19930157, - 0.027572945, - 0.45648748, - 0.19844691, - 0.025565842, - 0.1652578, - -0.008172838, - 0.1807195, - -0.0075867055, + 0.1730814, + 0.26563466, + -0.11170599, + -0.29506573, + -0.64366966, + -0.7772989, + -0.79660076, + 0.870168, + 0.7957991, + 0.91585034, + 0.6672817, + 0.7304677, + 0.7105901, + 1.6860034, + 1.3705877, + 1.3378723, + 1.1071669, + 1.158674, + 1.1230302, + 2.2301064, + 1.8232611, + 1.7859741, + 1.4975815, + 1.4163314, + 1.2857263, + -0.49255142, + -0.082054324, + -0.220771, + 0.4159075, + 0.54993993, + 0.22915919, + 0.5224877, + 0.69701403, + 0.73675287, + 1.1345043, + 1.2465392, + 1.3184255, + 0.41625333, + 0.559894, + 0.75471854, + 0.864746, + 0.95674604, + 1.0036399, + -0.13425077, + 0.15764953, + 0.4984106, + 0.6727274, + 0.86118686, + 0.9637714, + 0.21570744, + 0.30267155, + 0.4232579, + 0.787443, + 1.0828624, + 1.4584311, + 0.13648333, + -0.45135167, + -0.29326752, + -0.41293263, + -0.24134816, + 0.0501922, + 0.19575596, + 0.3918664, + 0.3460984, + 0.20543525, + -0.08277032, + -0.3843011, + 0.03399532, + 0.17114629, + 0.23398073, + 0.26585856, + 0.33844075, + 0.4043753, + 0.38683447, + 0.49805254, + 0.56691736, + 0.57013714, + 0.64075285, + 0.66776156, + -0.1638272, + 0.11927667, + 0.21579365, + 0.31448618, + 0.09412479, + 0.16575116, + 0.083222315, + 0.14722717, + 0.1344423, + 0.25051528, + 0.27925187, + 0.3149501, + 0.33441263, + 0.3441551, + 0.3768032, + 0.40751272, + 0.43741372, + 0.48513284, + 2.9874907, + 0.7215648, + 1.499098, + 0.34709588, + 1.1536146, + 0.12099836, + 0.5054637, + 0.7901751, + 0.9149692, + -0.048174232, + -0.16794504, + -0.22276972, + 0.49093348, + -0.028630497, + -0.1538538, + -0.26499328, + 0.76363885, + 0.8627449, + 1.1583817, + 0.86724377, + 0.16832519, + 0.3687503, + -0.10083284, + 0.6766557, + 0.13137697, + 0.25852773, + 0.5173911, + 0.30408272, + 0.64651144, + 0.18384431, + 0.48332143, + 0.48280692, + -0.59254974, + -0.36621788, + -0.31002477, + -0.39041135, + -0.46980077, + -0.1802053, + -0.22198606, + -0.16760024, + -0.0475237, + 0.04351324, + 0.054864895, + 0.073265485, + -0.53311497, + -0.58963734, + -0.8736524, + -0.65828955, + -0.1527693, + -0.05494403, + 0.33260068, + 0.92901057, + 0.92142993, + 1.1159312, + 1.3241165, + 0.80262303, + 0.63932663, + 0.7176378, + 0.92208487, + 0.9655828, + 0.9493975, + 1.0149096, + 1.0436254, + 1.0734868, + 1.1980888, + 1.2251261, + 1.066436, + 0.9194199, + 0.95987844, + 1.0127428, + 1.0088942, + 1.1777256, + 1.2813289, + 1.3311002, + 1.4607947, + -0.2709813, + -0.094418116, + 0.01216224, + 0.24838258, + 0.028937394, + 0.16834317, + 4.3619984e-5, + 1.49164, + 0.57939327, + 0.004437027, + 0.09400288, + 0.057059668, + -0.12243659, + 0.0340357, + -0.13787067, + -0.12894633, + 0.0054334905, + -0.43908882, + -0.30398467, + -0.20737663, + -0.021586362, + 0.22064675, + 0.49603504, + -0.026421454, + -0.020843972, + 0.0478636, + 0.2594682, + 0.48608446, + 0.6359211, + -0.04168573, + -0.6897961, + -0.2805804, + 0.18712604, + 0.7341914, + 1.0722402, + -0.03449627, + -0.85597557, + -0.40498143, + 0.1156725, + 0.72361857, + 1.1905326, + 0.074061535, + -0.15685867, + -0.14042749, + -0.13445278, + -0.08844165, + 0.15520333, + -0.9871013, + -0.87016577, + -0.47106683, + -0.053972803, + 0.41865072, + 0.83096963, + -1.0690311, + -0.8971061, + -0.45814747, + 0.026864234, + 0.5189549, + 1.0901514, + 0.33468828, + 0.00039086002, + -0.05617152, + 0.0294604, + 0.19599168, + 0.40880468, + -0.89795893, + -0.7676655, + -0.36352208, + 0.07616452, + 0.61238104, + 1.0279773, + -1.148504, + -0.8767683, + -0.4268549, + 0.12586893, + 0.7071995, + 1.2292124, + -0.053463724, + 0.043086074, + 0.2724902, + 0.030994752, + 0.05016064, + 0.16443707, + -0.066264234, + -0.055797976, + -0.06760891, + -0.33608308, + -0.32844922, + -0.21446128, + -0.6039311, + -0.73874235, + -0.33116138, + -0.31512138, + -0.328808, + -0.3189222, + 0.008264789, + 0.0015326263, + -0.006872382, + -0.0035781572, + 0.0023975773, + -0.0020184517, + -0.00068451837, + -0.0031730435, + 0.0038830638, + -0.0005412027, + 0.0021412876, + -0.0075254655, + -0.92916095, + -0.86724216, + -0.9370138, + -0.6597447, + -0.7382519, + -0.66191834, + -1.6697553, + -1.3994303, + -1.4130222, + -1.201336, + -1.2156229, + -1.1645591, + -2.2547154, + -1.880501, + -1.8110797, + -1.5351425, + -1.4929239, + -1.4227825, + 0.05438221, + -0.18195416, + -0.25130025, + -0.8135423, + -0.7105946, + -0.83978915, + -0.8602468, + -1.111761, + -1.2263906, + -1.4508262, + -1.5634112, + -1.6447325, + -0.8695868, + -1.1566824, + -1.1858983, + -1.2358909, + -1.3929551, + -1.486103, + 0.49866712, + -0.02888097, + -0.15882018, + -0.23796535, + -0.6974071, + -0.84748614, + -0.06256792, + -0.32408005, + -0.5247274, + -0.8312929, + -1.1198092, + -1.4119413, + -0.23296085, + -0.049941387, + -0.16816978, + 0.025153855, + -0.28513595, + -0.48183593, + -0.12978391, + -0.4257896, + -0.34089538, + -0.010488057, + -0.022182358, + 0.20917875, + -0.1024975, + -0.19190611, + -0.22864465, + -0.39939368, + -0.3588155, + -0.3955163, + -0.4754519, + -0.4668431, + -0.52155274, + -0.54632956, + -0.54834753, + -0.6205859, + 0.18323241, + -0.15085486, + -0.11664825, + -0.056656722, + -0.12767759, + -0.04264302, + -0.04297167, + -0.15703563, + -0.15114544, + -0.28386107, + -0.3152191, + -0.3206877, + -0.37433887, + -0.40607572, + -0.43417817, + -0.44135574, + -0.48027712, + -0.48737508, + -2.816753, + -0.42563778, + -1.6811943, + -0.120709196, + -1.0352321, + 0.30540407, + -0.39101318, + -0.83354527, + -0.9779629, + -0.09637714, + -0.037783656, + 0.22098851, + -0.72752875, + -0.17900029, + -0.04185798, + 0.28848088, + -0.67664725, + -1.0106764, + -1.4723246, + -0.9636491, + -0.40404838, + -0.17696281, + -0.15467632, + -0.6280253, + -0.13354507, + -0.223085, + -0.2692011, + -0.23932981, + -0.7672357, + -0.0752277, + -0.19085054, + -0.4383736, + 0.5430991, + 0.4388057, + 0.47482982, + 0.33126014, + 0.4632905, + -0.09150024, + -0.0038143138, + 0.094868094, + 0.050986215, + -0.024241474, + -0.057412833, + -0.034072414, + 0.49241105, + 0.62895614, + 0.68089026, + 0.6859121, + -0.23032233, + -0.21059494, + -0.30841246, + -0.3675658, + -0.5199664, + -1.0497074, + -0.6036893, + -0.29774997, + -0.09096874, + -0.872252, + -0.94873, + -0.98590523, + -1.0866662, + -1.0758313, + -1.0969905, + -1.189036, + -1.3849287, + -1.5557648, + -1.0050063, + -1.1099207, + -1.1673324, + -1.2467831, + -1.3384051, + -1.3739877, + -1.4067419, + -1.3814015, + -1.3974748, + 0.27276593, + 0.09600069, + -0.030775966, + -0.249467, + -0.030170716, + -0.16225256, + -0.014487147, + -1.5203397, + -0.45397562, + -0.0057847006, + -0.08007517, + -0.1029151, + 0.10904242, + -0.034411788, + 0.1934059, + 0.13828018, + 0.0028334782, + 0.4490759, + 0.28224647, + 0.12068915, + -0.10202324, + -0.35715637, + -0.64105403, + -0.02039494, + -0.0888748, + -0.16077757, + -0.3301056, + -0.552606, + -0.64918584, + -0.031051535, + 0.58716726, + 0.21072721, + -0.21143982, + -0.7036219, + -1.0686846, + -0.041222364, + 0.8216006, + 0.3641217, + -0.16824129, + -0.7789078, + -1.25146, + -0.11725593, + 0.2194666, + 0.2268241, + 0.25145838, + 0.10224341, + -0.05164368, + 0.80599445, + 0.7488174, + 0.39340362, + 0.031011622, + -0.4073196, + -0.93067276, + 0.9503214, + 0.7839322, + 0.36291957, + -0.09350058, + -0.5502975, + -1.0757438, + -0.24966477, + 0.014673387, + 0.0639066, + -0.0061592376, + -0.17178358, + -0.4002278, + 0.81826115, + 0.6948485, + 0.32962424, + -0.11489506, + -0.58230734, + -1.0449059, + 1.0567341, + 0.82709277, + 0.4006243, + -0.11111767, + -0.7071195, + -1.2800537, + 0.04274355, + -0.06531572, + -0.2742852, + 0.06636054, + -0.04671636, + -0.15702371, + 0.16498409, + 0.144754, + 0.14100622, + 0.3047246, + 0.1935475, + 0.005520845, + 0.46217027, + 0.15507345, + -0.03866886, + 0.2060667, + -0.012396932, + 0.1474373, + -0.0058266926, + 0.0066394918, + -0.0031571696, + -0.0045039677, + -0.0037830565, ]; #[allow(clippy::unreadable_literal)] diff --git a/src/evaluation/value_eval.rs b/src/evaluation/value_eval.rs index b76f9eb..f33043f 100644 --- a/src/evaluation/value_eval.rs +++ b/src/evaluation/value_eval.rs @@ -55,6 +55,22 @@ pub fn static_eval_game_phase( let mut white_flat_count = 0; let mut black_flat_count = 0; + let lowest_reserves_fraction = u8::min( + position.white_reserves_left() + position.white_caps_left(), + position.black_reserves_left() + position.black_caps_left(), + ) as f32 + / (starting_stones(S) + starting_capstones(S)) as f32; + + let opening_scale_factor = + f16::from_f32((2.0 * lowest_reserves_fraction - 1.0).clamp(0.0, 1.0)); + let endgame_scale_factor = + f16::from_f32((1.0 - (2.0 * lowest_reserves_fraction)).clamp(0.0, 1.0)); + + let middlegame_scale_factor = f16::ONE - opening_scale_factor - endgame_scale_factor; + + debug_assert!(middlegame_scale_factor <= f16::ONE); + debug_assert!(opening_scale_factor == f16::ZERO || endgame_scale_factor == f16::ZERO); + #[derive(Default, Clone, Copy, Debug)] struct StackData { shallow_supports: u8, @@ -97,43 +113,107 @@ pub fn static_eval_game_phase( match piece { WhiteFlat => { white_value.eval( - indexes.flat_psqt, + indexes.flat_psqt_opening, lookup_square_symmetries::(square), - f16::ONE, + opening_scale_factor, + ); + white_value.eval( + indexes.flat_psqt_middlegame, + lookup_square_symmetries::(square), + middlegame_scale_factor, + ); + white_value.eval( + indexes.flat_psqt_endgame, + lookup_square_symmetries::(square), + endgame_scale_factor, ); white_flat_count += 1; } BlackFlat => { black_value.eval( - indexes.flat_psqt, + indexes.flat_psqt_opening, lookup_square_symmetries::(square), - f16::ONE, + opening_scale_factor, + ); + black_value.eval( + indexes.flat_psqt_middlegame, + lookup_square_symmetries::(square), + middlegame_scale_factor, + ); + black_value.eval( + indexes.flat_psqt_endgame, + lookup_square_symmetries::(square), + endgame_scale_factor, ); black_flat_count += 1; } - WhiteWall => white_value.eval( - indexes.wall_psqt, - lookup_square_symmetries::(square), - f16::ONE, - ), - BlackWall => black_value.eval( - indexes.wall_psqt, - lookup_square_symmetries::(square), - f16::ONE, - ), + WhiteWall => { + white_value.eval( + indexes.wall_psqt_opening, + lookup_square_symmetries::(square), + opening_scale_factor, + ); + white_value.eval( + indexes.wall_psqt_middlegame, + lookup_square_symmetries::(square), + middlegame_scale_factor, + ); + white_value.eval( + indexes.wall_psqt_endgame, + lookup_square_symmetries::(square), + endgame_scale_factor, + ) + } + BlackWall => { + black_value.eval( + indexes.wall_psqt_opening, + lookup_square_symmetries::(square), + opening_scale_factor, + ); + black_value.eval( + indexes.wall_psqt_middlegame, + lookup_square_symmetries::(square), + middlegame_scale_factor, + ); + black_value.eval( + indexes.wall_psqt_endgame, + lookup_square_symmetries::(square), + endgame_scale_factor, + ) + } WhiteCap => { white_value.eval( - indexes.cap_psqt, + indexes.cap_psqt_opening, lookup_square_symmetries::(square), - f16::ONE, + opening_scale_factor, + ); + white_value.eval( + indexes.cap_psqt_middlegame, + lookup_square_symmetries::(square), + middlegame_scale_factor, + ); + white_value.eval( + indexes.cap_psqt_endgame, + lookup_square_symmetries::(square), + endgame_scale_factor, ); cap_activity::(position, square, white_value); } BlackCap => { black_value.eval( - indexes.cap_psqt, + indexes.cap_psqt_opening, lookup_square_symmetries::(square), - f16::ONE, + opening_scale_factor, + ); + black_value.eval( + indexes.cap_psqt_middlegame, + lookup_square_symmetries::(square), + middlegame_scale_factor, + ); + black_value.eval( + indexes.cap_psqt_endgame, + lookup_square_symmetries::(square), + endgame_scale_factor, ); cap_activity::(position, square, black_value); } @@ -226,14 +306,38 @@ pub fn static_eval_game_phase( ); value_for_stack.eval( - indexes.supports_psqt, + indexes.supports_psqt_opening, + lookup_square_symmetries::(square), + f16::from(data.deep_supports + data.shallow_supports) * opening_scale_factor, + ); + value_for_stack.eval( + indexes.supports_psqt_middlegame, + lookup_square_symmetries::(square), + f16::from(data.deep_supports + data.shallow_supports) * middlegame_scale_factor, + ); + value_for_stack.eval( + indexes.supports_psqt_endgame, + lookup_square_symmetries::(square), + f16::from(data.deep_supports + data.shallow_supports) * endgame_scale_factor, + ); + + value_for_stack.eval( + indexes.captives_psqt_opening, + lookup_square_symmetries::(square), + f16::from(-(data.deep_captives as i8) - data.shallow_captives as i8) + * opening_scale_factor, + ); + value_for_stack.eval( + indexes.captives_psqt_middlegame, lookup_square_symmetries::(square), - (data.deep_supports + data.shallow_supports).into(), + f16::from(-(data.deep_captives as i8) - data.shallow_captives as i8) + * middlegame_scale_factor, ); value_for_stack.eval( - indexes.captives_psqt, + indexes.captives_psqt_endgame, lookup_square_symmetries::(square), - (-(data.deep_captives as i8) - data.shallow_captives as i8).into(), + f16::from(-(data.deep_captives as i8) - data.shallow_captives as i8) + * endgame_scale_factor, ); } @@ -257,22 +361,6 @@ pub fn static_eval_game_phase( } } - let lowest_reserves_fraction = u8::min( - position.white_reserves_left() + position.white_caps_left(), - position.black_reserves_left() + position.black_caps_left(), - ) as f32 - / (starting_stones(S) + starting_capstones(S)) as f32; - - let opening_scale_factor = - f16::from_f32((2.0 * lowest_reserves_fraction - 1.0).clamp(0.0, 1.0)); - let endgame_scale_factor = - f16::from_f32((1.0 - (2.0 * lowest_reserves_fraction)).clamp(0.0, 1.0)); - - let middlegame_scale_factor = f16::ONE - opening_scale_factor - endgame_scale_factor; - - debug_assert!(middlegame_scale_factor <= f16::ONE); - debug_assert!(opening_scale_factor == f16::ZERO || endgame_scale_factor == f16::ZERO); - // Give the side to move a bonus/malus depending on flatstone lead let white_flatstone_lead = white_flat_count - black_flat_count; let black_flatstone_lead = black_flat_count - white_flat_count;