| View previous topic :: View next topic |
| Author |
Message |
Vincent Ollivier
Joined: 19 Jan 2010 Posts: 17 Location: France
|
Post subject: Re: Purple Haze v2.0.2 Posted: Mon Mar 26, 2012 8:41 pm |
|
|
| gladius wrote: |
| vincent wrote: |
| The focus was more on building a good testing environment with test cases for any changes in the code. That way the overall quality should improve slightly. I also wrote a small collection of tools (client, server and worker) to facilitate cluster testing. This last project is in early alpha stage and may not currently be useful to anyone else but it is already Open Source and published at https://github.com/vinc/occet. |
Hi Vincent,
Occet looks really cool! I was thinking about something very similar actually, I'm glad to see you release it. May have to play around with getting it set up to test changes .
Gary |
Hi Gary,
If you know how to call xboard or cutechess-cli from the command line, then you almost already know how to operate occet-client to send jobs to occet-server. And on each node of a pseudo cluster distributed over the Internet there is an instance of occet-worker running, which is basically a wrapper around cutechess-cli executing the jobs.
I wrote some other tools to automagically download and compile engines on the nodes and to retrieve and analyse (using bayeselo) PGN files from the server but these are not part of occet core yet because I wanted to keep it simple. They will be open sourced too after more testing.
Occet is written in CoffeeScript and uses node.js. There is really a *lot* to do before calling it something else than a prototype and it needs some security features before running in production... Nonetheless it is nice to have a script building the last commit on the develop branch of my engine on GitHub with a patch introducing a new feature and testing the executable hundred thousand of times on various nodes against other engines to finally telling me if my new feature is good or bad.
To be honest, I can count the number of nodes constituting my pseudo cluster on the fingers of one hand and occet is probably not more than 500 lines of code. This is really small scale, but it is fun. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|