Code center > Suggestions

Making the league reproducable

<< < (2/3) > >>

bacillus:
Yes, I probably expressed my idea clumsily (as I usually do   ). What I meant is to create a sort of formula that allows the seed to be the same evry match. This is mostly for matches where the end result is something like 24:26 or something like that.

Numsgil:
The program's set up right now for you to seed the random number generator.  So in theory you should be able to do this already, unless F1 mode overrides the seed with a new one.

For actual official league runs, I think the randomness is important.  Otherwise the bot starting positions would always be the same for any given match, so a bot would know that it's round 3 and they're the challenger, for instance.  Which strikes me as bad.

bacillus:
Which is exactly why I hesitated posting this thread in the first place. The generation would have to be random enough to prevent bots from knowing what will happen, yet reliable enough to be reproducible.

Peter:

--- Quote from: bacillus ---Yes, I probably expressed my idea clumsily (as I usually do   ). What I meant is to create a sort of formula that allows the seed to be the same evry match. This is mostly for matches where the end result is something like 24:26 or something like that.
--- End quote ---
Well that is becouse they're close to each other. Every match should be different(point)

I agree to the fact that the last fight see number could be remembered. I could maybe help out against league-bugs.
I disagree with a league match being exactly the same every time. I completely digagree if your stand for it is shorter fighting times, it sounds like that.
If you could post a fight between some bots that get results that can go eather way. Bot A or bot B wins in the end. I could get what your point is. Altrough I doubt that happens.
What does happen if you put two exact same bots in a league, forwarding on that?
I didn't test it, but will there be called a draw or will there win one in the complete end?

When is something called a draw? By what number of fights. Or isn't there one. Or is there some special formula.

Peter:
So how do the formulas work.

I just had two fights run.
With two versions of multiply, fights are rather fast so good for testing.
First one : 0-5 Multiply (the second) wins without doubt.
Second one :199-161 I gues the first multiply wins this one.

For my personal feeling there is something not completely right. They're not supposed to win.
Or I was just lucky.

So what is the accepted error anyway. I thought 95% but with 5 fights you get 50 :25 :12,5 :6,25 :3,125: , so a 3,125% percent change one bot wins if the both bots are equal. So a 6,25% percent change eather one of the bots wins if they are the same.
My reasoning could be wrong, I'm just still suprised that both times a winner was ellected.  When I just ran two of the same bots, both times one of them won a fight.

Formula, code snippet. Any thoughts.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version