toloka.client.conditions.TotalAnswersCount
| Source code
TotalAnswersCount( self, operator: CompareOperator, value: Optional[int] = None)
The number of completed tasks.
TotalAnswersCount
is used with collectors:
Examples:
pool = toloka.client.pool.Pool()pool.quality_control.add_action( collector=toloka.client.collectors.MajorityVote(answer_threshold=2), conditions=[ toloka.client.conditions.TotalAnswersCount > 9, toloka.client.conditions.IncorrectAnswersRate > 60, ], action=toloka.client.actions.RejectAllAssignments())
Last updated: August 28, 2023