Quick answers

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.

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

{
   "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",
                  "parameters":{
                     "scope":"PROJECT",
                     "duration_days":1,
                     "private_comment":"More than 4 quick responses"
                  }
               }
            }
         ]
      }
   ]
}

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 hasty 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 hasty responses (out of the recent ones).

String

Yes