Fast responses

You can ban a user who responds too quickly. To do this, set key values in the quality_control.configs array in the pool settings.

Example for a JSON block

In the example below, the user is blocked from accessing the task suites if 4 out of 10 responses were given too quickly. The minimum response time is 3 seconds.

You can ban a performer from your project for a given number of days, hours, minutes (at a time or in total) or permanently.

Ban for 10 days
{
   "configs": [
      {
         "collector_config": {
            "type": "ASSIGNMENT_SUBMIT_TIME",
            "parameters": {
               "history_size": 10,
               "fast_submit_threshold_seconds": 3
            }
         },
         "rules": [
            {
               "conditions": [
                  {
                     "key": "total_submitted_count",
                     "operator": "EQ",
                     "value": 10
                  },
                  {
                     "key": "fast_submitted_count",
                     "operator": "GTE",
                     "value": 4
                  }
               ],
               "action": {
                  "type": "RESTRICTION_V2",
                  "parameters": {
                     "scope": "PROJECT",
                     "duration_unit": "DAYS",
                     "duration": 10,
                     "private_comment": "More than 4 fast responses"
                  }
               }
            }     
         ]
      }
   ]
}

To set a different ban period, change the applicable parameter for the action key:

{
   ...
               "action": {
                  "type": "RESTRICTION_V2",
                  "parameters": {
                     "scope": "PROJECT",
                     "duration_unit": "HOURS",
                     "duration": 12,
                     "private_comment": "More than 4 fast responses"
                  }
               }
   ...
}

Keys

Key

Value

Data type

Required during creation

collector_сonfig.parameters.history_size

The maximum number of the user's recent responses in the project to use for calculating the percentage of fast responses.

If this field is omitted, the calculation is based on all the user's responses in the pool.

Integer

Yes

collector_сonfig.parameters.fast_submit_threshold_seconds

The minimum acceptable response time, in seconds.

Integer

Yes

rules.conditions.key

Parameters that are checked in the condition:

  • total_submitted_count — The number of the user's recent responses (less than or equal to history_size).

  • fast_submitted_count — The number of fast responses (out of the recent ones).

String

Yes

Key

Value

Data type

Required during creation

collector_сonfig.parameters.history_size

The maximum number of the user's recent responses in the project to use for calculating the percentage of fast responses.

If this field is omitted, the calculation is based on all the user's responses in the pool.

Integer

Yes

collector_сonfig.parameters.fast_submit_threshold_seconds

The minimum acceptable response time, in seconds.

Integer

Yes

rules.conditions.key

Parameters that are checked in the condition:

  • total_submitted_count — The number of the user's recent responses (less than or equal to history_size).

  • fast_submitted_count — The number of fast responses (out of the recent ones).

String

Yes