Skip to content

Main content

Preferential Rank Skipped Number Token Tool

Report omitted and duplicated positive preference numbers, without deciding ballot validity.

Loading tool…

Description

Report omitted and duplicated positive preference numbers, without deciding ballot validity.

Election and representation indicators depend on the selected vote, seat, population, or eligibility denominator. A threshold also needs an explicit equality and rounding rule. A single quotient, balance, or share can support a larger counting workflow without implementing the full electoral procedure.

Report omitted and duplicated positive preference numbers, without deciding ballot validity.

When to use this tool

Use Preferential Rank Skipped Number Token when you need this particular counting term under an explicit vote, seat, threshold, or reporting-base rule.

How to use the tool and how it works

  1. Enter ranks. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read skipped, duplicates. Use the output convention below.

Require a nonempty list of integer ranks from one through 256. Return skipped integers from one through the maximum rank that are absent, and duplicated rank values in first-occurrence order.1

Input fieldMeaning and unitsAccepted input
ranksRanksRequired. Array of safe integer; maximum items 256.
Output fieldInterpretationReturned shape
skippedSkippedRequired. Array of safe integer; maximum items 256.
duplicatesRepeated rank values, returned once in first-occurrence order.Required. Array of safe integer; maximum items 256.
json
{
  "input": {
    "ranks": [
      1,
      3,
      3
    ]
  },
  "output": {
    "skipped": [
      2
    ],
    "duplicates": [
      3
    ]
  }
}

Limitations and assumptions

  • The check covers only the supplied rank tokens. It does not determine ballot validity, required ranking depth, candidate identity, or jurisdictional treatment of skipped or duplicated preferences.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Compare the supplied counting rule with the authoritative procedure for the relevant election or chamber. Complete allocations need additional eligibility, ranking, transfer, tie, and reporting rules beyond one arithmetic term.

References

  1. Calculation and input contract: political-science/preferential-rank-skipped-number-token — tool.io

Similar or alternative tools