Recompletion of assignments

Toloka can resend tasks for completion if:

  • The user lost access to the pool because of the skill filter.

  • The requester banned the user from tasks.

  • The tasks didn't pass review during post-acceptance.

Example for a JSON block

Re-assign task suites if a quality control rule or skill filter was triggered

Copy the JSON object and add it to the pool parameters:

{
  "configs": [{
    "collector_config": {
      "type": "USERS_ASSESSMENT"
    },
    "rules": [{
      "conditions": [{
          "key": "pool_access_revoked_reason",
          "operator": "EQ",
          "value": "SKILL_CHANGE"
        },
        {
          "key": "skill_id",
          "operator": "EQ",
          "value": "2626"
        }
      ],
      "action": {
        "type": "CHANGE_OVERLAP",
        "parameters": {
            "delta": 1,
            "open_pool": true
        }
      }
    }]
  }]
}

Key

Value

Data type

Required during creation

rules.conditions.key

The value that is checked in the rule:

  • pool_access_revoked_reason — The reason the user lost access to the pool.

String

Yes

rules.conditions.value

The reason the user lost access to the pool:

  • SKILL_CHANGE — The skill level changed.

  • RESTRICTION — The user was blocked by a quality control rule (for example, for fast responses).

String

Yes

rules.conditions.key

Only count cases when the user lost access to tasks due to a drop in the skill level: "key": "skill_id".

String

No

rules.conditions.value

The ID of the skill to check for re-assigning task suites.

String

No

rules.action.type

CHANGE_OVERLAP — Change the overlap. For example, to re-assign a task suite to other performers or cancel the recompletion of accepted task suites.

String

Yes

rules.action.parameters.delta

The amount to increase the overlap by in the task suite.

Number

Yes

rules.action.parameters.open_pool
Determines whether to re-open a closed pool:
  • true — Open the pool after making changes, if it is closed.
  • false — Don't open the pool after making changes, if it is closed.

Boolean

No

Key

Value

Data type

Required during creation

rules.conditions.key

The value that is checked in the rule:

  • pool_access_revoked_reason — The reason the user lost access to the pool.

String

Yes

rules.conditions.value

The reason the user lost access to the pool:

  • SKILL_CHANGE — The skill level changed.

  • RESTRICTION — The user was blocked by a quality control rule (for example, for fast responses).

String

Yes

rules.conditions.key

Only count cases when the user lost access to tasks due to a drop in the skill level: "key": "skill_id".

String

No

rules.conditions.value

The ID of the skill to check for re-assigning task suites.

String

No

rules.action.type

CHANGE_OVERLAP — Change the overlap. For example, to re-assign a task suite to other performers or cancel the recompletion of accepted task suites.

String

Yes

rules.action.parameters.delta

The amount to increase the overlap by in the task suite.

Number

Yes

rules.action.parameters.open_pool
Determines whether to re-open a closed pool:
  • true — Open the pool after making changes, if it is closed.
  • false — Don't open the pool after making changes, if it is closed.

Boolean

No