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 user completes tasks.
- Issuing training tasks with uneven frequency. Allows you to change the frequency of training tasks as the user completes tasks.
Parameters Description
Parameters | Type | Description |
---|---|---|
scope |
Optional[Scope] | How to count tasks completed by the user:
|
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. |