RejectedAssignmentsRate

toloka.client.conditions.RejectedAssignmentsRate | Source code

RejectedAssignmentsRate(
self,
operator: CompareOperator,
value: Optional[float] = None
)

A percentage of rejected assignments submitted by a Toloker.

RejectedAssignmentsRate is used with collectors:

See also:

Examples:

pool = toloka.client.pool.Pool()
pool.quality_control.add_action(
collector=toloka.client.collectors.AcceptanceRate(),
conditions=[
toloka.client.conditions.TotalAssignmentsCount > 2,
toloka.client.conditions.RejectedAssignmentsRate > 40,
],
action=toloka.client.actions.RestrictionV2(
scope='PROJECT', duration=15, duration_unit='DAYS'
)
)

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