aboutsummaryrefslogtreecommitdiff
path: root/app/utils/tasks.py
AgeCommit message (Collapse)AuthorFilesLines
2019-09-16Add a lock to the task assignmentGertjan van den Burg1-0/+13
While it shouldn't take very long, this should nonetheless avoid race conditions on the task assignment logic. Following the discussion here: https://stackoverflow.com/q/18213619
2019-09-16Revise task assignment to randomly assign and allow extrasGertjan van den Burg1-6/+28
This commit changes the task assignment to randomly assign tasks that need more annotations with a bias towards those that are close to being annotated with our desired number of annotations. Users are further allowed to keep annotating datasets if they want to.
2019-09-13Minor commentsGertjan van den Burg1-0/+1
2019-09-05Code cleanupGertjan van den Burg1-1/+1
2019-09-05Don't assign task to user that has unfinished tasksGertjan van den Burg1-0/+7
2019-06-06bugfix for sorting datasetsGertjan van den Burg1-1/+1
2019-06-03Rewrite the task assignment flowGertjan van den Burg1-84/+40
With the demo in place, we're rewriting the task assignment flow such that users only get a task assigned when: 1. They finish the demo 2. They finish a task 3. They login again. This way we can better balance the datasets and we won't have datasets that don't get enough annotations because some users didn't finish tasks they were assigned.
2019-04-01Move task assignment to separate moduleGertjan van den Burg1-0/+103
Also, add automatic assign on user signup