label

Robot data annotation guidelines template

A schema says what fields an episode has; annotation guidelines say how a person decides what goes in them. Two careful labelers given the same episode and only a schema will put phase boundaries in different places and disagree on what counts as a partial success. These guidelines turn each label into a rule with a visible cue, keep a log of the hard cases as they are decided, and set how agreement is measured, so labels stay consistent across people and over months.

Who fills it: The labeling lead, agreed with whoever owns the annotation schema and whoever trains on the labels. Labelers read it before their first episode and every time its version changes.

Other formats

When to use it

  • Before the first labeling pass, once the annotation schema is fixed.
  • More than one person labels, or labeling is handed to another team or a vendor.
  • Labels from earlier batches disagree with new ones and nobody can say which rule was used.

When something else fits better

  • You haven't decided which fields an episode has: write the episode annotation schema first. These guidelines fill its fields; they don't define them.
  • Every label is produced automatically (a threshold or a model) with no human review: document the detector's settings in the schema's source field and the datasheet instead.

Preview

annotation-guidelines.md

1.Scope and version

What these guidelines cover, and which version a label was made under.

1.1Guideline version

A version number and date, raised on every change to a rule. Record it with every label batch.

Example: 1.2, 2026-11-06

Why this fieldWhen a rule changes, you need to know which labels were made before it, to re-label them or exclude them. Without a version on each batch that is guesswork.
1.2Schema version and tasks covered

The annotation schema version these rules fill, and the task_ids they apply to.

Example: Episode schema 1.0; bin_pick_soft_pouch, bin_pick_rigid_box

Why this fieldPhase vocabularies and success criteria are per task. A rule written for one task applied to another is a common source of silent label errors.
1.3What labelers see

The streams and views shown in the labeling tool, at what playback rate, and whether sensor plots (tactile, force, EMG) are shown beside the video.

Example: Head RGB and wrist RGB side by side; tactile and force plots on a shared timeline; frame-by-frame stepping enabled

Why this fieldA boundary judged from video alone and one judged with a force trace beside it land in different places. Fixing the view makes labels comparable between labelers.
1.4Where to ask

Who answers questions, how (channel or ticket queue), and what labelers do with an episode while they wait.

Example: Post in the labeling channel with the episode_id and time; mark the episode 'needs_review' and move on

Why this fieldLabelers who can't ask make up a local rule. Routing questions to one person turns each one into an edge-case decision everyone follows.

2.Phase boundaries

One rule per phase in the task's vocabulary, written as the observable cue that ends it. Each phase starts where the previous one ends: no gaps, no overlaps. Replace the example rows with your task's phases.

PhaseEnds when (the cue)Primary signalIf the cue is unclear
reachFirst contact between effector and target objectTactile or force onset; video if no contact sensingUse the first video frame where contact is visible
graspObject leaves its support surfaceVideo; force rise in the lift directionUse the first frame with visible clearance under the object
transportObject first touches the destination surface or containerVideo; force or tactile changeUse the first frame where the object stops descending
placeEffector begins to open or releaseGripper command, joint state, or tactile dropUse the first frame where the grip visibly loosens
releaseEffector has no contact with the object and has moved clearTactile at zero; videoEnd of episode
2.1Boundary rule per phase

For each phase, the single observable cue that ends it, as in the table above.

Why this field"Mark where grasping ends" gives as many answers as there are labelers. "Mark the first frame where the object leaves the surface" gives one.
2.2Signal priority

Which stream decides a boundary when streams disagree.

Example: Contact sensing over video for contact cues; video over joint state for clearance cues

Why this fieldVideo lags or hides contact; sensors miss what they don't measure. A fixed priority stops each labeler choosing the stream that suits them.
2.3Repeated or skipped phases

What to do when a phase happens twice (a regrasp) or not at all (the object is knocked into place).

Example: A failed grasp followed by a new grasp stays one grasp segment; mark each closing as a contact event

