toloka.client.conditions.FailRate
| Source code
FailRate( self, operator: CompareOperator, value: Optional[float] = None)
Deprecated. The percentage of unsolved captchas.
FailRate
is used with collectors:
Examples:
pool = toloka.client.pool.Pool()pool.set_captcha_frequency('MEDIUM')pool.quality_control.add_action( collector=toloka.client.collectors.Captcha(history_size=5), conditions=[ toloka.client.conditions.FailRate > 40, toloka.client.conditions.StoredResultsCount >= 3 ], action=toloka.client.actions.RestrictionV2( scope='PROJECT', duration=15, duration_unit='DAYS' ))
Last updated: August 28, 2023