toloka.client.conditions.RejectedAssignmentsCount
| Source code
RejectedAssignmentsCount( self, operator: CompareOperator, value: Optional[int] = None)
The number of rejected assignments of a task suite.
RejectedAssignmentsCount
is used with collectors:
Examples:
pool = toloka.client.pool.Pool()pool.quality_control.add_action( collector=toloka.client.collectors.AssignmentsAssessment(), conditions=[toloka.client.conditions.AcceptedAssignmentsCount < toloka.client.conditions.RejectedAssignmentsCount], action=toloka.client.actions.ChangeOverlap(delta=1, open_pool=True),)
Last updated: August 28, 2023