![]() |
Test Script Generator |
|
Instructions for Manual Edit | ||
The Manual Election Definition edit page is displayed upon clicking the "Manual" button on the main input page or the "Done" button on the Report page. The large box lists all the contest and candidate records. | ||
The box is a large multi-line text edit box. You can add, remove, or move material as in a normal multi-line text editor. The following details the format required: | ||
Contest Name | The contest name must begin with the first character on a line (that is, a contest cannot have white space beginning the line). The contest name may include any characters other than an opening brace "{" and sharp "#". | |
Vote For | Providing a vote for value is optional. If not given it will default to 1. | |
To provide a vote for value, place the number inside braces. There may be any other text inside the braces. It is an error (although rather benign) to have a set of braces without a number. | ||
Example Contest Lines | All the following contest lines are equivalent: | |
US SENATE { Vote for 1 } | ||
US SENATE {1} | ||
US SENATE { Vote for 1 only } | ||
US SENATE | ||
Candidate Name | The candidate name line must begin with at least one white space character, typically a blank. The candidate name may include any characters other than an opening brace "{" and sharp "#". | |
Party | Providing a party is optional. If not given it will default to "Non" for non-partisan. | |
To provide a party, place the party name inside braces. There may optionally be space(s) between the opening brace and the first character of the party name. Only the first three characters of the party name are used; and additional text is ignored. It is an error (although rather benign) to have a set of braces without specifying a valid party. | ||
The valid parties are: DEM, REP, LIB, and NON. (Input is case insensitive.) | ||
Example Candidate Lines | All the candidate lines following the contest are equivalent: | |
US SENATE { Vote for 1 } | ||
Marcus W. Williams { Dem } | ||
Marcus W. Williams { Democrat } | ||
Marcus W. Williams { Dem only } | ||
Marcus W. Williams {Dem} | ||
Write-In Candidate | A write-in candidate is defined by providing the candidate name "Write-In", case insensitive and with or without the dash. | |
A party designation may be added as normal. | ||
You may also supply the text that should be written in for this write-in position by following "Write-In" with a colon and the desired text, but before the party designation, if given. | ||
Normally you will not provide write-in text. If it is not given, the TSG will split the alphabet and some additional characters over all the write-in candidates to adequately test the keyboard entry. |
||
Example Write-In | Write-In | |
Write-In { Rep } | ||
Write-In: Use this text | ||
Write-In:ABCDE {NON} | ||
Ballot Question | A ballot question may be provided by giving the question as a contest and each answer as a candidate. | |
Example Question | Should taxes be decreased? | |
Yes | ||
No | ||
Comments | A comment is any text following a # character. Comments are removed from a line prior to any other parsing. | |
Example Comments | # This is a comment line | |
Candidate # {DEM} | ||
In the above, "Candidate" will be process as NON, since the party designation for DEM will be removed prior to parsing the party affiliation. | ||
Blank Lines | Blank line are ignored. If the only thing on a line is white space after the removal of any comment, the line is considered blank, and is ignored. | |
Help Index | ||
Test Script Generator (v3.1) © 2008-2010, 2014 CSTS, Dr. James A. Whitcomb Developed for the Transylvania County Board of Elections Provided as a free service by CSTS to all counties in North Carolina |