NationStates Jolt Archive


UN Voting Problem

Cluichstan
08-02-2006, 21:22
There's already a post about this in the UN forum, but I figured I'd make sure it was brought to the attention of the full mod/admin team. There appears to be a problem with the UN voting, as one delegate -- Former English Colony -- is registering as having voted both for and against the proposal at vote. Can this be fixed somehow?

Thanks.
Irish Nations of Meame
08-02-2006, 21:47
There's already a post about this in the UN forum, but I figured I'd make sure it was brought to the attention of the full mod/admin team. There appears to be a problem with the UN voting, as one delegate -- Former English Colony -- is registering as having voted both for and against the proposal at vote. Can this be fixed somehow?

Thanks.

I have never heard of anything like it. Have you asked Former English Colony what his position is when he looks at the UN page? If it says undecided, vote again, if not, I can't think of an option.
Cluichstan
08-02-2006, 21:57
I have never heard of anything like it. Have you asked Former English Colony what his position is when he looks at the UN page? If it says undecided, vote again, if not, I can't think of an option.

Haven't asked her directly, but she casts her vote based on a regional vote on the offsite forum for the North Pacific, and the tally there was, last time I checked, 7-3 in favour of the proposal at vote, I believe. She had previously voted against, but I think when she tried to switch, it didn't take away her initial vote.
Mikitivity
08-02-2006, 22:00
I have never heard of anything like it. Have you asked Former English Colony what his position is when he looks at the UN page? If it says undecided, vote again, if not, I can't think of an option.

Much hunch is that the list of UN Delegate votes isn't refreshed, but that the vote totals are.

When I've used the lists in the past to hunt for telegram campaign lists (pro for a similar resolution often being UN Delegates I figure might be receptive to a telegram), I've noticed ", ," or something like that, which I assumed was previous vote cast by a UN Delegate who either changed his vote or lost his Delegate status in the previous update.

In any event, it would be nice for a game admin to let us know the mechanism of the UN Delegate Votes page and how resolutions are counted (within reason). We could probably even document /archive this so that in the future we can point detail focused players to the explanation.
Frisbeeteria
08-02-2006, 23:50
Much hunch is that the list of UN Delegate votes isn't refreshed, but that the vote totals are.
I don't have access to the code, but that's my take as well. During the 'voting closed' update, the UN section runs last, and grabs the <delegate + # of endorsements> tally from the recently completed regional updates. As you know, the 'ballot box' doesn't close until the votes are actually counted, and people DO change their votes. What is displayed on the screen may not be accurate until voting is closed, and then of course it's taken down to get ready for the next one.

Or it could be !ZOMGs3cr1tModBias! as we manipulate the vote totals to our own political purposes. Of course, we'd be revealed as utterly schizophrenic political neophytes were that the case. You be the judge.

T'would be nice to have a final accurate tally, but that's not how it was originally designed. We really don't want to get into the morass that is the UN code, thanks just the same. That's what you get when you turn a fiction author loose with four months of free time and a copy of Perl for Dummies. That and "Fight the Axis of Evil", of course.
Mikitivity
09-02-2006, 03:28
Or it could be !ZOMGs3cr1tModBias! as we manipulate the vote totals to our own political purposes. Of course, we'd be revealed as utterly schizophrenic political neophytes were that the case. You be the judge.

Oooooh, it is tempting! ;)

I'd say that if there is any monkeying around with the current UN code, that a few of us are would rather those energies be dedicated towards fixing the UN category: "Environmental" so that it does something other than trading industry for Most Beautiful Environment ratings.
Erastide
09-02-2006, 20:37
lol...

I thought this had come up before, and the conclusion was that the vote is not *currently* being counted, even though it shows up on the Delegate Votes page. As in... when I change my vote, the totals change for *both*. My votes aren't still counted on the opposite stance, even though they show up there.
Frisbeeteria
09-02-2006, 23:41
... when I change my vote, the totals change for *both*.
Coding-wise, that's easy to do. Just subtract from "Yea" and add to "Nay".

It's also easy to say [append <$delegate> +', ' + <$endos + 1>] to the new list.

It's much more cumbersome to then go back to the old list and locate the old <$delegate>, delete that string and the string and spaces that represent an endorsement count that may be different from the current total of <$endos>, and do so dynamically every time somebody changes their mind.

While Sal or Pyth could probably delve through and fix it if they really put some effort into it, why bother? The count is accurate and the voting is honest. As honest as the Delegates, that is.
Pythagosaurus
10-02-2006, 00:06
There's no need for all that bookkeeping. You need to change the vote totals (1) when a non-delegate votes, (2) when a delegate votes, (3) when somebody endorses or unendorses a delegate, and (4) when the delegate changes. In case (1), the total changes by 1. In case (2), the total changes by the number of endorsements the delegate currently has + 1. In case (3), the total changes by 1 if the delegate has voted. In case (4), the total changes by the number of endorsements the old delegate had and/or by the number of endorsements the new delegate has, if they've voted.

But yes, this is pretty low on my list of priorities.