Why this fieldReal episodes rarely follow the script. Deciding upfront keeps segment counts meaningful as training targets.
2.4Boundary precision

How precisely a boundary must be placed, and at what step size labelers move through the episode.

Example: Frame-accurate at the video rate; no tighter than the sync tolerance in the spec

Why this fieldAsking for precision finer than the streams are synchronized to wastes labeling time and claims accuracy the data doesn't have.

3.Contact events

Instants, not intervals. These rules fill the schema's contact_events list.

3.1When to mark each event type

The cue for contact_onset, release, slip, collision and regrasp, in this task.

Example: slip: the object visibly moves relative to the fingers while the grip is closed, or the tactile contact area shifts without a command

Why this fieldSlip and collision are the labels people disagree on most. A written cue gives a reviewer something to check a label against.
3.2Automatic versus manual

Which events come from a tactile or force threshold, and when a labeler adds, moves or deletes one by hand.

Example: Onset and release come from the tactile threshold; labelers correct them only when the video clearly contradicts them, and set source = manual

Why this fieldMixing hand-placed and threshold events without saying which is which makes both impossible to audit. The schema's source field only helps if the rule for using it is fixed.
3.3Confidence scale

What each confidence value means, in words, so labelers pick the same one.

Example: 1.0 visible and sensor-confirmed; 0.6 visible on one view only; 0.3 inferred from what happened next

Why this fieldAn undefined 0–1 score becomes each labeler's private scale. Anchored levels make confidence usable as a filter in training.

4.Success and failure

Fills the schema's success label and failure_mode. Use the success criterion from the requirements spec, word for word.

LabelUse whenDo not use when
successThe end state meets the spec's success criterionThe criterion is met only after a human touched the scene
failureThe attempt ended without meeting the criterion (including timeouts)The cause was hardware or protocol, not the task
partialThe spec defines partial credit and the end state matches one of its levelsThe spec defines no partial credit: choose success or failure
invalidA sensor dropped out, the recorder crashed, or the protocol was broken (wrong object, scene not reset)The robot or demonstrator simply did the task badly
4.1Success criterion

Paste the success criterion from the data requirements spec, with a still frame of a borderline success and a borderline failure.

Example: "Pouch fully inside the tote, gripper clear of the tote rim"; frames from ep0042 (success) and ep0051 (pouch over the rim: failure)

Why this fieldThe borderline examples are where labelers disagree. Pictures of them settle more arguments than any wording.
4.2Choosing a failure mode

Which failure_mode to record when several happen: the first one in time, from the protocol's failure taxonomy.

Example: Slip, then drop: failure_mode = slip

Why this fieldA single, first-in-time rule makes failure counts comparable with the collection logs and the evaluation plan, which use the same taxonomy.
4.3Using 'other'

When 'other' is allowed, and what must go in notes when it is used.

Example: Only with a one-line description in notes; the lead reviews every 'other' weekly

Why this fieldA growing 'other' count means the taxonomy is missing a mode. Reviewing it is how new modes get added deliberately rather than invented by each labeler.

5.Edge-case log

Every question that needed a ruling, written down with the decision and an example. Labelers check it before asking. It ships as edge-case-log.csv below.

5.1One row per decision

The situation, the decision, an example episode and time, who decided, the date and the guideline version it entered.

Why this fieldRulings given in chat are forgotten and re-argued. A log with an example episode lets a new labeler see the case, not just read about it.
5.2Promotion to a rule

When an edge case becomes a rule in the sections above, and the version is raised.

Example: When the same case comes up a third time, or when it changes a success or failure label

Why this fieldKeeps the guidelines short enough to read while making sure the rulings that matter end up in them.
5.3Re-labeling after a change

Which earlier labels are re-checked when a rule changes, and who does it.

Example: Re-check only episodes whose label type the rule covers, labeled under an earlier version

