ABIF

From electowiki
Revision as of 08:34, 15 June 2021 by RobLa (talk | contribs) (Moving the test cases to GitHub)

ABIF stands for "aggregated ballot information format"[1]. As of May 2021, it has been undergoing discussion on the /r/EndFPTP subreddit and on the EM-list.[2][3][4]

ABIF uses the UTF-8 character encoding.

Test cases

The normative set of test cases are on GitHub, and we'll be expanding them there. Among the things we want to test for:

  • Unordered scores on a bundle line (Test case #1)[5]
  • Unscored (but ranked) candidates delimited only by ">" and "=" (Test case #2)[6]
  • Ranked and rated candidates (Test case 3)[7]
  • Bracketed, inlined candidate tokens with many "high UTF-8" characters, like "ñ", "í", "á", "蘇","業" (Test case 4)[8]
  • Declared candidate tokens(Test case 5)[9]
  • Declared candidate tokens, with unordered scores (Test case 6)[10]
  • Test case 6
    • Bracketed candidate tokens (declared). Ranked and scored.
  • Test case 7
    • Bracketed candidate tokens (declared). Ranked with no score.
  • Test case 8
    • Bracketed candidate tokens (mixed). Ranked with no score. Most extra whitespace removed.
  • Test case 9
    • Asterisk-delimited multiplier (suggested by Jan Šimbera in May 2020: [11])


Footnotes