Commit 7c30091
Introduce ProbCut for check evasions
The idea of this patch can be described as follows: if we are in check
and the transposition table move is a capture that returns a value
far above beta, we can assume that the opponent just blundered a piece
by giving check, and we return the transposition table value. This is
similar to the usual probCut logic for quiet moves, but with a different
threshold.
Passed STC
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 33440 W: 3056 L: 2891 D: 27493
Ptnml(0-2): 110, 2338, 11672, 2477, 123
https://tests.stockfishchess.org/tests/view/602cd1087f517a561bc49bda
Passed LTC
LLR: 2.98 (-2.94,2.94) {0.25,1.25}
Total: 10072 W: 401 L: 309 D: 9362
Ptnml(0-2): 2, 288, 4365, 378, 3
https://tests.stockfishchess.org/tests/view/602ceea57f517a561bc49bf0
The committed version has an additional fix to never return unproven wins
in the tablebase range or the mate range. This fix passed tests for non-
regression at STC and LTC:
STC:
LLR: 2.93 (-2.94,2.94) {-1.25,0.25}
Total: 26240 W: 2354 L: 2280 D: 21606
Ptnml(0-2): 85, 1763, 9372, 1793, 107
https://tests.stockfishchess.org/tests/view/602d86a87f517a561bc49c7a
LTC:
LLR: 2.95 (-2.94,2.94) {-0.75,0.25}
Total: 35304 W: 1299 L: 1256 D: 32749
Ptnml(0-2): 14, 1095, 15395, 1130, 18
https://tests.stockfishchess.org/tests/view/602d98d17f517a561bc49c83
Closes #3362
Bench: 38302151 parent 6294db7 commit 7c30091
1 file changed
+26
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
969 | 969 | | |
970 | 970 | | |
971 | 971 | | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
972 | 989 | | |
973 | 990 | | |
974 | 991 | | |
| |||
985 | 1002 | | |
986 | 1003 | | |
987 | 1004 | | |
988 | | - | |
989 | 1005 | | |
990 | 1006 | | |
991 | 1007 | | |
992 | 1008 | | |
993 | | - | |
| 1009 | + | |
994 | 1010 | | |
995 | 1011 | | |
996 | 1012 | | |
| |||
1036 | 1052 | | |
1037 | 1053 | | |
1038 | 1054 | | |
1039 | | - | |
| 1055 | + | |
1040 | 1056 | | |
1041 | 1057 | | |
1042 | 1058 | | |
| |||
1084 | 1100 | | |
1085 | 1101 | | |
1086 | 1102 | | |
1087 | | - | |
| 1103 | + | |
1088 | 1104 | | |
1089 | 1105 | | |
1090 | 1106 | | |
| |||
1156 | 1172 | | |
1157 | 1173 | | |
1158 | 1174 | | |
1159 | | - | |
| 1175 | + | |
1160 | 1176 | | |
1161 | 1177 | | |
1162 | | - | |
| 1178 | + | |
1163 | 1179 | | |
1164 | 1180 | | |
1165 | 1181 | | |
| |||
1266 | 1282 | | |
1267 | 1283 | | |
1268 | 1284 | | |
1269 | | - | |
| 1285 | + | |
1270 | 1286 | | |
1271 | 1287 | | |
1272 | 1288 | | |
| |||
1293 | 1309 | | |
1294 | 1310 | | |
1295 | 1311 | | |
1296 | | - | |
| 1312 | + | |
1297 | 1313 | | |
1298 | 1314 | | |
1299 | 1315 | | |
1300 | 1316 | | |
1301 | | - | |
| 1317 | + | |
1302 | 1318 | | |
1303 | 1319 | | |
1304 | 1320 | | |
| |||
1375 | 1391 | | |
1376 | 1392 | | |
1377 | 1393 | | |
1378 | | - | |
| 1394 | + | |
1379 | 1395 | | |
1380 | 1396 | | |
1381 | 1397 | | |
| |||
0 commit comments