Why this fieldChanging a rule without revisiting old labels leaves two definitions mixed in one dataset, which the training code can't tell apart.

6.Calibration and agreement

How labelers are trained, and how you check they still agree. Record checks in agreement-checks.csv below.

6.1Gold set

A set of episodes labeled by the lead (or by consensus) that every new labeler labels before working on real data, and how close they must come.

Example: Episodes chosen to include each phase, each contact event type and every borderline case in the edge-case log

Why this fieldComparing a new labeler's work against a known answer catches misunderstandings before they reach hundreds of episodes.
6.2Double labeling

What share of episodes two labelers label independently, and how they are chosen.

Example: A random share of each batch, set from the pilot, plus every episode marked needs_review

Why this fieldAgreement can only be measured on episodes labeled twice. Choosing them at random keeps the measure honest.
6.3Agreement measures

How agreement is computed for each label type, and the level below which you stop and recalibrate.

Example: Categorical labels (success, failure_mode): Cohen's kappa; phase boundaries and contact times: share within the boundary precision above

Why this fieldRaw percent agreement looks high when one label dominates; kappa corrects for chance agreement. Boundaries need a time tolerance, not exact matches. Set the threshold from your pilot rather than a borrowed number.
6.4Resolving disagreements

Who resolves a disagreement, whether the resolution is recorded, and when it becomes an edge case.

Example: The lead resolves; every resolution that needed a judgment call gets an edge-case row

Why this fieldDisagreements are where the guidelines are unclear. Feeding them into the edge-case log is how the guidelines improve.
6.5Drift checks

How often each labeler re-labels gold episodes, and what happens if their agreement drops.

Example: A few gold episodes mixed into each batch without being flagged

Why this fieldLabelers drift as they get faster and as the guidelines change. Hidden gold episodes catch it without a separate test.

Copy or download

annotation-guidelines.md

The whole template with prompts, examples and the reason for each field.

# Robot data annotation guidelines

A schema says what fields an episode has; annotation guidelines say how a person decides what goes in them. Two careful labelers given the same episode and only a schema will put phase boundaries in different places and disagree on what counts as a partial success. These guidelines turn each label into a rule with a visible cue, keep a log of the hard cases as they are decided, and set how agreement is measured, so labels stay consistent across people and over months.

Who fills it: The labeling lead, agreed with whoever owns the annotation schema and whoever trains on the labels. Labelers read it before their first episode and every time its version changes.

How to use this file: write your answer after each "Answer:". The "Why" notes explain each field for reviewers; keep them or delete them once the document is agreed.

## 1. Scope and version

What these guidelines cover, and which version a label was made under.

### 1.1 Guideline version

A version number and date, raised on every change to a rule. Record it with every label batch.

Example: 1.2, 2026-11-06

Answer: 

> Why: When a rule changes, you need to know which labels were made before it, to re-label them or exclude them. Without a version on each batch that is guesswork.

### 1.2 Schema version and tasks covered

The annotation schema version these rules fill, and the task_ids they apply to.

Example: Episode schema 1.0; bin_pick_soft_pouch, bin_pick_rigid_box

Answer: 

> Why: Phase vocabularies and success criteria are per task. A rule written for one task applied to another is a common source of silent label errors.

### 1.3 What labelers see

The streams and views shown in the labeling tool, at what playback rate, and whether sensor plots (tactile, force, EMG) are shown beside the video.

Example: Head RGB and wrist RGB side by side; tactile and force plots on a shared timeline; frame-by-frame stepping enabled

Answer: 

> Why: A boundary judged from video alone and one judged with a force trace beside it land in different places. Fixing the view makes labels comparable between labelers.

### 1.4 Where to ask

Who answers questions, how (channel or ticket queue), and what labelers do with an episode while they wait.

Example: Post in the labeling channel with the episode_id and time; mark the episode 'needs_review' and move on

Answer: 

