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:
Parameters | Type | Description |
---|---|---|
scope | Optional[Scope] | How to count tasks completed by the Toloker:
|
distribution | Optional[Distribution] | Distribution of tasks within an interval. Parameter has only one possible: value - UNIFORM. |
window_days | Optional[int] | Period in which completed tasks are counted (number of days). |
intervals | Optional[List[Interval]] | Interval borders and number of tasks in an interval. |