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.
Parameters | Type | Description |
---|---|---|
delta | Optional[int] | An overlap increment. |
open_pool | Optional[bool] |
|
Examples:
The example shows how to increase task overlap when you reject assignments.
new_pool = toloka.client.pool.Pool()new_pool.quality_control.add_action( collector=toloka.client.collectors.AssignmentsAssessment(), conditions=[toloka.client.conditions.AssessmentEvent == toloka.client.conditions.AssessmentEvent.REJECT], action=toloka.client.actions.ChangeOverlap(delta=1, open_pool=True),)
Last updated: August 28, 2023