> Why: Labelers who can't ask make up a local rule. Routing questions to one person turns each one into an edge-case decision everyone follows.

## 2. Phase boundaries

One rule per phase in the task's vocabulary, written as the observable cue that ends it. Each phase starts where the previous one ends: no gaps, no overlaps. Replace the example rows with your task's phases.

| Phase | Ends when (the cue) | Primary signal | If the cue is unclear |
| --- | --- | --- | --- |
| reach | First contact between effector and target object | Tactile or force onset; video if no contact sensing | Use the first video frame where contact is visible |
| grasp | Object leaves its support surface | Video; force rise in the lift direction | Use the first frame with visible clearance under the object |
| transport | Object first touches the destination surface or container | Video; force or tactile change | Use the first frame where the object stops descending |
| place | Effector begins to open or release | Gripper command, joint state, or tactile drop | Use the first frame where the grip visibly loosens |
| release | Effector has no contact with the object and has moved clear | Tactile at zero; video | End of episode |

### 2.1 Boundary rule per phase

For each phase, the single observable cue that ends it, as in the table above.

Answer: 

> Why: "Mark where grasping ends" gives as many answers as there are labelers. "Mark the first frame where the object leaves the surface" gives one.

### 2.2 Signal priority

Which stream decides a boundary when streams disagree.

Example: Contact sensing over video for contact cues; video over joint state for clearance cues

Answer: 

> Why: Video lags or hides contact; sensors miss what they don't measure. A fixed priority stops each labeler choosing the stream that suits them.

### 2.3 Repeated or skipped phases

What to do when a phase happens twice (a regrasp) or not at all (the object is knocked into place).

Example: A failed grasp followed by a new grasp stays one grasp segment; mark each closing as a contact event

Answer: 

> Why: Real episodes rarely follow the script. Deciding upfront keeps segment counts meaningful as training targets.

### 2.4 Boundary precision

How precisely a boundary must be placed, and at what step size labelers move through the episode.

Example: Frame-accurate at the video rate; no tighter than the sync tolerance in the spec

Answer: 

> Why: Asking for precision finer than the streams are synchronized to wastes labeling time and claims accuracy the data doesn't have.

## 3. Contact events

Instants, not intervals. These rules fill the schema's contact_events list.

### 3.1 When to mark each event type

The cue for contact_onset, release, slip, collision and regrasp, in this task.

Example: slip: the object visibly moves relative to the fingers while the grip is closed, or the tactile contact area shifts without a command

Answer: 

> Why: Slip and collision are the labels people disagree on most. A written cue gives a reviewer something to check a label against.

### 3.2 Automatic versus manual

Which events come from a tactile or force threshold, and when a labeler adds, moves or deletes one by hand.

Example: Onset and release come from the tactile threshold; labelers correct them only when the video clearly contradicts them, and set source = manual

Answer: 

> Why: Mixing hand-placed and threshold events without saying which is which makes both impossible to audit. The schema's source field only helps if the rule for using it is fixed.

### 3.3 Confidence scale

What each confidence value means, in words, so labelers pick the same one.

Example: 1.0 visible and sensor-confirmed; 0.6 visible on one view only; 0.3 inferred from what happened next

Answer: 

> Why: An undefined 0–1 score becomes each labeler's private scale. Anchored levels make confidence usable as a filter in training.

## 4. Success and failure

Fills the schema's success label and failure_mode. Use the success criterion from the requirements spec, word for word.

| Label | Use when | Do not use when |
| --- | --- | --- |
| success | The end state meets the spec's success criterion | The criterion is met only after a human touched the scene |
| failure | The attempt ended without meeting the criterion (including timeouts) | The cause was hardware or protocol, not the task |
| partial | The spec defines partial credit and the end state matches one of its levels | The spec defines no partial credit: choose success or failure |
| invalid | A sensor dropped out, the recorder crashed, or the protocol was broken (wrong object, scene not reset) | The robot or demonstrator simply did the task badly |

