diff options
| author | stuppie | 2026-11-04 12:11:03 -0600 |
|---|---|---|
| committer | stuppie | 2026-11-04 12:11:03 -0600 |
| commit | 671a7b1b02503cfa5c9aecd40c27a0c2729a285b (patch) | |
| tree | 6cb1bd7c33e3e1d243ee5ae74decc57faaa5742d /jb/models/definitions.py | |
| parent | e99ec6b7e38113a2237dc1ff402d8f4337c651d5 (diff) | |
| download | amt-jb-671a7b1b02503cfa5c9aecd40c27a0c2729a285b.tar.gz amt-jb-671a7b1b02503cfa5c9aecd40c27a0c2729a285b.zip | |
strip out AMT
Diffstat (limited to 'jb/models/definitions.py')
| -rw-r--r-- | jb/models/definitions.py | 64 |
1 files changed, 0 insertions, 64 deletions
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 |
