AcceptedAssignmentsRate

toloka.client.conditions.AcceptedAssignmentsRate | Source code

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

The percentage of accepted assignments out of all checked assignments from a Toloker.

AcceptedAssignmentsRate is used with collectors:

Examples:

pool = toloka.client.pool.Pool()
pool.quality_control.add_action(
collector=toloka.client.collectors.AcceptanceRate(),
conditions=[
toloka.client.conditions.TotalAssignmentsCount > 10,
toloka.client.conditions.AcceptedAssignmentsRate > 90,
],
action=toloka.client.actions.SetSkill(skill_id='11294', skill_value=1)
)

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