Skip to content

Christos#5

Open
ChristosPsaro wants to merge 37 commits intoannalenalamprecht:mainfrom
SvenBerndsen:Christos
Open

Christos#5
ChristosPsaro wants to merge 37 commits intoannalenalamprecht:mainfrom
SvenBerndsen:Christos

Conversation

@ChristosPsaro
Copy link
Copy Markdown

No description provided.

SvenBerndsen and others added 30 commits March 3, 2023 18:28
Note that you need extra participants with valid email in order for it to work
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
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants