Toloka documentation

DynamicOverlapConfig

toloka.client.pool.dynamic_overlap_config.DynamicOverlapConfig | Source code

DynamicOverlapConfig(
    self,
    *,
    type: Union[Type, str, None] = None,
    max_overlap: Optional[int] = None,
    min_confidence: Optional[float] = None,
    answer_weight_skill_id: Optional[str] = None,
    fields: Optional[List[Field]] = None
)

Dynamic overlap setting.

Allows you to change the overlap depending on how well Tolokers handle the task. Set the closing interval (auto_close_after_complete_delay_seconds). It should be enough to complete tasks with an overlap higher than the minimum. When all pool tasks are completed, aggregate the responses.

Parameters Description

Parameters Type Description
type Optional[Type]

The algorithm for dynamic overlap.

max_overlap Optional[int]

Maximum overlap. Must be higher than the values in defaults. Minimum — 1. Maximum — 30000.

min_confidence Optional[float]

Minimum confidence of the aggregated response. Values from 0 to 1.

answer_weight_skill_id Optional[str]

A skill that determines the weight of the Toloker's response. For best results, use a skill calculated as percentage of correct responses in control tasks.

fields Optional[List[Field]]

Output data fields to use for aggregating responses.