TaskPatch

toloka.client.task.TaskPatch | Source code

TaskPatch(
self,
*,
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 a task.

Parameters description

ParametersTypeDescription
overlapOptional[int]

The new overlap value.

infinite_overlapOptional[bool]
  • True — The task is assigned to all Tolokers. It is usually set for training and control tasks.
  • False — An overlap value specified for the task or for the pool is used.

Default value: False.

baseline_solutionsOptional[List[Task.BaselineSolution]]

Preliminary responses for dynamic overlap and aggregation of results by a skill. They are used to calculate a confidence level of the first responses from Tolokers.

known_solutionsOptional[List[BaseTask.KnownSolution]]

A list of all responses considered correct. It is used with control and training tasks. If there are several output fields, then you must specify all their correct combinations.

message_on_unknown_solutionOptional[str]

A hint used in training tasks.

Last updated: August 28, 2023

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