QualityControlConfig

toloka.client.quality_control.QualityControl.QualityControlConfig | Source code

QualityControlConfig(
self,
*,
rules: Optional[List[RuleConfig]] = None,
collector_config: Optional[CollectorConfig] = None
)

Quality control block

Quality control blocks help regulate access to a project or pool: you can filter out Tolokers who give incorrect answers in control tasks, skip many tasks in a row, and so on.

The block consists of two parts: condition and the action to be performed when the condition is met. There may be several conditions, then they are combined using logical And.

Parameters Description

ParametersTypeDescription
rulesOptional[List[RuleConfig]]

Conditions and action if conditions are met.

collector_configOptional[CollectorConfig]

Parameters for collecting statistics (for example, the number of task skips in the pool).

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming