toloka.client.conditions.IncorrectAnswersRate
| Source code
IncorrectAnswersRate( self, operator: CompareOperator, value: Optional[float] = None)
The percentage of incorrect responses.
IncorrectAnswersRate
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(public_comment='Too low quality'))
Last updated: August 28, 2023