Moderator: Andres Valverde
Daniel Mehrmann wrote:I don't see any weakness in the UCI protocol here. You're never know if you reach 40th moves. May there are difficult positions where you should use more time.
If you now creating a reserved "pool" time because you're allready know there is a sudden death tc after 40 moves you don't have this time.
In my view who doing here special stuff, like creating this pool, has a stupid timemanagement.
Best,
Daniel
Daniel Mehrmann wrote:I don't see any weakness in the UCI protocol here. You're never know if you reach 40th moves. May there are difficult positions where you should use more time.
If you now creating a reserved "pool" time because you're allready know there is a sudden death tc after 40 moves you don't have this time.
In my view who doing here special stuff, like creating this pool, has a stupid timemanagement.
Best,
Daniel
Daniel Mehrmann wrote:I don't see any weakness in the UCI protocol here. You're never know if you reach 40th moves. May there are difficult positions where you should use more time.
...
Best,
Daniel
Steve Maughan wrote:Uri,
You are correct - this is indeed a weakness of the UCI protocol. However, for most 'sensible' time controls it works fine i.e. 2 hours/40 moves+1 minutes is not sensible time control. IMO it's a small weakness that is never a real problem.
Daniel Mehrmann wrote:Hi Richard,
well, theoretically your view sounds logical. But how often comes this in practise ? How much ELO points do you gained ?
I think you gained nothing in practise. In your example, you only must search one move to next tc, may it can be a capture too So my engine wouldn't use full planned time anyway.
Daniel Mehrmann wrote:I think its just overkill to look at next possible tc, but i accept your points of course (Uri too).
Much more interesting is how accurate your clocks are versus your opponent clock.
Peter Fendrich wrote:Daniel,
if we lose only 1 ratingpoint due to lack of information in uci there is a problem with the protocol. It can be the difference of winning a tourment or not. The protocol should ideally not affect the result in any way at all.
/Peter
Yes I know. I just answered Daniel about the problem with a protocol affecting the result.Uri Blass wrote:Peter Fendrich wrote:Daniel,
if we lose only 1 ratingpoint due to lack of information in uci there is a problem with the protocol. It can be the difference of winning a tourment or not. The protocol should ideally not affect the result in any way at all.
/Peter
The problem is not only this
I suppose that if the GUI sends this it is a bug but Alaric will use wtime 0 in this case.The problem is that the UCI protocol is not clear
Instead of the level command I get only the following commands
* wtime <x>
white has x msec left on the clock
* btime <x>
black has x msec left on the clock
* winc <x>
white increment per move in mseconds if x > 0
* binc <x>
black increment per move in mseconds if x > 0
* movestogo <x>
there are x moves to the next time control,
this will only be sent if x > 0,
if you don't get this and get the wtime and btime it's sudden death
problems:
1)What should I do if movei as white get something like
movestogo 20 winc 10
Can I assume that the interface will never send it?
I don't think that is a good idea. The first go is not necessarily using the same time setting as the next. The UCI protocol is stateless and you can never assume that you receive the continuation from the ongoing game. The level command is not appropriate in this sense...2)I do not have level command and without level command movei has no function that tell it how much time to use(under winboard I simply calculate some parameters like number of moves in every time control from the level command and based on them decide about the target time).
I can translate the first go to level command but the main question is when to assume that I get another level command
Should I assume that I get another level command if movestogo or winc or binc are different than what I expect
should I assume that I get another level command after movei change sides because undo command or maybe I should assume that I get another level command only if the increasement is different for both sides.
This is why I skipped the winboard protocol in Alaric. UCI and Winboard are not fully compatible and it will always be a source of problems. I have them in Terra...possible soultion is simply to have level_uci command that get only
the times, the increasements and the moves to go to the next time control but I do not like to have different time management for winboard and for uci and I prefer the uci option to assume something like assuming that if you get x minutes/(y-n) moves in the first go at move n+1 it is going to continue forever
x minutes/y moves.
The problem is that I am afraid of more bugs if I try to implement something like that when there may be unexpected input that may cause problems that I did not think about.
What do you suggest to do?
Uri
Peter Fendrich wrote:Daniel,
if we lose only 1 ratingpoint due to lack of information in uci there is a problem with the protocol. It can be the difference of winning a tourment or not. The protocol should ideally not affect the result in any way at all.
/Peter
Daniel Mehrmann wrote:Peter Fendrich wrote:Daniel,
if we lose only 1 ratingpoint due to lack of information in uci there is a problem with the protocol. It can be the difference of winning a tourment or not. The protocol should ideally not affect the result in any way at all.
/Peter
Hi Peter !
You're right of course.
My question is if you do test matches with movei with timecontrol 40/40 + 20/20 + 0/30 and one version used wb2 and the other version used UCI protocol, how many ELO points is wb2 movei better than uci movei based on a better timemanagenent ?
I guess 0 points. My point is that you have no benefit of the level command at general.
Best,
Daniel
ps: If Movei UCI is ready i will do such tests vs Homer, which used same timemanagent on both protocols (backend core identical, i'm just remapping values).
Return to Winboard and related Topics
Users browsing this forum: No registered users and 30 guests