Christos#5
Open
ChristosPsaro wants to merge 37 commits intoannalenalamprecht:mainfrom
Open
Conversation
Note that you need extra participants with valid email in order for it to work
Small changes
created file for the groups, wrote code for what to do when remainder of participants/group size isn't equal to 0
changed all 'pair(s)' to 'group(s)' and wrote code to make the rest of the groups once the remainder has been dealt with. Currently returning error related to ngroups
Error fixed. Works now.
Added code, to read all partisipants from a google sheet. This google sheet is linked to a google form for sign up
make group function created
Since we only need to read the participant list and don't write to the google drive, there is no need for a connection. So revomed this.
Created a new main file
Just removed the files from the test merge I did before
As test
Update Mystery Coffee 2.0.py
replace the existing code for creating new groups with this code. (Hopefully) this new code will first load all previous groups and convert the set of new groups to a tuple of tuples for comparison. Then, it will check if any previous groups have the same participants as new groups. If a duplicate group is found, it will reset new groups and try to create new groups again until successful. Finally, it will return the tuple of tuples of the new groups, which will then be used to output the groups as before.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.