Alex Smith wrote: > On Wed, 2009-04-01 at 21:13 -0600, Sean Hunt wrote: >> The formula is designed to require a sufficient number of players to >> pass the proposal with everyone else voting AGAINST. Remember that the >> initiator of the action cannot support; therefore with even three active >> players, a proposal with adoption index 2 would normally require 2 votes >> (2:1): floor((2*3)/(2+1)) = 1. > Actually, = 2, your arithmetic is wrong. You're right. Good to know that it errs upwards, though (it's a very minor bugfix if this one fails). >> If you can find another bug, I'd appreciate you pointing it out. > > Dependent actions often end up buggy in some way. (They turned out not > to be broken last Holiday, for instance, but there was certainly some > weirdness going on, real or perceived.) > > Unrelated to the formula, I'm also a bit confused about the timing > related to whether there's a "vote" ongoing or not. The proposal is specifically written to work on any proposal, being voted on or not.
> Finally, you should insert a safety check for if the AI somehow becomes > less than 1. (I don't think that's possible under present rules, but you > never know what might happen in the future.) That's a good idea, and if I recall correctly, it's possible. I haven't checked though. In the future, could you guys please comment on the proto, so we don't have this discussion after voting starts? -coppro