"""Evaluation tuning tables (MG/EG packed scores).""" TEMPO = 20 SCALE_DRAW = 0 SCALE_OCB_BISHOPS_ONLY = 64 SCALE_OCB_ONE_KNIGHT = 106 SCALE_OCB_ONE_ROOK = 96 SCALE_LONE_QUEEN = 88 SCALE_NORMAL = 128 SCALE_LARGE_PAWN_ADV = 144 BishopBehindPawn = 1572868 BishopLongDiagonal = 1310746 BishopMobility = [4282843037, 4286906322, 4291493872, 4294115324, 65542, 1310734, 2293777, 2555923, 3211283, 3145755, 3145754, 2097204, 3080247, 131155] BishopOutpost = [[4293918736, 4294770738], [4294377481, 4294770684]] BishopPSQT = [4293591045, 65537, 393215, 327681, 524290, 4294901754, 65536, 4293328900, 4293853210, 4292935682, 4294836239, 524296, 524296, 4294770701, 4292935689, 4293066778, 196617, 589846, 4294836219, 1245202, 1310737, 4294639611, 262164, 524303, 786432, 1114122, 2097169, 2097172, 2228248, 1966092, 1114127, 917504, 2293740, 2031629, 2490369, 2949141, 3014668, 2490374, 2162701, 2490354, 2097139, 3014645, 1572857, 2621442, 2490376, 2293739, 3080187, 2359287, 2555845, 1507279, 2031603, 2424797, 2424799, 2228211, 1441724, 2359241, 1245118, 2424767, 3211141, 3735445, 3538832, 2883487, 1507295, 1048502] BishopPair = 5767190 BishopRammedPawns = 4293918712 BishopValue = 33423801 ClosednessKnightAdjustment = [720889, 1966073, 2490359, 2490363, 2949117, 2424831, 2162689, 3407862, 2031609] ClosednessRookAdjustment = [2818090, 5308410, 3866627, 3145723, 2752505, 1572861, 786426, 786415, 4294246366] ComplexityAdjustment = 4284678144 ComplexityPawnEndgame = 4980736 ComplexityPawnFlanks = 5373952 ComplexityTotalPawns = 524288 KingDefenders = [4294836187, 196591, 393216, 524299, 524309, 32, 4294049830, 4294639626, 393228, 393228, 393228, 393228] KingPSQT = [4289921111, 4291756099, 4294508548, 4293328887, 4293263350, 4294967288, 4291690553, 4289593423, 196643, 4294836197, 1114071, 1965991, 1769408, 1900480, 4294836199, 4294705182, 4293787604, 4293787632, 458780, 2293760, 2097170, 589855, 4293853171, 4294180828, 4292149200, 4292411490, 786503, 3014634, 2686988, 655439, 4292739187, 4292542405, 4294377466, 4292411487, 917543, 1245135, 1310693, 917539, 4292739153, 4294180814, 4292411416, 4293525627, 4294901865, 4293656554, 4293722073, 4293984330, 4293460068, 4291821551, 4288544768, 4293591068, 4293787655, 4292345853, 4292476871, 4293263372, 4293394454, 4287234033, 4285005808, 4288806961, 4290248683, 4292935661, 4291428301, 4290969558, 4288872501, 4286316486] KingPawnFileProximity = [3014692, 2031638, 983053, 4293591032, 4290969595, 4290117629, 4289724401, 4290117620] KingShelter = [[[4294705147, 4292935697, 4294770714, 524312, 65540, 327668, 4292870128, 1638341], [4294574091, 4293984259, 4294901755, 4294705157, 524277, 4653003, 5374033, 131053], [4294770726, 4294574085, 393182, 4294049775, 4294705143, 851942, 4784139, 4294967280], [720914, 4293787673, 4294049792, 4293591050, 4292739094, 655312, 3276660, 4294705147], [1048565, 4294770689, 458708, 720868, 4294901736, 4294705117, 4293394472, 262131], [4294049843, 4294049807, 393192, 4293722102, 4292739082, 4293656610, 4292476976, 131051], [4293853224, 4293394434, 4294967265, 4294508520, 196577, 1966060, 3211268, 262128], [4293656586, 4293394436, 131082, 1048578, 1638390, 2949110, 5373768, 1179631]], [[0, 4292476913, 4293066761, 982991, 458716, 3342328, 4294836056, 1310661], [0, 4293787665, 4294246409, 4294705141, 4293459967, 4784154, 327494, 786400], [0, 4294377491, 4294246401, 4293263369, 4294639644, 3735460, 4290183080, 131064], [0, 196608, 4294639610, 720861, 917458, 2228126, 4292083705, 4294705117], [0, 4294770700, 4293984273, 4293984273, 4294115323, 393180, 4291624859, 4294967278], [0, 4294705144, 131050, 4294639600, 4293525529, 720869, 2555956, 4294901746], [0, 4293525536, 4293984275, 4294639607, 917475, 1572857, 4292476878, 1245157], [0, 4291231760, 4292870161, 4294574062, 1638369, 1638389, 4291821343, 393186]]] KingStorm = [[[2424826, 4294705296, 1769459, 131065, 4294836212, 4294574072, 589805, 4294901732], [3997679, 1114176, 1441783, 786440, 589827, 4294836230, 196603, 589808], [3145730, 1966095, 1376239, 720883, 458751, 196615, 4294508552, 524295], [1703935, 1441807, 720865, 131050, 327665, 4294311949, 4294639619, 589804]], [[0, 4293984238, 4294901742, 4293394459, 4294574090, 4293394447, 655354, 1966089], [0, 4292280305, 4294049789, 4293853237, 4294639631, 4293132308, 4293918708, 393182], [0, 4290969566, 4294180849, 4294574089, 4294836230, 4293918718, 4293656571, 262141], [0, 4293328895, 4293787621, 327659, 4294639606, 4292673543, 4293066818, 1638411]]] KingValue = 0 KnightBehindPawn = 1835011 KnightInSiberia = [4294639607, 4293722100, 4293722085, 4293787601] KnightMobility = [4285923224, 4287561683, 4292607978, 262136, 983046, 2228235, 2490387, 2424862, 1114155] KnightOutpost = [[4292870156, 40], [4293394439, 4294770709]] KnightPSQT = [4292542433, 4293459962, 4293591020, 4294967280, 4294967285, 4293787626, 4293722104, 4293066711, 4294639617, 262133, 4293787642, 4294901759, 0, 4293984247, 4294836216, 131066, 4293591047, 4294639624, 131079, 1245194, 1245194, 131076, 4294705160, 4293722115, 1376272, 1966097, 2686999, 3276827, 3473432, 2686999, 1835027, 1703949, 1966093, 1966103, 3342373, 4587550, 4390938, 3276838, 2162710, 1835022, 1703912, 2490363, 3670041, 3932182, 3604507, 3604509, 2162687, 1703917, 4294836237, 1245173, 4294836251, 1572901, 1572905, 4294508584, 1114099, 4294836226, 4294704985, 851877, 2752395, 1179610, 1310702, 3211159, 1638281, 4293918555] KnightValue = 31130026 PassedEnemyDistance = [0, 4294901765, 7, 720905, 1638400, 2424833, 2424848, 0] PassedFriendlyDistance = [0, 131069, 4294705152, 4294115333, 4293722118, 4293787639, 4294574071, 0] PassedPawn = [[[0, 4294770649, 1703893, 1900482, 1245192, 4294705249, 3014818, 0], [0, 917476, 2818008, 2949064, 3735550, 3539058, 6160577, 0]], [[0, 1966052, 2424785, 3604420, 4259848, 4980842, 8126722, 0], [0, 1572836, 2359256, 3997641, 5832712, 10879071, 19202172, 0]]] PassedSafePromotionPath = 3801039 PawnBackwards = [[0, 4294508544, 4294508551, 4293787654, 4293132284, 0, 0, 0], [0, 4292935671, 4293066747, 4292935683, 4292280349, 0, 0, 0]] PawnCandidatePasser = [[0, 4293853173, 1245168, 1966062, 4063210, 3866645, 0, 0], [0, 1441780, 1835001, 3473410, 7602198, 5111857, 0, 0]] PawnConnected32 = [0, 0, 0, 0, 4294311935, 4294705164, 4294836224, 524294, 14, 4294574100, 196627, 524305, 4294901766, 65556, 196614, 655374, 917512, 1114133, 1507359, 1179673, 2621485, 4194340, 4849722, 5767232, 2293868, 2949334, 4587736, 3997929, 0, 0, 0, 0] PawnIsolated = [4294246387, 4293984255, 4293918721, 4293787651, 4293722119, 4293984259, 4294115324, 4293918716] PawnPSQT = [0, 0, 0, 0, 0, 0, 0, 0, 524275, 65532, 262145, 65542, 655363, 327671, 262135, 524272, 393195, 458735, 4294639615, 4294049804, 4294311944, 4294705148, 524273, 786408, 1114098, 1179627, 4294311945, 4293394442, 4293525508, 4294311940, 1179628, 1245167, 1245169, 786414, 4294508528, 4293001220, 4293459966, 4294442990, 917481, 1441775, 3211244, 2949111, 2031617, 4294377489, 4294574116, 2097143, 3014650, 3276777, 4290445279, 4294442942, 4293591024, 4293460033, 4293787689, 4294049831, 327633, 4291690434, 0, 0, 0, 0, 0, 0, 0, 0] PawnStacked = [[4293066762, 4293328894, 4293459968, 4293656576, 4293656579, 4293263365, 4293001220, 4292935688], [4294049795, 4293984256, 4294443002, 4294377465, 4294443004, 4294377470, 4294115328, 4293853184]] PawnValue = 9437266 QueenMobility = [4277141393, 4268752643, 4280090497, 4279566290, 4283695084, 4289396727, 4292739071, 4294901762, 524296, 2031626, 2424847, 3604497, 3014676, 3735575, 3801110, 4194325, 4063256, 4259856, 4128781, 3145746, 1966105, 524326, 4294180898, 4293066780, 4292083722, 4289789959, 4293066710, 4291756009] QueenPSQT = [4292739092, 4293263364, 4292739081, 4293918737, 4293787666, 4291952654, 4293132297, 4292083734, 4293984262, 4293525519, 4292214806, 131085, 17, 4291756054, 4293066770, 4293787651, 4294901766, 458773, 2293765, 2228224, 2228226, 2424837, 589848, 4293984269, 1114121, 3014668, 3932154, 7208941, 7012335, 3801084, 3145746, 2162696, 2818038, 5242872, 4390893, 7995360, 8388576, 5308393, 6291448, 4521974, 3735524, 3342313, 4390879, 4653038, 4718575, 4194285, 4325358, 5046244, 4063216, 7143352, 4325357, 7536588, 7929802, 3932146, 7667643, 4849653, 2818056, 3080211, 5177344, 5111811, 5898237, 4259853, 5177362, 3670037] QueenRelativePin = 4294180842 QueenValue = 106366220 RookFile = [589834, 524322] RookMobility = [4285333377, 4286709704, 4289462247, 4293197812, 196598, 1834996, 2818037, 3080188, 3407876, 3604489, 4194315, 4456467, 4784147, 3932197, 983137] RookOnSeventh = 2818047 RookPSQT = [4294967270, 262123, 327666, 4294770682, 4294770683, 262134, 4294901747, 4294115306, 393146, 4294377447, 4294574062, 4294311925, 4294180855, 4294049777, 4293918705, 262067, 262105, 983024, 655335, 196594, 262132, 589799, 655356, 131033, 1638368, 2424811, 2424811, 1769467, 1835000, 2293741, 2228211, 1638370, 3080170, 2490372, 2490384, 1966115, 2097185, 2359306, 2031633, 2883570, 3997663, 2686993, 3538944, 2359329, 2293789, 3407875, 2097185, 3735526, 2752494, 3145704, 2555903, 2490383, 2424846, 2424830, 3276776, 2555892, 3604513, 4128792, 4849663, 4325385, 4390922, 4521984, 3866658, 3670053] RookValue = 52626035 SafetyAdjustment = 4293328822 SafetyAttackValue = 2228269 SafetyBishopWeight = 2293784 SafetyKnightWeight = 2687024 SafetyNoEnemyQueens = 4278058771 SafetyQueenWeight = 393246 SafetyRookWeight = 524324 SafetySafeBishopCheck = 3866683 SafetySafeKnightCheck = 7667824 SafetySafeQueenCheck = 5439581 SafetySafeRookCheck = 6422618 SafetyShelter = [[524286, 917503, 524288, 458756, 131078, 65535, 2, 4294115328], [0, 917502, 655358, 327684, 65539, 65533, 65534, 4294443007]] SafetyStorm = [[4294967292, 262136, 327680, 4294901761, 393219, 1376254, 1245182, 4294180866], [0, 1, 327679, 0, 327680, 131071, 1, 1]] SafetyWeakSquares = 2687018 SpaceCenterControl = 3 SpaceRestrictEmpty = 4294901756 SpaceRestrictPiece = 4294967292 ThreatByPawnPush = 2097167 ThreatMinorAttackedByKing = 4293656533 ThreatMinorAttackedByMajor = 4291428322 ThreatMinorAttackedByMinor = 4292083687 ThreatMinorAttackedByPawn = 4289593289 ThreatOverloadedPieces = 4293984249 ThreatQueenAttackedByOne = 4294574030 ThreatRookAttackedByKing = 4293853151 ThreatRookAttackedByLesser = 4293197776 ThreatWeakPawn = 4292542453