TaskDistributionFunction

toloka.client.task_distribution_function.TaskDistributionFunction | Source code

TaskDistributionFunction(
self,
*,
scope: Union[Scope, str, None] = None,
distribution: Union[Distribution, str, None] = None,
window_days: Optional[int] = None,
intervals: Optional[List[Interval]] = None
)

Issue of tasks with uneven frequency

Can be used for:

  • Distribution of tasks with majority opinion verification.
  • Issuing control tasks with uneven frequency. Allows you to change the frequency of verification as the Toloker completes tasks.
  • Issuing training tasks with uneven frequency. Allows you to change the frequency of training tasks as the Toloker completes tasks.

Parameters Description

ParametersTypeDescription
scopeOptional[Scope]

How to count tasks completed by the Toloker:

  • POOL - Count completed pool tasks.
  • PROJECT - Count completed project tasks.
distributionOptional[Distribution]

Distribution of tasks within an interval. Parameter has only one possible: value - UNIFORM.

window_daysOptional[int]

Period in which completed tasks are counted (number of days).

intervalsOptional[List[Interval]]

Interval borders and number of tasks in an interval.

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