My scoring function looks like this now
Code: Select all
func (eng *Engine) Score() int32 {
outcome := endgame(eng.Position)
if outcome == draw {
return 0
}
score := Evaluate(eng.Position)
score *= eng.Position.Us().Multiplier()
if outcome == win {
score += 100
} else if outcome == loss {
score -= 100
}
return score
}
Unfortunately, it seems that having kpk doesn't improve playing strength at all:
STC
4930 @ 40/15+0.05
1619 - 1622 - 1689
ELO -0.21±7.86
Also, testing 500 5-men positions (from Kai) the improvement in number of nodes searched is slightly larger (bitbase: 70169326, master: 68455885).
Am I missing anything obvious in they way I use the kpk bitbase? Or is the bitbase worthless?
[1] https://bitbucket.org/brtzsnr/zurichess ... ew-default