Moderator: Andres Valverde
H.G.Muller wrote:Hmm, I usually want all pairings to start from the same position, e.g. to let every gauntlet opponent play a 20-game Nunn match.
It will be difficult to make PSWBTM randomly chose a game from the loadGameFile, as it does not know how many games are in it. It never eamines it by itslf, it just passes the file name and game number to winBoard. Of course the "rewind" input field of PSWBTM could be used by the user to tell how many games are in the file (or how many of the games you want it to use).
I guess we could ask Pradu for another tickbox, to ask for random selection of a game (or position) upto the maximum specified by the rewind parameter.
Gábor Szots wrote:H.G.Muller wrote:Hmm, I usually want all pairings to start from the same position, e.g. to let every gauntlet opponent play a 20-game Nunn match.
It will be difficult to make PSWBTM randomly chose a game from the loadGameFile, as it does not know how many games are in it. It never eamines it by itslf, it just passes the file name and game number to winBoard. Of course the "rewind" input field of PSWBTM could be used by the user to tell how many games are in the file (or how many of the games you want it to use).
I guess we could ask Pradu for another tickbox, to ask for random selection of a game (or position) upto the maximum specified by the rewind parameter.
Thanks for the reply. However, I provide PSWBTM with a file containing enough games for the gauntlet, e.g. 320 games if I want to play a 10-opponent gauntlet with 32 games against each. This file already contains random games. All PSWBTM has to do is tell WinBoard to increment the game counter each time it starts a new game.
Note that if I want to make a really random selection I will have to provide a very large file else all openings will be chosen from a limited number of samples. E.g. if I provide a file of 1000 games there will be duplicates for sure in a 200-game gauntlet, while if I provide an already random file all openings will be unique.
Best regards,
F. Bluemers wrote:Hi Gabor,
I never had this problem,
maybe you have accidently activated "rewind" in the "new tournament " screen?
Best
Fonzy
F. Bluemers wrote:Hi Gabor,
I never had this problem,
maybe you have accidently activated "rewind" in the "new tournament " screen?
Best
Fonzy
H.G.Muller wrote:F. Bluemers wrote:Hi Gabor,
I never had this problem,
maybe you have accidently activated "rewind" in the "new tournament " screen?
Best
Fonzy
How can you never have had this problem? (which for me is not a problem ata all, but eactly what want.) Has PSWBTM been changed since I started using it? Initially I always played Nunn matchs from a file of 20 games, in gauntlets woth 20 games per pairing. And I never ran out of games, all Nunn positions were played by each engine.
But this was before the rewind parameter was added to PSWBTM (at my request). Perhaps since this parameter was added, PSWBTM never rewinds, not even between pairings, unless you reach the specified count? I guess thi would work, one can always acheive what I want by setting the rewind xactly to the number of games in a pairing.
One thing I now for sure: if you set the rewind to a value larger than the number of positions, as soon as you get to a position that does not exist in the file, WinBoard fails to start, and the tourney pauses.
Hi Gabor. It was quite a while ago and I remember working on it but I don't remember if I fixed it or not. Here's a debugging compile of PSWBTM:Gábor Szots wrote:Hello,
It's been some time that we were talking about PSWBTM starting with the same game of the opening game file for each pairing in a gauntlet (in fact now I am not sure that was the issue...). Has it been fixed? I'd gladly use WinBoard for my gauntlets among WB compatible engines but I'd like to see random opening choice.
Cheers,
True, you must have enough games in the PGN or you must set the rewind parameter less than or equal to the number of positions in the PGN. This is bad by design (PSWBTM should check for the number of positions in the FEN/EPD/PGN file and make sure the user doesn't input a number greater than this) but I was lazy .H.G.Muller wrote:One thing I now for sure: if you set the rewind to a value larger than the number of positions, as soon as you get to a position that does not exist in the file, WinBoard fails to start, and the tourney pauses.
Pradu wrote:In the details tab it will say what parameters it sends to Winboard. Please let me know if you find a problem with this PSWBTM.
Gábor Szots wrote:I have just run a small test gauntlet which I stopped after 6 games because of a problem with one of the engines.
It seems to me that PSWBTM sends "-lgi 1" to WB which makes it start with game 1 for each pairing. The rewind box was unticked.
H.G.Muller wrote:Gábor Szots wrote:I have just run a small test gauntlet which I stopped after 6 games because of a problem with one of the engines.
It seems to me that PSWBTM sends "-lgi 1" to WB which makes it start with game 1 for each pairing. The rewind box was unticked.
This is also how it behaves with me, and how I always thought it was supposed to behave. (Remember that originally, the "rewind" parameter was not implemented.)
But I agree that now te "rewind" option exists, it would be much more versatile to simply continuing incrementng the loadGameIndex across pairings, and only reset it when the "rewind" value gets exceeded. This still would allow you to simulate the original mode, by putting the rewind equal to the number of games per pairing (or half that if you play each position twice).
Question to Pradu:
Why are you specifying the -xreuse ? If you play a match of only one game, it should not have any effect if you reuse the engine process or terminate it, as there is never a second use.
Second request:
Could you replace the "-mg 1" by "-mm"? This has the same effect, (putting WinBoard in matchMode with 1 game per match), but would allow the user to overrule the number of matchGames in the .ini, and is thus more versatile.
Why are you specifying the -xreuse ? If you play a match of only one game, it should not have any effect if you reuse the engine process or terminate it, as there is never a second use.
I thought I had done this already but I guess I didn't. I'll change it to use -mm.Could you replace the "-mg 1" by "-mm"? This has the same effect, (putting WinBoard in matchMode with 1 game per match), but would allow the user to overrule the number of matchGames in the .ini, and is thus more versatile.
This is the intended behavior. I believe that if you use a PGN/FEN/EPD for starting positions, you are trying to create a test that is a bit more deterministic. If so, then for all pairings you should use the same starting positions.Gábor Szots wrote:It seems to me that PSWBTM sends "-lgi 1" to WB which makes it start with game 1 for each pairing.
Pradu wrote:This is the intended behavior. I believe that if you use a PGN/FEN/EPD for starting positions, you are trying to create a test that is a bit more deterministic. If so, then for all pairings you should use the same starting positions.Gábor Szots wrote:It seems to me that PSWBTM sends "-lgi 1" to WB which makes it start with game 1 for each pairing.
[b]Opponent Games
Match 1 Hiarcs Positions 1-10
Match 2 Chess Tiger Positions 11-20
Match 3 Deep Shredder Positions 21-30
Match 4 Deep Junior UCI Positions 31-40
Match 5 Fruit Positions 41-50[/b]
Roger Brown wrote:
- Code: Select all
[b]Opponent Games
Match 1 Hiarcs Positions 1-10
Match 2 Chess Tiger Positions 11-20
Match 3 Deep Shredder Positions 21-30
Match 4 Deep Junior UCI Positions 31-40
Match 5 Fruit Positions 41-50[/b]
Hello Pradu, H.G.,
Above is a tournament which I wish to play.
Can it be done exactly this way using Winboard with/without PSWBTM?
Any answer would be appreciated.
Later.
FOR %%P IN (1,2,3,4,5,6,7,8,9,10) DO start /w winboard.exe /mg=2 /tc=5 /mps=40 /debug /nameOfDebugFile M%%PKtulu_75-Rybka10b-32_GS34a.deb /autoCallFlag true /ponderNextMove false /cp /lgf GS34.pgn /lgi %%P /fcp=Ktulu_75.exe /fd=C:\WB\General\Ktulu_75 /scp=Rybka_10b-32.exe /sd=C:\WB\General\Rybka_10b-32 /sgf=.\Test\Ktulu_75-Rybka_10b-32_GS34a.pgn
FOR %%P IN (11,12,13,14,15,16,17,18,19,20) DO start /w winboard.exe /mg=2 /tc=5 /mps=40 /debug /nameOfDebugFile M%%PKtulu_75-Rybka10b-32_GS34b.deb /autoCallFlag true /ponderNextMove false /cp /lgf GS34.pgn /lgi %%P /fcp=Ktulu_75.exe /fd=C:\WB\General\Ktulu_75 /scp=Rybka_10b-32.exe /sd=C:\WB\General\Rybka_10b-32 /sgf=.\Test\Ktulu_75-Rybka_10b-32_GS34b.pgn
Pradu wrote:This is the intended behavior. I believe that if you use a PGN/FEN/EPD for starting positions, you are trying to create a test that is a bit more deterministic. If so, then for all pairings you should use the same starting positions.Gábor Szots wrote:It seems to me that PSWBTM sends "-lgi 1" to WB which makes it start with game 1 for each pairing.
Return to Winboard and related Topics
Users browsing this forum: No registered users and 27 guests