aboutsummaryrefslogtreecommitdiff
path: root/jb/flow
diff options
context:
space:
mode:
authorstuppie2026-08-30 14:25:20 -0600
committerstuppie2026-08-30 14:25:20 -0600
commit12f6fee851b68e86af658dfa17e4a0daed457dd1 (patch)
tree480a7598dc340fe1a5bdc70e4996125a17bf15de /jb/flow
parentc5367cd10130b54d1a559625c4b7a3e7166c183c (diff)
downloadamt-jb-12f6fee851b68e86af658dfa17e4a0daed457dd1.tar.gz
amt-jb-12f6fee851b68e86af658dfa17e4a0daed457dd1.zip
No more REJECT_MESSAGE_NO_WORK due to fraud
Diffstat (limited to 'jb/flow')
-rw-r--r--jb/flow/assignment_tasks.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/jb/flow/assignment_tasks.py b/jb/flow/assignment_tasks.py
index 758e0b7..18a844e 100644
--- a/jb/flow/assignment_tasks.py
+++ b/jb/flow/assignment_tasks.py
@@ -195,11 +195,12 @@ def handle_assignment_w_no_work(
amt_hit_type_id=hit.amt_hit_type_id,
)
- # They get 3 chances per week. If exceeded: Reject!
- if (am.missing_tsid_count(amt_worker_id=amt_worker_id) >= 3) or (
- am.rejected_count(amt_worker_id=amt_worker_id) >= 3
- or get_user_blocked(amt_worker_id=amt_worker_id)
- ):
+ # They get 0 chances due to abuse
+ if True:
+ # if (am.missing_tsid_count(amt_worker_id=amt_worker_id) >= 3) or (
+ # am.rejected_count(amt_worker_id=amt_worker_id) >= 3
+ # or get_user_blocked(amt_worker_id=amt_worker_id)
+ # ):
assignment = reject_assignment(
amtm=amtm,
am=am,