Arasan test suite with minimal depth

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
op12no2
Posts: 349
Joined: Tue Feb 04, 2014 11:25 am
Location: Mumbles, Wales, UK.
Full name: Colin Jenkins
Contact:

Re: Arasan test suite with minimal depth

Post by op12no2 » Fri May 11, 2018 9:20 am

Dann Corbit wrote:
Thu May 10, 2018 6:53 pm
Grouped by 4, each position (of the 4) should have identical evaluation. If not, then there is an evaluation bug.
Found 2 bugs just now, trying that!

jdart
Posts: 3837
Joined: Fri Mar 10, 2006 4:23 am
Location: http://www.arasanchess.org

Re: Arasan test suite with minimal depth

Post by jdart » Fri May 11, 2018 1:53 pm

Micro-max has no hash table and no null move pruning.

I think with a hashtable, properly implemented PVS, and recursive null move, you should get >12 ply easily.

--Jon

User avatar
xr_a_y
Posts: 782
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: Arasan test suite with minimal depth

Post by xr_a_y » Fri May 11, 2018 2:02 pm

I think micromax has null move, hash table, ... but anyway, I get your point. Still looking for bugs :D

User avatar
xr_a_y
Posts: 782
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: Arasan test suite with minimal depth

Post by xr_a_y » Fri May 11, 2018 4:13 pm

xr_a_y wrote:
Fri May 11, 2018 4:57 am
Dann Corbit wrote:
Thu May 10, 2018 6:53 pm
Grouped by 4, each position (of the 4) should have identical evaluation. If not, then there is an evaluation bug.
Thanks I'll give it a shot today.
Cool, I found 3 little bugs in evaluation with this. Thanks a lot! now included in the unit test :-)

Dann Corbit
Posts: 10188
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: Arasan test suite with minimal depth

Post by Dann Corbit » Fri May 11, 2018 6:00 pm

Just writing a working chess program is quite an accomplishment.
I guess that you will have fun and progress quickly.
There are lots of experienced chess programmers who hang out in this forum and they can help you.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

zenpawn
Posts: 299
Joined: Sat Aug 06, 2016 6:31 pm
Location: United States

Re: Arasan test suite with minimal depth

Post by zenpawn » Fri May 11, 2018 7:59 pm

Dann Corbit wrote:
Thu May 10, 2018 6:53 pm
Grouped by 4, each position (of the 4) should have identical evaluation. If not, then there is an evaluation bug.
It looks like the castling rights aren't being adjusted on the color flips.
Erin Dame
Author of RookieMonster

Dann Corbit
Posts: 10188
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: Arasan test suite with minimal depth

Post by Dann Corbit » Sat May 12, 2018 12:32 am

zenpawn wrote:
Fri May 11, 2018 7:59 pm
Dann Corbit wrote:
Thu May 10, 2018 6:53 pm
Grouped by 4, each position (of the 4) should have identical evaluation. If not, then there is an evaluation bug.
It looks like the castling rights aren't being adjusted on the color flips.
Thanks for the bug report. I will look into it.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

flok

Re: Arasan test suite with minimal depth

Post by flok » Wed May 16, 2018 6:19 pm

Dann Corbit wrote:
Thu May 10, 2018 6:53 pm
Grouped by 4, each position (of the 4) should have identical evaluation. If not, then there is an evaluation bug.
But how do you handle PSQ? Because in http://chessprogramming.wikispaces.com/ ... n+function the queen PSQ is not symmetrical.

Dann Corbit
Posts: 10188
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: Arasan test suite with minimal depth

Post by Dann Corbit » Wed May 16, 2018 6:38 pm

In truth, all piece square tables should be non-symmetrical. I have some data used to make a piece square heat map, and not a single table is symmetrical.

So, if you have piece square tables coded that way, you can tell that they are the cause of the difference if you dump your eval term by term.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

flok

Re: Arasan test suite with minimal depth

Post by flok » Wed May 16, 2018 7:25 pm

Dann Corbit wrote:
Wed May 16, 2018 6:38 pm
In truth, all piece square tables should be non-symmetrical. I have some data used to make a piece square heat map, and not a single table is symmetrical.

So, if you have piece square tables coded that way, you can tell that they are the cause of the difference if you dump your eval term by term.
Ok. I was thinking that maybe the PSQ in the wiki was incorrect. Ok thanks.

But all other terms (like mobility) should be mirrorable, right?

Post Reply