Re: [OVC-demo-team] Latest update for BRP

From: David Mertz <voting-project_at_gnosis_dot_cx>
Date: Thu Mar 11 2004 - 23:18:38 CST

On Thursday, March 11, 2004, at 11:51 PM, Fred McLain wrote:
> On Wed, 2004-03-10 at 19:38, Eron Lloyd wrote:
>> 2. Have we settled on using the gnosis.xml.objectify function to
>> convert the
>> XML files to an intermediate data structure for comparison? Also,
>> precisely
>> what should the comparison process to? A simple boolean A == B?
> Using these tools is OK and should help. David wrote them, he can help
> with details on using them.

Let me make sure I understand what is being asked. If I understand it,
we have roughly:

   scanned_ballot = gnosis.xml.objectify.make_instance(barcode2xml(code))
   stored_ballot =
   if equivalent(scanned_ballot, stored_ballot):
          print "Happy, happy"
          print "Discrepency"

The problem is to create a suitable equivalent() function, right?

If so, I'll write that this evening.

> David wrote a tool to generate the sample ballots. His post about this
> was last Saturday the 6th with attachments containing the files. I'll
> forward it to you.

It might not be a bad idea for someone (Eron? Fred?) to use my random
ballot generator to create a "standard" ballot collection for later
testing. While there might be other reasons to test against ad hoc
sets of various sizes, we might also want to perform repeated tests
against a canonical test set. Just run " N" for the
desired size collection.

Btw. I posted an initial tool, then corrected it slightly to match
Jan's standard later in the day (or maybe the next day). The version
you want is at:
= The content of this message, with the exception of any external
= quotations under fair use, are released to the Public Domain
Received on Thu Apr 1 02:40:26 2004

This archive was generated by hypermail 2.1.8 : Thu Apr 01 2004 - 02:40:36 CST