AntLog - double elimination result logging tool

Place discussions about upcoming events here in this thread.

Moderators: BeligerAnt, petec, administrator

Post Reply
User avatar
Simon Windisch
Posts: 1806
Joined: Tue Apr 15, 2003 12:00 am
Location: Reading
Contact:

Post by Simon Windisch »

Gary's results linked from http://windisch.co.uk/robots/rrc/rrc20/

User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Post by BeligerAnt »

I have just finished a new version of the AntLog spreadsheet. Instead of 4 groups it uses 8, giving a maximum field of 96 robots :o

BTW For a double elimination competition there are 2(n-1) fights (where n is the number of robots).

There are links to the original 4-group and the new 8-group versions on my web page (see link in first post of this thread).

One day I might get round to making one file that copes with 4 or 8 groups, but it is likely to be a bit too complicated to get done this week before AWS33 !
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Post by BeligerAnt »

The new and (hopefully!) improved AntLog is now available from http://garya.org.uk/antweight-robots or http://homepage.ntlworld.com/g0xan/robots/

Now supports 2, 4 or 8 groups of 4 to 16 robots all in one program. That's 8 to 128 robots in one competition! I suppose the next step is to go upt to 16 groups which will allow up to 65536 robots, requiring 131071 fights to reach a conclusion. :o
At that point I stop volunteering to help run the event! :wink:

I have also posted a complete set of charts to match AntLog - an essential back-up tool when using a computer. :wink:
The charts have been modified from Peter Waller's originals to try to address the problems of repeating fights. I think I have succeded in reducing the probability of repeating fights, although it is not possible to eliminate them entirely given that we allow any number of entries and up to 4 entries per team.

Please download the charts and/or program and give them a thorough testing and/or analysis. All feedback welcome!

The instructions for running AntLog now need updating slightly, but I'm sure you'll figure it out for now!

Edit: Updated link
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Post by BeligerAnt »

Latest version of AntLog is now available at http://garya.org.uk/antweight-robots or http://homepage.ntlworld.com/g0xan/robots/

This version adds a "Run Event" button to the "Final" sheet. This gives a dialog box interface which shows up to 4 forthcoming fights which can be run in any order. When a fight is run, the dialog box automatically updates to show the next 4 fights. At some points there are not 4 fights available, in this case fewer fights are displayed.

So far, the dialog box interface only works for the group stages. I still need to add the final stages.

The "old-fashioned" way of entering winners still works, and the two methods can be mixed and matched, allowing the possibility of going "back in time" to correct an error. Simply close the dialog box using the "X" button. When you click on the "Run Event" button again it will automatically pick up the next 4 fights.

Since there have been no functional changes to the underlying sheets and logic the fights will proceed exactly as before.

Still to do:
[*]Make the dialog box and text bigger so it would look better on a projector
[*]Add an auto-save function to the dialog box interface to avoid the need to manually save the spreadsheet.
[*]Add the final stages, although these are all on one sheet so it's not so much of a problem.
[*]Add the front-end functions to calculate group sizes and allocate robots to groups - the bit I've been putting off for a few years!

Please give it a try, all feedback welcome

Edit: Updated link
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Post by BeligerAnt »

After some significant effort, AntLog2 is now available :)

http://garya.org.uk/antweight-robots or http://homepage.ntlworld.com/g0xan/robots/

AntLog2 does all the draw and spreadsheet generation, all you have to do is enter the event name and the list of robots and teams. AntLog2 handles up to 128 robots in up to 8 groups. It's "intelligent" enough to fail gracefully when the draw doesn't work (only happens when there are lots of big teams and no single entries).
The results entry dialog box is now projector-friendly super-size. The (up to) 4 fights shown can be run in any order.
All fights are now handled by the dialog box, with group and round tags for each fight to make it easier to figure out where in the event you are.
The spreadsheet is automatically saved after each fight, so no worries over losing data! Note that it might not be automatically saved after the last fight, this still needs to be checked.

Please give it a try and let me know if you find anything unexpected.

Edit: Updated link
Gary, Team BeligerAnt

User avatar
joey_picus
Posts: 1137
Joined: Tue Jan 13, 2009 1:51 pm
Location: Lancaster, Lancashire
Contact:

Re: AntLog - double elimination result logging tool

Post by joey_picus »

This may be just me being stupid, but the bye inserting part of the program seems to be a bit vigorous and with a round number of entries (8, 24) seems to replace one of them with a 0/blank space? It doesn't happen every time though, redoing the draw sometimes fixes it, but in my test event it kept denying that various of Peter Waller's robots existed.
Joey McConnell-Farber - Team Picus Telerobotics - http://picus.org.uk/ - @joey_picus
"These dreams go on when I close my eyes...every second of the night, I live another life"

User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Post by BeligerAnt »

Congratulations Joey, you win the prize for finding the first beta-test bug! :)

If you can manage to recreate the problem, please can you send me the spreadsheet in the error state?
Gary, Team BeligerAnt

Occashokka
Posts: 433
Joined: Sun Nov 30, 2014 9:34 pm
Location: Stroud,Gloucestershire

Re: AntLog - double elimination result logging tool

Post by Occashokka »

Sorry to comment on an old thread but things are getting pretty damn close to the 128 so it might need an upgrade,this is a nice problem to have but it might be a pain in future as numbers are on the rise
Team Badger
Has a 3d printer now yay
-£4.82+VAT (intact)
-cool modulated printed thingy
-not yet built nasty mean spinnt thingy

I'm gonna build something huge and stupid, try and stop me :P

User avatar
BeligerAnt
Posts: 1872
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Post by BeligerAnt »

I am not planning on extending AntLog to cope with more that 128 entries, since an event with more than 128 ants in a double-elimination competition would take far too long to run.

At AWS46 there were only 43 different competitors signed up and a number of those didn't actually turn up on the day.

Limiting the field to 128 on the basis of time is not unreasonable. It is easily achieved by reducing the maximum number of robots per team if the total exceeds 128.
Gary, Team BeligerAnt

User avatar
Shakey
Posts: 1113
Joined: Sat Mar 13, 2010 8:38 pm
Location: Reading

Re: AntLog - double elimination result logging tool

Post by Shakey »

We did have a talk about this after AWS 46 and thought of a couple of ways to cope with more than 128 robots. One strong possibility would be running the groups stages in 2 identical arenas. Yes it will require a bit more attention from people and more organising but a properly featured program would aid in that (running 2 groups concurrently). I might have a look into it now I've got some more coding experience under my belt. :P
Nuts And Bots - For all your components and ready built antweights!

Alex Shakespeare - Team Shakey / Nuts And Bots / Team Nuts:
AWS 44, 45, 49, 51 & 55 Winner - Far too many robots!

Post Reply