Ballot counting logic

The software logic that defines the combinations of contest selections that are valid and invalid on a given ballot and, determines how the contest selections are totaled in a given election.

Source: Election Terminology Glossary - Draft, National Institute of Standards and Technology (NIST),; Glossary of terms database, U.S. Election Assistance Commission,