This repository was archived by the owner on Aug 18, 2020. It is now read-only.
  
  
  - 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
Elections #12
          
     Open
      
      
            CSDUMMI
  wants to merge
  68
  commits into
  master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
Elections
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    … been published or saved.
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.
both have 50%.
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.
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.
for python projects from circleci.
Updated start, removing unnecessary build instructions for Elm.
…ws if something went wrong.
| At last, I've got the tests automatically running. | 
| Got it.  | 
  
      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 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Passed tests on this version with these SEEDs:
All passed after about 66 seconds.