On August 16, 2022 at 1:06:07 AM UTC-6, Axel Reichert wrote:
I have done so about two years back in a different context.
No need to program a single line, just have GNU Backgammon
play itself, say, "Expert" against "Beginner". And since "Beginner"
is still far better than "Random", set the "noise" ("Advanced
Options") to 1, the maximum value. Have fun watching!
But it seems (also for "random" checker play) that a noise
value of 1 is not enough and does not result in completely
random play, be it cube or checkers.
So, with this understanding, I decided to run some quick and
dirty experiments which would be better than nothing and, in
fact, would serve my purpose almost just as well by allowing
me to compare cube error rates with actual win rates.
In CLI mode, Gnubg can run a session without further human
interaction but then you can't stop it reliably without losing an
entire session. If you can though, you can save it in SGF format
and print out statistics, etc.
In GUI mode, it asks you to press "OK" after each game, which
I solved by creating a tiny program to keep sending it "ENTER"
automatically for a set number of times, i.e. 100, 500, 1000, so
that I could walk away from it and later save the sessions in
manageable size files.
I set one player to Grandmaster checker and cube, one player
to Grandmaster checker and cube level to below beginner with
maximum noise. After letting it run for a dozen games, I checked
the stats to see how things were going. What did I see..? This..!
===================================================
gnubg random
Chequer Play Statistics:
Total moves 254 254
Unforced moves 219 221
Unmarked moves 254 254
Moves marked doubtful 0 0
Moves marked bad 0 0
Moves marked very bad 0 0
Error total EMG (Points) -0.000 ( -0.000) -0.000 ( -0.000)
Error rate mEMG (Points) -0.0 ( -0.000) -0.0 ( -0.000)
Chequerplay rating Supernatural Supernatural
Cube Statistics:
Total cube decisions 81 98
Close or actual cube decisions 24 37
Doubles 4 10
Takes 1 7
Passes 3 3
Missed doubles below CP (EMG (Points)) 0 0
Missed doubles above CP (EMG (Points)) 0 0
Wrong doubles below DP (EMG (Points)) 2 (-2.602 ( -6.559)) 7 (-3.566 ( -3.566))
Wrong doubles above TG (EMG (Points)) 2 (-0.567 ( -1.082)) 0
Wrong takes (EMG (Points)) 0 0
Wrong passes (EMG (Points)) 0 1 (-1.663 ( -3.327))
Error total EMG (Points) -3.169 ( -7.641) -5.229 ( -6.893)
Error rate mEMG (Points) -132.0 ( -0.318) -141.3 ( -0.186)
Cube decision rating Awful! Awful! ===================================================
Whaah!? However, if you set both players to preset/default levels
without fiddling with noise, etc. it works as expected, like this:
===================================================
gnubg random
Chequer Play Statistics:
Total moves 180 178
Unforced moves 141 151
Unmarked moves 180 178
Moves marked doubtful 0 0
Moves marked bad 0 0
Moves marked very bad 0 0
Error total EMG (Points) -0.000 ( -0.000) -0.000 ( -0.000)
Error rate mEMG (Points) -0.0 ( -0.000) -0.0 ( -0.000)
Chequerplay rating Supernatural Supernatural
Cube Statistics:
Total cube decisions 48 55
Close or actual cube decisions 28 25
Doubles 7 7
Takes 3 6
Passes 4 1
Missed doubles below CP (EMG (Points)) 0 0
Missed doubles above CP (EMG (Points)) 0 0
Wrong doubles below DP (EMG (Points)) 0 0
Wrong doubles above TG (EMG (Points)) 0 0
Wrong takes (EMG (Points)) 0 0
Wrong passes (EMG (Points)) 0 0
Error total EMG (Points) -0.000 ( -0.000) -0.000 ( -0.000)
Error rate mEMG (Points) -0.0 ( -0.000) -0.0 ( -0.000)
Cube decision rating Supernatural Supernatural ===================================================
Apparently, it applies the noise selection to both players even if
the settings panel shows everything as selected. So, you end up
with a weird combination of Grandmaster cube with maximum
noise which is also "Awful!" but less "Awful!" than Beginner cube
with maximum noise... :)
How can you guys ever trust these pieces of garbage bots with
anything is simply beyond me. You must be some pious, devout
believer sorts of "bot fearing folks"... ;)
And what about XG..? With XG you can't even begin to try running
such experiments because it doesn't allow you to select separate
checker and cube levels for the players.
Why would you want to do such things anyway, right? Just learn
what the good bot teaches you...
I must admit I often envy you folks. No brains, no headaches. :)
Well, okay, I'll compromise. Lesser brains, milder headaches...
MK
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)