Toloka documentation


toloka.client.task.TaskPatch | Source code

    overlap: Optional[int] = None,
    infinite_overlap: Optional[bool] = None,
    baseline_solutions: Optional[List[Task.BaselineSolution]] = None,
    known_solutions: Optional[List[BaseTask.KnownSolution]] = None,
    message_on_unknown_solution: Optional[str] = None

Parameters for changing overlap or baseline_solutions of a specific Task

Parameters Description

Parameters Type Description
overlap Optional[int]

Overlap value.

infinite_overlap Optional[bool]

Infinite overlap:

  • True — Assign the task to all Tolokers. It is useful for training and control tasks.
  • False — Overlap value specified for the task or for the pool is used.

    Default value: False.

baseline_solutions Optional[List[Task.BaselineSolution]]

Preliminary responses. This data simulates Tolokers' responses when calculating confidence in a response. It is used in dynamic overlap (also known as incremental relabeling or IRL) and aggregation of results by skill.

known_solutions Optional[List[BaseTask.KnownSolution]]

Responses and hints for control tasks and training tasks. If multiple output fields are included in the validation, all combinations of the correct response must be specified.

message_on_unknown_solution Optional[str]

Hint for the task (for training tasks).