UCI Implementation in Arena: Bug

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

UCI Implementation in Arena: Bug

Post by michiguel »

Arena is not respecting this:

Code: Select all

* arbitrary white space between tokens is allowed
  Example: "debug on\n" and  "   debug     on  \n" and "\t  debug \t  \t\ton\t  \n"  all set the debug mode of the engine on.
It seems that it is assuming that separation is always with one space. I needed to reformat Gaviota's output (it was nicely aligned for logging, now it is butt ugly) not to mess up Arena's interpretation of the line.

Miguel
Dann Corbit
Posts: 12541
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: UCI Implementation in Arena: Bug

Post by Dann Corbit »

michiguel wrote:Arena is not respecting this:

Code: Select all

* arbitrary white space between tokens is allowed
  Example: "debug on\n" and  "   debug     on  \n" and "\t  debug \t  \t\ton\t  \n"  all set the debug mode of the engine on.
It seems that it is assuming that separation is always with one space. I needed to reformat Gaviota's output (it was nicely aligned for logging, now it is butt ugly) not to mess up Arena's interpretation of the line.

Miguel
They are going to have a new release of Arena soon.
I made a copy of your post and sent it to Mr. Diosi from the Arena site.
User avatar
Michael Diosi
Posts: 672
Joined: Mon Jun 22, 2009 1:37 pm

Re: UCI Implementation in Arena: Bug

Post by Michael Diosi »

Hi,


Thanks, sent it to Martin.



Michael
http://www.playwitharena.com
User avatar
Greg Strong
Posts: 388
Joined: Sun Dec 21, 2008 6:57 pm
Location: Washington, DC

Re: UCI Implementation in Arena: Bug

Post by Greg Strong »

Michael Diosi wrote:Hi,


Thanks, sent it to Martin.



Michael
http://www.playwitharena.com
Awesome, new version of arena! Looking forward to it :)

Hate to ask, but I would like to make a tiny feature request ... When running a gauntlet tournament, it would be great to have an auto-rotate board option, so it always shows the board from the perspective of the engine that is running the gauntlet. Would make it much easier to observe my engine against the competition.

Thanks for your consideration,

Greg
CRoberson
Posts: 2056
Joined: Mon Mar 13, 2006 2:31 am
Location: North Carolina, USA

Re: UCI Implementation in Arena: Bug

Post by CRoberson »

Hi Miguel.

Go ahead and adjust the issue in Gaviota. I had to do it in Telepath a couple of years ago. Arena is not the only UCI GUI with that problem.

Charles
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: UCI Implementation in Arena: Bug

Post by bob »

CRoberson wrote:Hi Miguel.

Go ahead and adjust the issue in Gaviota. I had to do it in Telepath a couple of years ago. Arena is not the only UCI GUI with that problem.

Charles
Why not get the Arena guys (and others) to fix the GUI to match the specifications, rather than making the programs match the interpretation? You could find yourself with cases that are incompatible if the standard is not adhered to.
User avatar
rvida
Posts: 481
Joined: Thu Apr 16, 2009 12:00 pm
Location: Slovakia, EU

Re: UCI Implementation in Arena: Bug

Post by rvida »

Greg Strong wrote:
Michael Diosi wrote:Hi,


Thanks, sent it to Martin.



Michael
http://www.playwitharena.com
Awesome, new version of arena! Looking forward to it :)

Hate to ask, but I would like to make a tiny feature request ... When running a gauntlet tournament, it would be great to have an auto-rotate board option, so it always shows the board from the perspective of the engine that is running the gauntlet. Would make it much easier to observe my engine against the competition.

Thanks for your consideration,

Greg
Instead of board auto-rotating I would prefer better time accounting. As of version 2.0.1 it is impossible to play fast games, because of GUI is stealing thinking time :(

Richard
User avatar
Michael Diosi
Posts: 672
Joined: Mon Jun 22, 2009 1:37 pm

Re: UCI Implementation in Arena: Bug

Post by Michael Diosi »

Hi,


Martin said:

1) good idea
2) not too difficult to impelement

Michael
http://www.playwitharena.com
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: UCI Implementation in Arena: Bug

Post by mcostalba »

Michael Diosi wrote:Hi,


Martin said:

1) good idea
2) not too difficult to impelement

Michael
http://www.playwitharena.com
I guess you are talking of rotating the board, right ?

Not about the suggestion of Richard (also because in that case we could talk of bug fix not new feature).

Please, try to understand my point. I really would like to use Arena for testing, but I can NOT due to this very serious timing bug (technically I would call it a showstopper bug) that do not let developers to use Arena for testing new ideas (in engine development testing at fast games is the bread and butter).
User avatar
Michael Diosi
Posts: 672
Joined: Mon Jun 22, 2009 1:37 pm

Re: UCI Implementation in Arena: Bug

Post by Michael Diosi »

Hi Marco,


Yes this was about the feature request, I also sent the bug report but on that I got no answer.

The problem is that on one hand I would like some feedback from Martin. On the other hand he would be busy answering all mails.

Michael
http://www.playwitharena.com