### 4.1 Success criterion

Paste the success criterion from the data requirements spec, with a still frame of a borderline success and a borderline failure.

Example: "Pouch fully inside the tote, gripper clear of the tote rim"; frames from ep0042 (success) and ep0051 (pouch over the rim: failure)

Answer: 

> Why: The borderline examples are where labelers disagree. Pictures of them settle more arguments than any wording.

### 4.2 Choosing a failure mode

Which failure_mode to record when several happen: the first one in time, from the protocol's failure taxonomy.

Example: Slip, then drop: failure_mode = slip

Answer: 

> Why: A single, first-in-time rule makes failure counts comparable with the collection logs and the evaluation plan, which use the same taxonomy.

### 4.3 Using 'other'

When 'other' is allowed, and what must go in notes when it is used.

Example: Only with a one-line description in notes; the lead reviews every 'other' weekly

Answer: 

> Why: A growing 'other' count means the taxonomy is missing a mode. Reviewing it is how new modes get added deliberately rather than invented by each labeler.

## 5. Edge-case log

Every question that needed a ruling, written down with the decision and an example. Labelers check it before asking. It ships as edge-case-log.csv below.

### 5.1 One row per decision

The situation, the decision, an example episode and time, who decided, the date and the guideline version it entered.

Answer: 

> Why: Rulings given in chat are forgotten and re-argued. A log with an example episode lets a new labeler see the case, not just read about it.

### 5.2 Promotion to a rule

When an edge case becomes a rule in the sections above, and the version is raised.

Example: When the same case comes up a third time, or when it changes a success or failure label

Answer: 

> Why: Keeps the guidelines short enough to read while making sure the rulings that matter end up in them.

### 5.3 Re-labeling after a change

Which earlier labels are re-checked when a rule changes, and who does it.

Example: Re-check only episodes whose label type the rule covers, labeled under an earlier version

Answer: 

> Why: Changing a rule without revisiting old labels leaves two definitions mixed in one dataset, which the training code can't tell apart.

## 6. Calibration and agreement

How labelers are trained, and how you check they still agree. Record checks in agreement-checks.csv below.

### 6.1 Gold set

A set of episodes labeled by the lead (or by consensus) that every new labeler labels before working on real data, and how close they must come.

Example: Episodes chosen to include each phase, each contact event type and every borderline case in the edge-case log

Answer: 

> Why: Comparing a new labeler's work against a known answer catches misunderstandings before they reach hundreds of episodes.

### 6.2 Double labeling

What share of episodes two labelers label independently, and how they are chosen.

Example: A random share of each batch, set from the pilot, plus every episode marked needs_review

Answer: 

> Why: Agreement can only be measured on episodes labeled twice. Choosing them at random keeps the measure honest.

### 6.3 Agreement measures

How agreement is computed for each label type, and the level below which you stop and recalibrate.

Example: Categorical labels (success, failure_mode): Cohen's kappa; phase boundaries and contact times: share within the boundary precision above

Answer: 

> Why: Raw percent agreement looks high when one label dominates; kappa corrects for chance agreement. Boundaries need a time tolerance, not exact matches. Set the threshold from your pilot rather than a borrowed number.

### 6.4 Resolving disagreements

Who resolves a disagreement, whether the resolution is recorded, and when it becomes an edge case.

Example: The lead resolves; every resolution that needed a judgment call gets an edge-case row

Answer: 

> Why: Disagreements are where the guidelines are unclear. Feeding them into the edge-case log is how the guidelines improve.

### 6.5 Drift checks

How often each labeler re-labels gold episodes, and what happens if their agreement drops.

Example: A few gold episodes mixed into each batch without being flagged

Answer: 

> Why: Labelers drift as they get faster and as the guidelines change. Hidden gold episodes catch it without a separate test.

Use it with