This document and associated files have been prepared by the National Institute
of Standards and Technology (NIST) and represent draft test materials for the
Election Assistance Commission's next iteration of the VVSG.  It is a
preliminary draft and does not represent a consensus view or recommendation
from NIST, nor does it represent any policy positions of NIST.

######################################################################

           BEGIN TEST CASE OUTPUT   2009-03-19 10:09:41-04

######################################################################

$Id: 1-basic-AbsenteeBySpecialPrecinct-RankedOrder.sql 452 2008-01-09 14:24:56Z dflater $

Small ranked order contest with absentee ballots via a special precinct
and ballot style.
Ballot styles:  2
Reporting contexts:  3


$Id: Infrastructure-VoteSchema.sql 475 2008-02-21 20:49:51Z dflater $
$Id: Infrastructure-TestHook.sql 453 2008-01-09 14:38:46Z dflater $
$Id: Infrastructure-KillOvervotes.sql 445 2008-01-08 20:46:58Z dflater $
Killing overvotes.
$Id: Infrastructure-IntegrityChecks.sql 281 2007-07-19 15:32:59Z dflater $

----- Begin integrity check output -- All results should be empty -----

  Out Of Range Voter Inputs
 ballotid | choiceid | value 
----------+----------+-------
(0 rows)

Out Of Range Endorsements
 party | choiceid | value 
-------+----------+-------
(0 rows)

      Extraneous Inputs
 ballotid | choiceid | value 
----------+----------+-------
(0 rows)

Unreported Ballots
 ballotid 
----------
(0 rows)

           Double Votes
 ballotid | choiceid | count | sum 
----------+----------+-------+-----
(0 rows)

                             Cross Contest Aliases
 aliasid | aliasname | aliascontestid | choiceid | choicename | choicecontestid 
---------+-----------+----------------+----------+------------+-----------------
(0 rows)

 Double Indirect Aliases
 aliasid | aliasedaliasid 
---------+----------------
(0 rows)

Ballot Styles With More Than One Straight Party Contest
 styleid 
---------
(0 rows)

Non-Existent Parties In Straight Party Contest
 contestid | name 
-----------+------
(0 rows)

Circular Straight Party Endorsements
 party | choiceid 
-------+----------
(0 rows)

     Endorsed Aliases
 party | choiceid | value 
-------+----------+-------
(0 rows)

        Straight Party Overrides
 ballotid | contestid | choiceid | value 
----------+-----------+----------+-------
(0 rows)

          Too Many Write-Ins
 ballotid | contestid | writeinscount 
----------+-----------+---------------
(0 rows)

----- End integrity check output ---- All results should be empty -----

$Id: ReportGenerator.cc 460 2008-01-14 15:10:24Z dflater $
Materializing views (for large tests, this may take a while).
2009-03-19 10:09:41-0400 Materialization begun
2009-03-19 10:09:41-0400 FilteredContextChoiceAssociation
2009-03-19 10:09:41-0400 ReportingContextAssociationMerge
2009-03-19 10:09:41-0400 EffectiveInput
2009-03-19 10:09:41-0400 BallotCounts
2009-03-19 10:09:41-0400 BallotCountsByConfiguration
2009-03-19 10:09:41-0400 BallotCountsByCategory
2009-03-19 10:09:41-0400 BallotCountsByCategoryAndConfiguration
2009-03-19 10:09:41-0400 BlankBallot
2009-03-19 10:09:41-0400 BlankBallotCounts
2009-03-19 10:09:41-0400 BlankBallotCountsByConfiguration
2009-03-19 10:09:41-0400 S
2009-03-19 10:09:41-0400 SPrime
2009-03-19 10:09:41-0400 T
2009-03-19 10:09:41-0400 TSum
2009-03-19 10:09:41-0400 VotesByContestAndContext
2009-03-19 10:09:41-0400 O
2009-03-19 10:09:41-0400 U
2009-03-19 10:09:41-0400 K
2009-03-19 10:09:41-0400 Balance
2009-03-19 10:09:41-0400 Materialization finished

-------------------------------------------------------------------------------
Report for context Jurisdiction generated 2009-03-19 10:09:41-0400

                                 BALLOT COUNTS

Configuration                                  Read    Counted
-------------                                  ----    -------
Total                                            12         12
                                   Blank          0          0
Absentee Style                                    3          3
Precinct 1 Style                                  9          9

                                  VOTE TOTALS

                             RANKED ORDER CONTESTS

NOTICE:  RANKED ORDER LOGIC IS NOT NORMATIVE.
The algorithm implemented by ReportGenerator is only one example of
conforming behavior.  The algorithm implemented by ReportGenerator is
not recommended or endorsed by the National Institute of Standards and
Technology for use in elections and it is not the best algorithm
available for the purpose.  It is used here only to provide output for
comparison in simple cases where the implementation-dependent details
have no impact.
  * The quota is Hagenbach-Bischoff plus epsilon.
  * Surpluses are transferred via the Gregory method using unlimited
    precision rational numbers.
  * No special cases are handled.  This means:  every choice must be
    ranked on every ballot; every choice must be assigned a different
    rank; only one choice is elected or eliminated at a time; and if a
    tie occurs, the algorithm halts.

President, rank in order of preference
Have 12 valid votes.
Quota is 6 plus epsilon.
Round 1 tallies:
Car Tay Fower                                     6
Oona Won                                          3
Nada Zayro                                        2
Beeso Tu                                          1
Tayra Tree                                        0
Tayra Tree is eliminated.
Round 2 tallies:
Car Tay Fower                                     6
Oona Won                                          3
Nada Zayro                                        2
Beeso Tu                                          1
Beeso Tu is eliminated.
Round 3 tallies:
Car Tay Fower                                     7
Oona Won                                          3
Nada Zayro                                        2
Car Tay Fower is elected.
-------------------------------------------------------------------------------

Report total volume: 84
  - Includes optional reporting of blank ballots.
  - Excludes separate reporting of ballots cast vs. read.

######################################################################

             END TEST CASE OUTPUT   2009-03-19 10:09:41-04

######################################################################
