Resending tasks for completion

Toloka can re-send 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.

To have tasks automatically re-sent for completion, add a quality control rule to the pool.

Re-assign tasks 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 hasty 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 tasks.

String

No

rules.action.type

The action when this rule is met:

  • CHANGE_OVERLAP — Increase the overlap in the task suite (or the task, if the “smart mixing” option is used).

String

Yes

rules.action.parameters.delta

The amount to increase the overlap by in the task suite (or the task, if the “smart mixing” option is used).

Number

Yes

rules.action.parameters.open_pool

Changing the pool status:

  • 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

Yes

Re-assign tasks that didn't pass offline acceptance.

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

{
  "configs": [
    {
      "collector_config": {
        "type": "ASSIGNMENTS_ASSESSMENT"
      },
      "rules": [
        {
          "conditions": [
            {
              "key": "rejected_assignments_count",
              "operator": "GTE",
              "value": 1
            },
            {
              "key": "assessment_event",
              "operator": "EQ",
              "value": "REJECT"
            }
          ],
          "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:

  • pending_assignments_count — The number of identical task suites (or tasks, if the “smart mixing” option is used) that are completed and waiting to be checked.

  • rejected_assignments_count — The number of identical task suites (or tasks, if the “smart mixing” option is used) that were rejected during offline acceptance.

  • accepted_assignments_count — The number of identical task suites (or tasks, if the “smart mixing” option is used) that were accepted during offline acceptance.

String

Yes

rules.action.type

The action when this rule is met:

  • CHANGE_OVERLAP — Increase the overlap in the task suite (or the task, if the “smart mixing” option is used).

String

Yes

rules.action.parameters.delta

The amount to increase the overlap by in the task suite (or the task, if the “smart mixing” option is used).

Number

Yes

rules.action.parameters.open_pool

Changing the pool status:

  • 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

Yes