Equal-Vote / star-server

STAR Voting is an upgrade to our current way of voting that allows voters to score candidates from 0 to 5. Ultimately, STAR Voting elects candidates who better represent the whole of the electorate. We are building a site that lets everyone from individuals to organizations use STAR Voting to host simple polls or run secure elections.
GNU Affero General Public License v3.0
18 stars 21 forks source link

Download ballots - add election ID #632

Open masiarek opened 1 month ago

masiarek commented 1 month ago

As Is: ballot_id,a,b,c,d a16315ff-068a-46bc-85cb-145529e032f4,0,0,0,0 09f24fdc-c7fa-4b3a-a5cd-40764589d17e,0,0,0,0 9c91811b-b4ba-4fad-9ab1-05ef74920a24,0,0,0,0

Should be: https://dev.star.vote/x3kbxk/admin/ballots

ballot_id,a,b,c,d a16315ff-068a-46bc-85cb-145529e032f4,0,0,0,0 09f24fdc-c7fa-4b3a-a5cd-40764589d17e,0,0,0,0 9c91811b-b4ba-4fad-9ab1-05ef74920a24,0,0,0,0

ArendPeter commented 1 month ago

Could you clarify? I think those blocks are the same, and I can't access the link

masiarek commented 1 month ago

The new - the different line is - at the top of the ballot download (in the should-be section). This is the different line in the Should be section: "https://dev.star.vote/x3kbxk/admin/ballots"

If someone would forward me this file with the downloaded data and claim that something is wrong with the download - we have no way of knowing without the election ID - from which election the data came from.

ArendPeter commented 1 month ago

ah I see

I adding a line at the top of the CSV could make it harder to use the file in a spreadsheet editor, but perhaps we can include the election id in the file name

masiarek commented 1 month ago

yes - this is a better approach - add election ID to the file name (CSV download).