For the complete documentation index, see llms.txt. This page is also available as Markdown.

Logic

The Logic stage directs tasks to different outputs according to logical rules you set.

Settings

From the Logic stage's settings panel, you can pick one or more logical functions (rules) with which to direct tasks.

Rules will be run top to bottom. When a task is sent to the logic stage, the first rule will be run on the task. If the task matches the rule, then it will be sent out from that rule's output. If not, the second rule will be run on the task, and so on. If, after running all rules, none match, the task is sent out from the 'Else' output.

The Settings panel will start you off with a single rule. To add more rules, click on the button. To remove a rule, click on the button to the rule's number:

Rule Options

Annotation Type

Returns as output tasks which contain a specific annotation type, such as an object or a classification answer. All conditions must be true for the logic stage to send the task from the true output.

In the example above, for a task to be sent from true, it must have a Vehicle-class object, and it must not have a Person-class object. If any of those is false (e.g. it does not have a vehicle, or it has a person) then the task will be sent out from the False output. (in short, assume there is an "AND" operator between all conditions.

Annotator

Returns as output tasks which were annotated by one or more annotators you specify.

When a task reaches a Logic stage, the Annotator rule checks the task's current assignee. This is the user from the stage that sent the task into the Logic stage.

For example, if a task goes from a Label stage to a Review or QA stage, and then from that Review or QA stage to a Logic stage, an Annotator rule in that Logic stage checks the Review or QA user, not the earlier Label stage annotator.

Random Sample

Returns as output a random percentage of tasks. For example, if you enter 55%, a randomly selected ~55% of tasks will be sent from the True output and a ~45% of tasks from the False output.

Task Duration

Returns as output tasks based on how long it has taken to annotate them.

Batch

Returns as output tasks belonging to one or more batches you specify.

Issue Error Code

Returns as output tasks having at least one issue with an error code you specify.

Last updated