Skip to content

Commit 057cab4

Browse files
Editing screenshots and emphasizing custom messages
1 parent 627975d commit 057cab4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/source/guide/script_examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,23 +606,23 @@ The `TimelineLabels` tag is connected to the second video (`video0`), allowing a
606606

607607
You can manually [pause an annotator](quality#Pause-an-annotator) to prevent stop them from completing tasks and revoke their project access.
608608

609-
This script automatically pauses an annotator who breaks any of the following rules:
609+
This script automatically pauses an annotator who breaks any of the following rules and customizes the message that appears:
610610

611611
* Too many duplicate values `timesInARow(3)`:
612612

613-
Checks if the last three submitted annotations in the `TextArea` field (`comment`) all have the same value. If they do, it returns a warning message.
613+
Checks if the last three submitted annotations in the `TextArea` field (`comment`) all have the same value. If they do, it returns a custom warning message.
614614

615615
![Screenshot of warning](/images/project/scripts_pause1.png)
616616

617617
* Too many similar values `tooSimilar()`:
618618

619-
For the `Choices` options (`sentiment`), it computes a deviation over the past values. If the deviation is below a threshold (meaning the values are too uniform/similar), it returns a warning.
619+
For the `Choices` options (`sentiment`), it computes a deviation over the past values. If the deviation is below a threshold (meaning the values are too uniform/similar), it returns a custom warning message.
620620

621621
![Screenshot of warning](/images/project/scripts_pause2.png)
622622

623623
* Too many submissions over a period of time `tooFast()`:
624624

625-
Monitors the overall speed of annotations. It checks if, for example, 20 annotations were submitted in less than 10 minutes. If so, a warning appears.
625+
Monitors the overall speed of annotations. It checks if, for example, 20 annotations were submitted in less than 10 minutes. If so, a custom warning appears.
626626

627627
![Screenshot of warning](/images/project/scripts_pause3.png)
628628

Loading
Loading

0 commit comments

Comments
 (0)