archive by month
Skip to content

random bots on BASIL

Today I revisited the BASIL stats page with its collected numbers. The random bots got me thinking.

Over the stats period, the random bots collectively scored 56.8%, making random the most successful choice of race. On BASIL, the server chooses the random race before the game starts so that the opponent knows it, so theoretically there should be no game play advantage to being random. There could still be an advantage in confusing the opponent by playing a wider range of strategies, each less often—or that could be a disadvantage, depending on how the learning of each side works. In practice, does playing random give an edge, or did stronger bots choose to play random?

It seems impossible to answer the question by comparing strength numbers between the randoms and the rest. Do the random bots have higher elo? Well, they scored better! The result says nothing about the direction of causation, if any.

Another line to answer the question is, do the random bots score better or worse than their component races playing independently? We can answer by averaging the elo ratings, because elo is designed so that strength differences can be added and subtracted. I compared PurpleDestiny, tscmoo, and ChimeraBot.

PurpleDestiny has elo 2273 at the moment, and I get 2333 for the mean elo of its 3 components. There is no evidence of an advantage for playing random while purple.

Tscmoo random is at 2348, while its components average to 2146. It may be that playing random is effective for cows (“moo!”). But it could also be that the apparent components aren’t actually part of tscmoo. They were updated at different times, and I expect that they are configured differently too, with different sets of strategies allowed. If so, the comparison may not mean anything.

ChimeraBot (made of Iron, McRave, and ZZZKBot by Chris Coxe) is at 2342, while its components average to 2330. But Iron and McRave have both been updated since ChimeraBot was assembled, and I believe the updates were improvements. If so, the true mean of the components should be lower, but in any case it is probably different. There is at best weak evidence of an advantage for playing random while chimeric.

The bottom line is that the result is inconclusive. I haven’t found enough information on BASIL to judge whether playing random is an advantage, or a disadvantage, or a wash.

By the way, the stats page says there are 18 random bots, but I count 11 on the ranking page (2 disabled). Does the ranking page not show all bots?

Trackbacks

No Trackbacks

Comments

Bytekeeper on :

I believe the reason for the good performance of random bots are:
* "Aggregate" bots are built using good "component" bots
* Random bots generally are made by authors with a lot of experience and strong "component" bots
* There are (almost?) no random bots done with weak bots, whereas there are plenty of single-race bots with bad performance

The stats page might be a bit confusing. It shows all bots that BASIL saw. The ranking page filters out bots that had no games at all. Maybe I should split up the table to reflect that?

What kind of information/statistics would you like to have for better judgement?

Jay Scott on :

In short, random bots are better written on average. It seems likely to me, but I don’t see a way to get data to prove it with this set of participants.

Joseph Huang on :

Maybe look at crash rates?

Jay Scott on :

As for stats, I would enjoy long-term trend graphs that show how the community is changing over time: How many new bots each month, how many total active bots, the peak elo or the elo range, which race is in the ascendant at the moment, that kind of thing.

Of course BASIL hasn’t been around for that long yet, but if stats like this can be kept over years they become invaluable.

Jay Scott on :

NOTE Krasi0 asked for his comment to be removed. It’s disapproved.

Bryan Weber on :

A lot of these comments are about how random bots are better because they had more care in their design/more experience. But the approach proposed above is a good approach to deal with the reverse causality, since you can take each random bot and lock their race.

If a randomhammer (when it happens to random T) outperforms randomhammer when it is locked as T, the gain in performance is attributable to being random. Release both into the basil ladder, run 2000 test games and find out.

Jay Scott on :

Agreed. We need new data, the existing data is not enough.

MarcoDBAA on :

1.If authors created bots for all races, it is more probable, that they are already part of the competition for a long time, and their bots are therefore usually stronger (tscmoo, Purple, RH).

2.Further, the most popular base bots (UAB and SH/RH) are random bots and at least mid tier (UAB) or higher.

3.There are weaker random bots, they just aren't active there . Sure, non random weak bots are also disabled. I think that the field (the same in SSCAIT) is a bit too elitist for new arrivals (which are not using established base bots especially) now anyway.

4. Random bots, that are just other bots (Chimera). Makes no sense the way I see it. If other people upload more of them...

5. There are possible mid tier random bots, that just aren´t uploaded as random (McRave) or disabled as random (MadMix).

I always thought, that the random bot option should be used to try crazy and/or really random strategies, instead of turning them into completely serious learning bots. RH does not count, because protoss and terran aren´t uploaded (yet?), but if you have 4 bots, the random one should be a "fun" bot really. Just entertain the people :P. Did not check out yet, if Purpledestiny does this maybe (because it is weaker)?

Dan on :

A goal of PurpleDestiny is to make possibly the most dangerous version of my bot by abusing the advantage of random. So it's also running tryhard builds. Unfortunately this coincided with SSCAIT switching to BASIL ratings so it's hard to know where it'd stand.

Joseph Huang on :

Most of the random bots include some sort of learning. A non random bot would need 3x the games vs a random bot to learn the same amount, even if race is pre selected.

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.