Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way for us to "check off" people who have won #3

Open
jetpacktuxedo opened this issue Jan 14, 2018 · 4 comments
Open

Add a way for us to "check off" people who have won #3

jetpacktuxedo opened this issue Jan 14, 2018 · 4 comments

Comments

@jetpacktuxedo
Copy link
Contributor

theoretically the system we used opens us up to people double-claiming prizes

@brandenbyers
Copy link
Contributor

I suggest we create a new CSV with winners removed. That way we can run the script again on the second CSV if needed. And then on the third and so on.

@jetpacktuxedo
Copy link
Contributor Author

Yeah, but that should be a part of the system. Either creating a csv with the original winners stripped out as a default function or maybe like a prompt to rerun or something.

@jameshly
Copy link
Collaborator

So re-raffling can be done pretty easily, but how are we going to mark off people who have claimed their prizes as we give prizes out?

@brandenbyers
Copy link
Contributor

See above. I suggest creating new csv and html files. And call the function three times. So when the script is run, it automatically creates two extra CSV files and 3 total html files.

Original CSV file
Redraw CSV 1 (with original winners removed)
Redraw CSV 2 (with original and second redraw removed)

winners-1.html
winners-2.html
winners-3.html

That way we only need to run it once for all of our redraws. And we use the redraws I’d we need them.

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

No branches or pull requests

3 participants