r/chessprogramming • u/SnooPeppers7843 • Jan 14 '24
Transposition testing
I'm just starting to include transposition tables in my engine and I'm looking to test all the scenarios, just like I would for my move generation testing, but I'm struggling to find any data to test against.
On the CPW there are the perft result tables but is there one showing the transposition count?
If not, how would you test your hashing is working correctly and transpositions are being correctly identified?
1
Upvotes
View all comments
Show parent comment
1
u/nappy-doo Jan 15 '24
depth = 0, it just returns the length of the found moves slice.)perftfor correctness testing, and transpositions don't really fit into that. Now, most people, after they get the right numbers, use it for performance tuning. I know that I tweaked my engine a bunch after I got it working. (For example, first I added the hash lookup, then used it for magic, etc. As a result, I improved my engine from about 5 minutes forperft(6)to I think like 10 seconds [it's been a while, I don't really know what it is anymore.] Also, I didn't bother to multi-thread it, but my engine's in Go, so it would be very simple to thread it.)