<div dir="auto">Hi All,<div dir="auto"><br></div><div dir="auto">Another source of inspiration could be the Pivot Libre project's Ballot File Format. Documentation is hosted on GitHub pages.</div><div dir="auto"><br></div><div dir="auto"><a href="https://pivot-libre.github.io/bff/" target="_blank" rel="noreferrer">https://pivot-libre.github.io/bff/</a><br></div><div dir="auto"><br></div><div dir="auto">Issues and contributions can be made on GitHub.</div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/pivot-libre/pivot-libre.github.io/issues">https://github.com/pivot-libre/pivot-libre.github.io/issues</a></div><div dir="auto"><br></div><div dir="auto">I'm interested in staying in the loop on any ranked ballot community standards efforts. I don't have time to drive the conversation right now.</div><div dir="auto"><br></div><div dir="auto">Whether or not the specifics of BFF are to the community's liking, I recommend considering using a similar approach with GitHub as a collaboration and website site hosting platform. I believe several organizations have used this approach successfully for some fairly complex standards.</div><div dir="auto"><br></div><div dir="auto">Example:</div><div dir="auto"><br></div><div dir="auto"><a href="https://cfconventions.org/index.html">https://cfconventions.org/index.html</a></div><div dir="auto"><a href="https://github.com/cf-convention">https://github.com/cf-convention</a><br></div><div dir="auto"><br></div><div dir="auto">All the best,</div><div dir="auto"><br></div><div dir="auto">Carl</div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, May 27, 2021, 3:34 PM John Karr <<a href="mailto:brainbuz@brainbuz.org" target="_blank" rel="noreferrer">brainbuz@brainbuz.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As the author of Vote::Count, a standardized format for ballots would be <br>
a big plus. When I've been able to collect sample data, the first thing <br>
I need to do is convert it to my format. Currently Vote::Count has two <br>
formats, a text one for ranked ballots and a json/yaml format for range <br>
ballots. The documentation on my formats is here: <br>
<a href="https://metacpan.org/pod/Vote::Count::ReadBallots" rel="noreferrer noreferrer noreferrer" target="_blank">https://metacpan.org/pod/Vote::Count::ReadBallots</a><br>
<br>
I'm not on Reddit, but I think creating a working group of people with <br>
an interest to propose a standard would be a great idea, and I'm <br>
interested in helping.<br>
<br>
A standard format would allow creation of a library of data for which <br>
electowiki would seem to be a natural home.<br>
<br>
On 5/27/21 4:02 PM, <a href="mailto:election-methods-request@lists.electorama.com" rel="noreferrer noreferrer" target="_blank">election-methods-request@lists.electorama.com</a> wrote:<br>
<br>
> Send Election-Methods mailing list submissions to<br>
> <a href="mailto:election-methods@lists.electorama.com" rel="noreferrer noreferrer" target="_blank">election-methods@lists.electorama.com</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="http://lists.electorama.com/listinfo.cgi/election-methods-electorama.com" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.electorama.com/listinfo.cgi/election-methods-electorama.com</a><br>
><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:election-methods-request@lists.electorama.com" rel="noreferrer noreferrer" target="_blank">election-methods-request@lists.electorama.com</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:election-methods-owner@lists.electorama.com" rel="noreferrer noreferrer" target="_blank">election-methods-owner@lists.electorama.com</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Election-Methods digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. (no subject) (Rob Lanphier)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Wed, 26 May 2021 23:38:14 -0700<br>
> From: Rob Lanphier <<a href="mailto:roblan@gmail.com" rel="noreferrer noreferrer" target="_blank">roblan@gmail.com</a>><br>
> To: <a href="mailto:election-methods@lists.electorama.com" rel="noreferrer noreferrer" target="_blank">election-methods@lists.electorama.com</a><br>
> Subject: [EM] (no subject)<br>
> Message-ID:<br>
> <CAK9hOYn2T=ympC7gEd8wS_8S8yjzK==<a href="mailto:xsmEfNKWo99cBjaXDgA@mail.gmail.com" rel="noreferrer noreferrer" target="_blank">xsmEfNKWo99cBjaXDgA@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="UTF-8"<br>
><br>
> Hi folks,<br>
><br>
> There's an interesting discussion happening on reddit about ASCII<br>
> formats for aggregated ballot images. I'll provide a deep link to my<br>
> comment here:<br>
><br>
> <<a href="https://www.reddit.com/r/EndFPTP/comments/nkm2cd/standardizing_cardinal_ballot_notation/gzls6pj/" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.reddit.com/r/EndFPTP/comments/nkm2cd/standardizing_cardinal_ballot_notation/gzls6pj/</a>><br>
><br>
> What the original reddit poster (/user/jman722) made me realize is<br>
> that it's possible to come up with a format that works for both range<br>
> ballots and ranked ballots. The range ballots can be on a scale of<br>
> 0-5, where 5 is "awesome", and 0 is "awful". The ranked ballots can<br>
> be A>B>C.<br>
><br>
> I'm going to use the example that the original reddit poster made:<br>
><br>
> 12: Allie/5, Billy/5, Candace/4, Dennis/3, Edith/3, Frank/2, Georgie/1, Harold/0<br>
> 7: Allie/4, Billy/0, Candace/2, Dennis/3, Edith/1, Frank/0, Georgie/5, Harold/3<br>
> 5: Allie/0, Billy/3, Candace/2, Dennis/3, Edith/4, Frank/5, Georgie/3, Harold/4<br>
><br>
> That format is good but not great. It takes a careful eye to see that<br>
> Allie, Billy, Frank, and Georgie are the passionate favorites (earning<br>
> a "5" score), and another close look to see that Allie, Billy, Frank,<br>
> and Harold are listed as completely unacceptable (earning a "0" score)<br>
><br>
> My old format that I used for my 1996 Perl script that I wrote and<br>
> published in The Perl Journal would express those ballots this way:<br>
><br>
> 12: Allie=Billy>Candace>Dennis=Edith>Frank>Georgie>Harold<br>
> 7: Georgie>Allie>Dennis=Harold>Candace>Edith>Billy=Frank<br>
> 5: Frank>Edith=Harold>Billy=Dennis=Georgie>Candace>Allie<br>
><br>
> With this format, it becomes clear that 12 voters really like Allie<br>
> and Billy and really don't like Harold. The next 7 voters really like<br>
> Georgie, and really don't like Billy and Frank. The remaining 5<br>
> voters really like Frank, but really dislike Allie. One has to add up<br>
> 12+7+5 to realize there are 24 voters in this election.<br>
><br>
> The ratings are stripped from my old 1996-ish format. It only<br>
> provides the following parse tokens:<br>
><br>
> [quantity]: [cand5yay] [> or =] [cand4good] [> or =] ... [cand0boo]<br>
><br>
> It seems as though it would be possible to come up with a merged<br>
> format that would express the range ballots above like this:<br>
><br>
> 12: Allie/5 =Billy/5 >Candace/4 >Dennis/3 =Edith/3 >Frank/2 >Georgie/1 >Harold/0<br>
> 7: Georgie/5 >Allie/4 >Dennis/3 =Harold/3 >Candace/2 >Edith/1 >Billy/0 =Frank/0<br>
> 5: Frank/5 >Edith/4 =Harold/4 >Billy/3 =Dennis/3 =Georgie/3 >Candace/2 >Allie/0<br>
><br>
> The ">", "=", and "," characters could all be optional delimiters<br>
> between the candidate/score tuples on each line (though at least one<br>
> of those three delimiters WOULD be required). If ">" or "=" is used as<br>
> a delimiter, then the candidates MUST be ordered by score (highest<br>
> score first). Candidate tokens can be one or more ASCII characters<br>
> ([A-Z] or [a-z]) OR the candidate token MUST start with a square<br>
> bracket ([) and end with the closing square bracket (]), and the<br>
> intervening text can be any unicode character (e.g. [Do?a Garc?a<br>
> M?rquez] or [Ximena Pe?a] or [???]) . Whitespace can be discarded, but<br>
> SHOULD be included for legibility.<br>
><br>
> Linters could be created to deduplicate ballot lines, sort the<br>
> candidate by score on each line, convert commas to ">" and "=" (for<br>
> ranked ballot equivalents), and add whitespace for readability. They<br>
> could optionally normalize the candidates to a range of ASCII letters<br>
> (e.g. changing "Allie" to "A", "Billy" to "B", etc).<br>
><br>
> The goal would be to make it useful for two people debating whether<br>
> the Condorcet criterion or the Monotonicity criterion is more<br>
> important. They could both easily crank out a set of ballots that<br>
> could be fed into either a ranked-ballot counter or a rated-ballot<br>
> counter. Having the candidate tuples sorted in each line makes it<br>
> clearer what the preferences were of the set of voters represented by<br>
> the given line.<br>
><br>
> I think that parsers could be written for this format such that they<br>
> follow Postel's Law (a.k.a the "robustness principle"):<br>
> <a href="https://en.wikipedia.org/wiki/Robustness_principle" rel="noreferrer noreferrer noreferrer" target="_blank">https://en.wikipedia.org/wiki/Robustness_principle</a><br>
><br>
> To quote that^: "be conservative in what you do, be liberal in what<br>
> you accept from others"<br>
><br>
> People trying to express ranked ballots could drop the scores, and<br>
> ONLY include ">" and "=" as a delimiter between candidates, People<br>
> trying to express rated ballots could use commas (",") instead of ">"<br>
> and "=". Programmers trying to parse handcrafted scenarios could<br>
> figure out how to fill in the blanks.<br>
><br>
> I'm tempted to write a reference parser for this, but first, what do<br>
> you all think? Let the list know! Let me know! Let reddit know!<br>
> :-D<br>
><br>
> Thanks<br>
> Rob<br>
><br>
> p.s. I'm thinking of calling my version "ABIF", standing for<br>
> "Aggregated Ballot Image Format". I may just document it here:<br>
> <a href="https://electowiki.org/wiki/User:RobLa/ABIF" rel="noreferrer noreferrer noreferrer" target="_blank">https://electowiki.org/wiki/User:RobLa/ABIF</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> Election-Methods mailing list<br>
> <a href="mailto:Election-Methods@lists.electorama.com" rel="noreferrer noreferrer" target="_blank">Election-Methods@lists.electorama.com</a><br>
> <a href="http://lists.electorama.com/listinfo.cgi/election-methods-electorama.com" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.electorama.com/listinfo.cgi/election-methods-electorama.com</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of Election-Methods Digest, Vol 202, Issue 7<br>
> ************************************************<br>
<br>
----<br>
Election-Methods mailing list - see <a href="https://electorama.com/em" rel="noreferrer noreferrer noreferrer" target="_blank">https://electorama.com/em</a> for list info<br>
</blockquote></div>
</div>