official-stockfish/Stockfish — pull request #98 by lucasart (2014-11-06 10:11:04+00:00)
Title: Apply King Safety later in the endgame

Based on this discussion:
https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/2FPhgpHtefQ

Idea is to apply king safety later in the endgame. Previously, we didn't apply KS in a
RR vs. Q ending for example, which causes poor play. Now we calculate king attacks
when the attacking side has a queen or more.

passed STC:

LLR: 3.06 (-2.94,2.94) [0.00,4.00]
Total: 38481 W: 6228 L: 5952 D: 26301

and LTC:

LLR: 2.95 (-2.94,2.94) [0.00,4.00]
Total: 51053 W: 8670 L: 8353 D: 34030

bench 7119712