Difference between revisions of "JSF Voting Procedure"

Jump to navigation Jump to search
 
Line 16: Line 16:


This section is a small README provided for the benefit of the JSF Secretary. :-)
This section is a small README provided for the benefit of the JSF Secretary. :-)
The voting bot is located on apollo.jabber.org, one of the machines in the JSF infrastructure. Only a few people have access to this machine, so the voting results are fairly private.
The bot is located at /var/jsf/voting/ -- the bot is memberbot.py and voting results are saved in appropriate subdirectories (e.g., elect2005/ for the 2005 Board and Council elections and appl_200510/ for the October 2005 membership voting). Memberbot reads in an  XML file in order to present the voting questions, holds the votes in memory, and writes out an XML file when each voter has finished (there is one XML file per voter, saved as user@host.xml based on the voter's JID).
In order to count the votes, the Secretary runs an XSLT process against the XML files, resulting in HTML table that can be embedded into the meeting notes. (Details about XSLT to follow.)