xyne at archlinux.ca
Sun Dec 5 14:32:48 EST 2010
> > Here's the script in-line. Sorry for spamming the list.
> > #!/usr/bin/env python2
> > from sys import argv
> > # Quorum (66%)
> > quorum = 0.66
> > # Total active TUs, yes votes, no votes, abstain votes.
> > TUs, yes, no, abstain = [float(x) for x in argv[1:]]
> > # Total number of votes.
> > votes = yes + no + abstain
> > # If an absolute majority has voted yes,
> > if yes / TUs > 0.50 \
> > # or quorum has been established with a simple majority
> > or (votes / TUs > quorum and yes / votes > 0.50):
> > print "The motion has passed."
> > else:
> > print "The motion has failed."
> You need to multiply 0.66 x TUs for the actual quorum requirement and
> you're counting no and abstain votes exactly the same. My
> understanding is that abstain votes are only used for establishing a
> quorum. Otherwise there's no reason to have them.
Um, "votes > TUs * quorum" is the same thing as "votes / TUs > quorum".
There is no difference between voting "no" and "abstain" currently. The simple
majority is counted by dividing the number of "yes" votes by the total number
of users that have participated, including those who "abstain".
I agree that there should be a difference between "no" and "abstain", but I
didn't write the bylaws and I have proposed alternatives that would draw a
distinction before, although I don't remember what.
More information about the aur-general