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:10:26-04

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

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

Small ranked order contest plus small cumulative contest, no special cases.
Ballot styles:  1
Reporting contexts:  1


$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:10:26-0400 Materialization begun
2009-03-19 10:10:26-0400 FilteredContextChoiceAssociation
2009-03-19 10:10:26-0400 ReportingContextAssociationMerge
2009-03-19 10:10:26-0400 EffectiveInput
2009-03-19 10:10:26-0400 BallotCounts
2009-03-19 10:10:26-0400 BallotCountsByConfiguration
2009-03-19 10:10:26-0400 BallotCountsByCategory
2009-03-19 10:10:26-0400 BallotCountsByCategoryAndConfiguration
2009-03-19 10:10:26-0400 BlankBallot
2009-03-19 10:10:26-0400 BlankBallotCounts
2009-03-19 10:10:26-0400 BlankBallotCountsByConfiguration
2009-03-19 10:10:26-0400 S
2009-03-19 10:10:26-0400 SPrime
2009-03-19 10:10:26-0400 T
2009-03-19 10:10:26-0400 TSum
2009-03-19 10:10:26-0400 VotesByContestAndContext
2009-03-19 10:10:26-0400 O
2009-03-19 10:10:26-0400 U
2009-03-19 10:10:26-0400 K
2009-03-19 10:10:26-0400 Balance
2009-03-19 10:10:26-0400 Materialization finished

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

                                 BALLOT COUNTS

Configuration                                  Read    Counted
-------------                                  ----    -------
Total                                            10         10
                                   Blank          0          0
Jurisdiction Style                               10         10

                                  VOTE TOTALS

Parking Committee, cast at most 2 votes
Car Tay Fower                                     4
Tayra Tree                                        3
Beeso Tu                                          2
Oona Won                                          1
Nada Zayro                                        0
Overvotes                                         0
Undervotes                                       10
Counted ballots                                  10
Balance                                           0

                             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 10 valid votes.
Quota is 5 plus epsilon.
Round 1 tallies:
Car Tay Fower                                     4
Tayra Tree                                        3
Beeso Tu                                          2
Oona Won                                          1
Oona Won is eliminated.
Round 2 tallies:
Tayra Tree                                        4
Car Tay Fower                                     4
Beeso Tu                                          2
Beeso Tu is eliminated.
Round 3 tallies:
Tayra Tree                                        6
Car Tay Fower                                     4
Tayra Tree is elected.
-------------------------------------------------------------------------------

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

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

             END TEST CASE OUTPUT   2009-03-19 10:10:27-04

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