UCI Implementation in Arena: Bug

Discussion of chess software programming and technical issues.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
michiguel
Posts: 6264
Joined: Thu Mar 09, 2006 7:30 pm
Location: Chicago, Illinois, USA
Contact:

UCI Implementation in Arena: Bug

Post by michiguel » Sat Jun 05, 2010 9:33 am

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: 8662
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: UCI Implementation in Arena: Bug

Post by Dann Corbit » Sat Jun 05, 2010 9:40 am

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: 671
Joined: Mon Jun 22, 2009 11:37 am

Re: UCI Implementation in Arena: Bug

Post by Michael Diosi » Sat Jun 05, 2010 10:23 am

Hi,


Thanks, sent it to Martin.



Michael
http://www.playwitharena.com

User avatar
Greg Strong
Posts: 388
Joined: Sun Dec 21, 2008 5:57 pm
Location: Washington, DC

Re: UCI Implementation in Arena: Bug

Post by Greg Strong » Sat Jun 05, 2010 12:43 pm

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: 1958
Joined: Mon Mar 13, 2006 1:31 am
Location: North Carolina, USA
Contact:

Re: UCI Implementation in Arena: Bug

Post by CRoberson » Sat Jun 05, 2010 2:20 pm

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: 20342
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Re: UCI Implementation in Arena: Bug

Post by bob » Sat Jun 05, 2010 2:45 pm

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 10:00 am
Location: Slovakia, EU

Re: UCI Implementation in Arena: Bug

Post by rvida » Sat Jun 05, 2010 10:40 pm

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: 671
Joined: Mon Jun 22, 2009 11:37 am

Re: UCI Implementation in Arena: Bug

Post by Michael Diosi » Sun Jun 06, 2010 6:43 am

Hi,


Martin said:

1) good idea
2) not too difficult to impelement

Michael
http://www.playwitharena.com

mcostalba
Posts: 2679
Joined: Sat Jun 14, 2008 7:17 pm

Re: UCI Implementation in Arena: Bug

Post by mcostalba » Sun Jun 06, 2010 7:00 am

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: 671
Joined: Mon Jun 22, 2009 11:37 am

Re: UCI Implementation in Arena: Bug

Post by Michael Diosi » Sun Jun 06, 2010 7:09 am

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

Post Reply