I'm trying to test some modified piece values for Bihasa 2.3 in the game of Gothic Chess in Cutechess 0.9.4 and while everything loads correctly etc the games ar enot being played correctly.
I'm setting a new tournament between Bihasa 2.3 with default values and Bihasa 2.3 on another folder with modified values , choose to play from a PGN with 25 games(openings), choose 50 rounds, and play each opening twice, choose variant gothic and time control 1 second per move.
I run it but the engines don't play as intended and lose on time every game! In the older cutechess-cli 0.40 the engines play just fine.
Why is that??
EDIT:
Same happens with other engines in other variants.
Here is the PGN output(for another tournament with 2 seconds per move where still the loses on time occur again):
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "1"]
[White "bihasa32"]
[Black "bihasa32mod"]
[Result "0-1"]
[PlyCount "18"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} f5 {book} 2. Nh3 {book} Nc6 {book} 3. g3 {book} d5 {book}
4. d4 {book} g6 {book} 5. c3 {book} Nh6 {book} 6. Bf3 {book} Bg7 {book}
7. Af2 {book} Af6 {book} 8. Cg2 {book} O-O {book} 9. e3 {book}
i6 {book, White loses on time} 0-1
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "2"]
[White "bihasa32mod"]
[Black "bihasa32"]
[Result "0-1"]
[PlyCount "4"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} d5 {book} 2. Nh3 {book} f5 {book, White loses on time} 0-1
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "3"]
[White "bihasa32"]
[Black "bihasa32mod"]
[Result "0-1"]
[PlyCount "4"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. d4 {book} f5 {book} 2. Nh3 {book} d5 {book, White loses on time} 0-1
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "4"]
[White "bihasa32mod"]
[Black "bihasa32"]
[Result "1-0"]
[PlyCount "3"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. c4 {book} f5 {book} 2. Nc3 {book, Black loses on time} 1-0
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "5"]
[White "bihasa32"]
[Black "bihasa32mod"]
[Result "0-1"]
[PlyCount "16"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} d5 {book} 2. g3 {book} Nh6 {book} 3. h3 {book} f5 {book}
4. Nj3 {book} Nc6 {book} 5. c3 {book} g6 {book} 6. Ah2 {book} e5 {+1.32/13 2.0s}
7. i3 {-1.20/11 2.0s} Bf6 {+1.20/13 2.0s} 8. fxe5 {-1.00/13 2.0s}
Nxe5 {+1.12/13 2.0s, White loses on time} 0-1
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "6"]
[White "bihasa32mod"]
[Black "bihasa32"]
[Result "1-0"]
[PlyCount "9"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} f5 {book} 2. d4 {book} g6 {book} 3. c3 {book} Nh6 {+0.04/13 2.0s}
4. Nd2 {-0.04/12 2.0s} d5 {+0.04/13 2.0s}
5. Nh3 {-0.08/13 2.0s, Black loses on time} 1-0
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "7"]
[White "bihasa32"]
[Black "bihasa32mod"]
[Result "1-0"]
[PlyCount "3"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} Nh6 {book} 2. d4 {book, Black loses on time} 1-0
Cutechess tournament with Bihasa problem losing on time .
Moderators: hgm, Rebel, chrisw
-
- Posts: 1627
- Joined: Thu Mar 09, 2006 12:35 pm
Cutechess tournament with Bihasa problem losing on time .
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
"Is it a boy or girl?"
YES! He replied.....
-
- Posts: 4840
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Cutechess tournament with Bihasa problem losing on time
Just add time margin of say 5ms or so in Time Control. I noticed this problem on my other engines too, I failed to reserve a small margin of time before sending the move. I have not checked the code yet.George Tsavdaris wrote:I'm trying to test some modified piece values for Bihasa 2.3 in the game of Gothic Chess in Cutechess 0.9.4 and while everything loads correctly etc the games ar enot being played correctly.
I'm setting a new tournament between Bihasa 2.3 with default values and Bihasa 2.3 on another folder with modified values , choose to play from a PGN with 25 games(openings), choose 50 rounds, and play each opening twice, choose variant gothic and time control 1 second per move.
I run it but the engines don't play as intended and lose on time every game! In the older cutechess-cli 0.40 the engines play just fine.
Why is that??
EDIT:
Same happens with other engines in other variants.
Here is the PGN output(for another tournament with 2 seconds per move where still the loses on time occur again):
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "1"]
[White "bihasa32"]
[Black "bihasa32mod"]
[Result "0-1"]
[PlyCount "18"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} f5 {book} 2. Nh3 {book} Nc6 {book} 3. g3 {book} d5 {book}
4. d4 {book} g6 {book} 5. c3 {book} Nh6 {book} 6. Bf3 {book} Bg7 {book}
7. Af2 {book} Af6 {book} 8. Cg2 {book} O-O {book} 9. e3 {book}
i6 {book, White loses on time} 0-1
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "2"]
[White "bihasa32mod"]
[Black "bihasa32"]
[Result "0-1"]
[PlyCount "4"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} d5 {book} 2. Nh3 {book} f5 {book, White loses on time} 0-1
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "3"]
[White "bihasa32"]
[Black "bihasa32mod"]
[Result "0-1"]
[PlyCount "4"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. d4 {book} f5 {book} 2. Nh3 {book} d5 {book, White loses on time} 0-1
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "4"]
[White "bihasa32mod"]
[Black "bihasa32"]
[Result "1-0"]
[PlyCount "3"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. c4 {book} f5 {book} 2. Nc3 {book, Black loses on time} 1-0
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "5"]
[White "bihasa32"]
[Black "bihasa32mod"]
[Result "0-1"]
[PlyCount "16"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} d5 {book} 2. g3 {book} Nh6 {book} 3. h3 {book} f5 {book}
4. Nj3 {book} Nc6 {book} 5. c3 {book} g6 {book} 6. Ah2 {book} e5 {+1.32/13 2.0s}
7. i3 {-1.20/11 2.0s} Bf6 {+1.20/13 2.0s} 8. fxe5 {-1.00/13 2.0s}
Nxe5 {+1.12/13 2.0s, White loses on time} 0-1
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "6"]
[White "bihasa32mod"]
[Black "bihasa32"]
[Result "1-0"]
[PlyCount "9"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} f5 {book} 2. d4 {book} g6 {book} 3. c3 {book} Nh6 {+0.04/13 2.0s}
4. Nd2 {-0.04/12 2.0s} d5 {+0.04/13 2.0s}
5. Nh3 {-0.08/13 2.0s, Black loses on time} 1-0
[Event "My Tournament"]
[Site "?"]
[Date "2016.12.25"]
[Round "7"]
[White "bihasa32"]
[Black "bihasa32mod"]
[Result "1-0"]
[PlyCount "3"]
[Termination "time forfeit"]
[TimeControl "2/move"]
[Variant "gothic"]
1. f4 {book} Nh6 {book} 2. d4 {book, Black loses on time} 1-0
-
- Posts: 1627
- Joined: Thu Mar 09, 2006 12:35 pm
Re: Cutechess tournament with Bihasa problem losing on time
Yep, that was it. Thanks.Ferdy wrote: Just add time margin of say 5ms or so in Time Control. I noticed this problem on my other engines too, I failed to reserve a small margin of time before sending the move. I have not checked the code yet.
BTW in the ini file what the 2 values of each piece represent?
For example for Pawn:
Pawn_Value 75 100
What is the first value for and what the second?
Also it would be nice to add more values to play with like mobility, etc.
Do you plan a newer release of Bihasa anytime soon?
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
"Is it a boy or girl?"
YES! He replied.....
-
- Posts: 4840
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Cutechess tournament with Bihasa problem losing on time
That is opening and ending values.George Tsavdaris wrote:Yep, that was it. Thanks.Ferdy wrote: Just add time margin of say 5ms or so in Time Control. I noticed this problem on my other engines too, I failed to reserve a small margin of time before sending the move. I have not checked the code yet.
BTW in the ini file what the 2 values of each piece represent?
For example for Pawn:
Pawn_Value 75 100
What is the first value for and what the second?
Also it would be nice to add more values to play with like mobility, etc.
Do you plan a newer release of Bihasa anytime soon?
I plan to remove the ini file, and yes I will provide other options that can be set by the user.
Trying some ideas, but difficult to improve so far, blitz 3m+2s.
Code: Select all
Score of Bihasa v4.3 vs Bihasa v3.2: 20 - 14 - 17 [0.559]
Elo difference: 41.06 +/- 79.43
51 of 60 games finished.
-
- Posts: 1627
- Joined: Thu Mar 09, 2006 12:35 pm
Re: Cutechess tournament with Bihasa problem losing on time
If not by an ini file then how?Ferdy wrote: I plan to remove the ini file, and yes I will provide other options that can be set by the user.
Having an ini file is easy to match with cutechess-cli against 2 Bihasa engines.
Great.I will issue a new version before the year ends.
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
"Is it a boy or girl?"
YES! He replied.....
-
- Posts: 4840
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Cutechess tournament with Bihasa problem losing on time
For cutechess-cli, an example json entry could be.George Tsavdaris wrote:If not by an ini file then how?Ferdy wrote: I plan to remove the ini file, and yes I will provide other options that can be set by the user.
Having an ini file is easy to match with cutechess-cli against 2 Bihasa engines.
Great.I will issue a new version before the year ends.
Code: Select all
{
"command" : "Bihasa_v4.3.exe",
"name" : "Bihasa v4.3 defMat",
"options" : [
{
"name" : "PawnValueOp",
"value" : 75
},
{
"name" : "PawnValueEn",
"value" : 100
},
{
"name" : "Resign",
"value" : 1
}
],
"protocol" : "xboard",
"workingDirectory" : "C:\\chess_variant\\engines\\nobook\\Bihasa"
},
Code: Select all
xboard
feature done=0
protover
feature ping=1 time=1 setboard=1 name=1 colors=1 debug=1
feature draw=0 sigint=0 sigterm=0 reuse=0 analyze=1 ics=1
feature variants="capablanca,gothic"
feature memory=1
feature myname="Bihasa v4.3"
feature option="MultiPV -spin 1 1 300"
feature option="Resign -check 0"
feature option="ResignScore -spin -1200 -30000 30000"
feature option="Ponder -check 1"
feature option="Book -check 0"
feature option="ContemptValue -spin 0 -1000 1000"
feature option="PawnValueOp -spin 75 0 1000"
feature option="PawnValueEn -spin 100 0 1000"
feature done=1
-
- Posts: 4840
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Cutechess tournament with Bihasa problem losing on time
It is now released here.George Tsavdaris wrote:If not by an ini file then how?Ferdy wrote: I plan to remove the ini file, and yes I will provide other options that can be set by the user.
Having an ini file is easy to match with cutechess-cli against 2 Bihasa engines.
Great.I will issue a new version before the year ends.
http://www.talkchess.com/forum/viewtopic.php?t=62615