Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Elections #12

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open

Elections #12

wants to merge 68 commits into from

Conversation

CSDUMMI
Copy link
Owner

@CSDUMMI CSDUMMI commented Feb 18, 2020

Passed tests on this version with these SEEDs:

SEED=47u8888888885555iiiiiiiiii59999993n
SEED=ABnnnnnnnnnnn_________e_eIU-e
SEED=Abc:niuw 
SEED=AB²293j99999_ij_ij-ji222ßß??j

All passed after about 66 seconds.

abbashan03 and others added 30 commits January 28, 2020 17:26
This function saves the content of
page in the respective cache, if it
isn't already a member of those caches.
And moved Message type to Messages.elm
…the start script. Thus we don't need root to execute ./start
…lished signed twice.

This is due so you can publish them encrypted and unencrypted to check 
if a user has voted and see all the votes, without associating them to a 
username.
pops the last element of the list
automatically, thus deleting the first
choice of the vote, if called on the
original vote.
previous commit, that is unnecessary.
because it will be replaced by
a test file.
with some test cases for Server/election.py for random ballots.
CSDUMMI and others added 9 commits February 16, 2020 17:38
Tested a little bit.
But can't find a way to determine an automated test, without just 
copying the code from vote.
Also put the test for NoneOfTheOtherOptions into vote.
Removed imports
SEED ABCDEFGHIJIkkmmMMMMMMMMMMMMMMM
because thrown_out is negative.
I suspect that the calculation of the thrown_out
is invalid or the votes somehow increased during counting,
which seems quite impossible.
…e present in the previous commit.

I am going to check for three to four further SEEDs and then declare 
this branch finished, if all of them passed their tests for I have to 
return to the master branch soon enough, as this is the most important 
of all the branches if I am to say so myself.
If no further issues arise from these tests, I am glad to count this as 
the last commit on this branch.
Four millions tests are wildly beyond the reach of it, so I regard it as 
a better solution for now to reduce the tests to 10⁵ each.
@CSDUMMI CSDUMMI added the help wanted Extra attention is needed label Feb 20, 2020
@CSDUMMI CSDUMMI added this to the Alpha phase milestone Feb 20, 2020
@CSDUMMI
Copy link
Owner Author

CSDUMMI commented Feb 20, 2020

At last, I've got the tests automatically running.
If we were to merge this, master would also always get a CI.

@CSDUMMI CSDUMMI added the critical Any and all changes to critical parts of the codebase, like elections. label Feb 21, 2020
@CSDUMMI
Copy link
Owner Author

CSDUMMI commented Feb 27, 2020

Got it. fi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Any and all changes to critical parts of the codebase, like elections. help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants