mcostalba/Stockfish — pull request #22 by RyanTaker (2012-08-31 23:23:40+00:00)
Title: Improved View of the 7th Rank

In the old version of evaluate.cpp, the 7th rank bonus was based on the sheer fact of the rook's position and the king's.

My revision devised this bonus into two parts. I kept the old bonus, but lowered it by a large margin. It also gives a bonus based on the amount of pawns on the rook's rank.

This change is based on the idea that a rook on the 7'th rank is useless (or next to) unless there are pawns on that rank.

Testing
----------------
I do not have any tests right now, but I tested in two fragments to give me a good idea that it will yield an 80 point bonus... here is hoping.

A test is being started with 4 mins per 40 moves (Ponder OFF).