From 671a7b1b02503cfa5c9aecd40c27a0c2729a285b Mon Sep 17 00:00:00 2001 From: stuppie Date: Wed, 4 Nov 2026 12:11:03 -0600 Subject: strip out AMT --- jb/models/definitions.py | 64 ------------------------------------------------ 1 file changed, 64 deletions(-) delete mode 100644 jb/models/definitions.py (limited to 'jb/models/definitions.py') diff --git a/jb/models/definitions.py b/jb/models/definitions.py deleted file mode 100644 index 4ae7a21..0000000 --- a/jb/models/definitions.py +++ /dev/null @@ -1,64 +0,0 @@ -from enum import IntEnum - - -class AssignmentStatus(IntEnum): - # boto3.mturk specific - Submitted = 0 # same thing as Reviewable - Approved = 1 - Rejected = 2 - - # GRL specific - Accepted = 3 - PreviewState = 4 - # Invalid = 5 - # NotExist = 6 - - -class HitStatus(IntEnum): - """ - https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_HITDataStructureArticle.html - """ - - # Official boto3.mturk - Assignable = 0 - Unassignable = 1 - Reviewable = 2 - Reviewing = 3 - Disposed = 4 - - # GRL Specific - NotExist = 5 - - -class HitReviewStatus(IntEnum): - NotReviewed = 0 - MarkedForReview = 1 - ReviewedAppropriate = 2 - ReviewedInappropriate = 3 - - -class ReportValue(IntEnum): - """ - The reason a user reported a task. - """ - - # Used to indicate the user exited the task without giving feedback - REASON_UNKNOWN = 0 - # Task is in the wrong language/country, unanswerable question, won't proceed to - # next question, loading forever, error message - TECHNICAL_ERROR = 1 - # Task ended (completed or failed, and showed the user some dialog - # indicating the task was over), but failed to redirect - NO_REDIRECT = 2 - # Asked for full name, home address, identity on another site, cc# - PRIVACY_INVASION = 3 - # Asked about children, employer, medical issues, drug use, STDs, etc. - UNCOMFORTABLE_TOPICS = 4 - # Asked to install software, signup/login to external site, access webcam, - # promise to pay using external site, etc. - ASKED_FOR_NOT_ALLOWED_ACTION = 5 - # Task doesn't work well on a mobile device - BAD_ON_MOBILE = 6 - # Too long, too boring, confusing, complicated, too many - # open-ended/free-response questions - DIDNT_LIKE = 7 -- cgit v1.2.3