You can restrict the total amount of compensation per Toloker in a pool. When the set amount is reached, the Toloker can no longer access tasks. This limit allows you to:
Get responses from as many Tolokers as possible (for this purpose, set a low threshold, such as the price of a single task suite).
Protect yourself from robots (for this purpose, the threshold should be higher, such as 10% of the price for the entire pool).
Set key values in the quality_control.configs
array in the pool settings.
The Toloker is banned from the requester's projects when the Toloker's daily earnings on tasks in the pool reaches 20 dollars.
You can ban a Toloker for a given number of days, hours, minutes (at a time or in total), or permanently.
{ "configs": [ { "collector_config": { "type": "INCOME" }, "rules": [ { "conditions": [ { "key": "income_sum_for_last_24_hours", "operator": "GTE", "value": 20 } ], "action": { "type": "RESTRICTION_V2", "parameters": { "scope": "ALL_PROJECTS", "duration_unit": "DAYS", "duration": 10, "private_comment": "Too many tasks have been completed" } } } ] } ]}
To set a different ban period, change the
action
key:
{ ... "action": { "type": "RESTRICTION_V2", "parameters": { "scope": "ALL_PROJECTS", "duration_unit": "HOURS", "duration": 12, "private_comment": "Too many tasks have been completed" } } ...}
Parameter | Overview |
---|---|
configs[] | array of objects | required Array of quality control settings. |
configs[].collector_config | object | required Parameters for collecting statistics (for example, the number of tasks skipped in the pool). |
configs[].collector_config.type | string | required Criteria for the quality control rule:
|
configs[].collector_config.parameters | object | required if
Parameters for collecting data (depends on the quality control rule specified in the |
configs[].rules | object | required Parameters for the control rule conditions and actions. |
configs[].rules.conditions | object | required Conditions (for example, 10 task suites skipped in a row). Multiple conditions are combined with the AND operator. |
configs[].rules.conditions.key | string | required
|
configs[].rules.conditions.operator | string | required
|
configs[].rules.conditions.value | integer | required The threshold value of the variable specified in key . |
configs[].rules.action | object | required The action to perform if conditions are met (for example, block access to the project). |
configs[].rules.action.type | string | required
|
configs[].rules.action.parameters | object | required Action parameters. |
configs[].rules.action.parameters.scope | string | required
|
configs[].rules.action.parameters.skill_id | string | required if Required if type=SET_SKILL_FROM_OUTPUT_FIELD .ID of the skill to update as tasks are completed. |
configs[].rules.action.parameters.from_field | string | required if
|
configs[].rules.action.parameters.skill_value | integer | required if Required if type=SET_SKILL_FROM_OUTPUT_FIELD .A fixed value to assign to the skill (a number from 0 to 100). |
configs[].rules.action.parameters.delta | integer | required if Required if type=CHANGE_OVERLAP .The value determines the amount to change the overlap by. |
configs[].rules.action.parameters.public_comment | string | required if Required if type=REJECT_ALL_ASSIGNMENTS .Comments (the reason for rejecting responses). Available to the requester and the Toloker. |
configs[].rules.action.parameters.open_pool | boolean
|
configs[].rules.action.parameters.duration_unit | string Ban duration unit:
|
configs[].rules.action.parameters.duration | integer Ban duration. |
configs[].rules.action.parameters.private_comment | string Comments (the reason for blocking access). Visible only to the requester. |
Last updated: August 8, 2023