FastSubmittedCount

toloka.client.conditions.FastSubmittedCount | Source code

FastSubmittedCount(
self,
operator: CompareOperator,
value: Optional[int] = None
)

The number of assignments completed by a Toloker too fast.

FastSubmittedCount is used with collectors:

Examples:

pool = toloka.client.pool.Pool()
pool.quality_control.add_action(
collector=toloka.client.collectors.AssignmentSubmitTime(
history_size=5, fast_submit_threshold_seconds=20
),
conditions=[toloka.client.conditions.FastSubmittedCount > 3],
action=toloka.client.actions.RejectAllAssignments(public_comment='Too fast responses.')
)

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming