Skip to content
Snippets Groups Projects
Commit 176c53cb authored by Simon Will's avatar Simon Will
Browse files

Save 2 out of 5 pieces of feedback in the dev split

parent cb690f72
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,8 @@ def save_feedback():
db.session.commit()
if not split_was_explicitly_set:
if fb.id % 5 == 0:
fb.split = 'test'
elif fb.id % 5 == 4:
# Out of five pieces of feedback, number 4 and 5 are saved as dev
if fb.id % 5 in [0, 4]:
fb.split = 'dev'
db.session.commit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment