1. Task Ingestion
- Source of Tasks: Tasks could come from various sources, such as uploaded datasets, user-submitted requests, or our external API.
- Task Metadata: Each task is accompanied by metadata, such as priority, time taken, flags, etc.
2. Task Queue
- Centralized Queue: Eligible pending tasks are selected by highest priority first. Tasks with the same priority are ordered by creation time, newest first.
3. Annotator Assignment
- Assignment: Each annotator has a queue of assigned tasks. When selecting a task, SGP compares the highest-priority eligible task in the personal queue with the highest-priority eligible task in the general queue. The personal task wins a priority tie; otherwise, the higher-priority task is selected.
- Skipping Tasks: Skipping unassigns the current task and reduces its priority below the lowest-priority task in the personal and general queues. Selection then follows the priority rules above.
4. Workflow Management
- Status Tracking: Each task moves through various statuses: Pending → In Progress → Completed → Audit (optional).
- Timers and Deadlines: Tasks may have timers to ensure goals are met. Annotators may see time taken for a given task.
5. Quality Control
- Review and Feedback: Some tasks are reviewed by a QA/audit team or a second annotator to ensure accuracy.
- Rework Mechanism: Tasks flagged for errors are returned to the queue for re-annotation or correction.
6. Annotator Dashboard
- Real-Time Updates: Annotators see their task queue, progress, and performance metrics on a dashboard.
- Claim/Auto-Assign: Annotators may either claim tasks manually or receive auto-assigned tasks based on the system logic.
7. Reporting and Analytics
- Throughput Metrics: Track the number of tasks completed over time.
- Annotator Performance: Measure individual performance (e.g., accuracy, speed).
Allowed Operations on the Queue
-
Task Insertion
- Automatic: New tasks are automatically added to the queue when they’re ingested.
- Priority-Based: New annotation tasks receive equal priority. Queue selection uses each task’s priority; users cannot insert a task at a chosen priority or queue position.
-
Task Retrieval
- Annotators receive an eligible task according to priority, personal-queue tie preference, and newest-first ordering within each queue.
-
Reordering
- Skipping a task lowers its priority according to the rules above. The queue does not provide a user control for manually reordering tasks.
-
Task State Updates
- As tasks progress, their state changes: Not Started → In Progress → Completed.
-
Queue Monitoring
- View queue size, task statuses, and distribution of work.
- Analytics help optimize the queue by identifying bottlenecks or overdue tasks.
Disallowed Operations on the Queue
-
Random Task Assignment
- Annotators are not allowed to randomly pick tasks from the queue, as this disrupts prioritization and fairness.
- Cherry-picking easy tasks over complex ones can lead to inefficiency and inequality. In most systems are not able to see the tasks before they claim it. In SGP, annotators can view a task before claiming.
-
Bypassing Priority Rules
- Tasks with lower priority can not be processed before high-priority tasks unless explicitly overridden by system logic.
-
Manual Task Deletion
- Tasks can not be arbitrarily deleted from the queue to prevent data loss or missed deliverables.
- Deletions can only occur through an admin-verified process.
-
Batch Assignments
- Annotators should not be allowed to pull multiple tasks at once unless the queue system supports batch assignments (e.g., microtasks).
-
Infinite Locking
- Tasks should not remain “locked” to an annotator indefinitely. If an annotator doesn’t complete or reject a task in a reasonable timeframe, the task should return to the queue for reassignment.