Updates to git/ staging websites
Spring grid
Reminder: Spring Grid is in charge of managing the match request queue for the botrunners, handing out requests to the botrunners, and storing the results. It is now separate from AILadder.
Changes:
Visible:
- search and replaced 'ailadder' replaced with 'springrid'
Under the hood:
- added 'mapexists' and 'modexists' methods to api_webservice
- added unique constraints to tables (in git only, not patched into tables on staging website yet)
- added non-null constraints to tables (in git only, not patched into tables on staging website yet)
aegis has two botrunners on his cluster that have been up since yesterday, and seem stable. He's got them in a try... except loop, so if they do crash, they should restart automatically again (and crash again most likely

but still, for now: they are up!)
http://manageddreams.com/springgridstag ... runners.py
AILadder
Reminder: AILadder no longer manages botrunners. Or maps, or mods. It just proxies requests about those through to the configured spring grid website, which you can now see at the bottom of each web-page.
AILadder manages handing requests to Spring Grid to pit ais in controlled battles each other, and interpret the results.
Changes:
Visible:
- added link to springgrid that is being used at the bottom of each page
- added viewconfig page ('View Global Configuration')
- added viewoptions page -> can create new AIOptions now
- league match scheduler takes into account league and ai options now:
-- only AIs with at least the same options as a league will play in that league
- added link to schedule matches to hte bottom of 'view request counts per league page'
- view request counts per league page now show both the request counts and the finished counts
- match scheduler migrated to use springgrid, and works again now
Under the hood:
- added unique constraints to tables (in git only, not patched into tables on staging website yet)
- added non-null constraints to tables (in git only, not patched into tables on staging website yet)
http://manageddreams.com/ailaddergrid/s ... malldivide
Addendum:
- ok, results of those matches are in:
-- both KAIK and RAI completed their matches successfully
-- KAIK beat RAI consistently
- need some more AIs really, otherwise it's not really interesting :-D
- candidate AIs:
-- E323AI .... but need to be able to distinguish between 'cheating' and 'non-cheating' AIs otherwise it's not really fair.
-- Java AIs
-- add functionality so AI devs can register AIs themselves