toloka.client.actions.ChangeOverlap | Source code
ChangeOverlap(self,*,delta: Optional[int] = None,open_pool: Optional[bool] = None)
Increases the overlap of a task.
You can use this rule only with UsersAssessment and AssignmentsAssessment collectors.
An overlap increment.
The example shows how to increase task overlap when you reject assignments.
new_pool = toloka.pool.Pool(....)new_pool.quality_control.add_action(collector=toloka.collectors.AssignmentsAssessment(),conditions=[toloka.conditions.AssessmentEvent == toloka.conditions.AssessmentEvent.REJECT],action=toloka.actions.ChangeOverlap(delta=1, open_pool=True),)