Reviewing a batch
A review batch lets a second group of participants check the work that annotators did in another batch. The source batch is the batch whose work is reviewed. Reviewers see each annotator’s work read-only, score it against questions you write, and can leave a note. Their verdicts are collected in the review batch, and each one points back to the work it scored.
This guide covers how to create a review batch, how to run a review study from it, how work completed before the review existed is brought in, what a reviewer sees, and how to read the results.
Human review has to be enabled for your workspace. If creating a review batch returns 403, submit a request to ask for access.
How a review works
- You create a review batch with
POST /api/v1/data-collection/batchesand areviewobject that names the source batch, how much of its work to review, and the questions reviewers score. The review batch gets its own dataset, and its form is built from your questions. - As annotators complete work in the source batch, a share of their submissions is sampled for review. Each sampled submission becomes a datapoint in the review dataset. Work that was completed before the review existed is brought in the same way.
- You set up the review batch and run it as a study. Reviewers are the participants you choose, not the annotators.
- You export the review batch to get the verdicts.
A source batch can have only one review at the moment, so creating a second review for the same source is refused.
What can be reviewed
The source batch can use any instruction type except file_upload. Narration (video_narration) and audio recording (audio_recording) answers are shown to a reviewer once their audio is ready, so a submission whose audio is still being prepared waits until it is.
Screened-out submissions are never sampled. For work that already existed, only completed submissions that are awaiting review, approved or partially approved are enrolled. Test submissions are left out, and so are rejected, returned and timed-out submissions, because their responses are removed and could never be shown.
Creating the review batch
Add a review object to the batch create request. task_details is still required, because reviewers see it. Do not send dataset_id or batch_items. A review batch makes its own dataset, and its form comes from review.rubrics.
scale_1_5 and pass_fail_unsure are the scoring schemes available today. If you need a different one, submit a request to ask for it to be added.
If a source batch has several studies, set study_id. A source batch takes only one review, whichever study it names, so a review that covers every study blocks a second review for a single study on the same batch.
Response
The response is the usual batch, with a review object added (other batch fields are omitted here):
Keep the batch id and the review_dataset_id. When backfill_requested is true, the source already has work that qualifies, and the review dataset fills as that work is sampled. See Work completed before the review existed.
Setting up the batch
Set up a review batch like any other, with the review dataset from the response:
tasks_per_group sets how many items one reviewer reviews in a single submission. Each group is one place in the study, so scale the study’s reward and time to it. Read the batch with GET /api/v1/data-collection/batches/{batch_id} until its status is READY. Setting up a batch that is already READY returns 400. See Setting up the batch.
If the source is still running, the review dataset starts small and grows as submissions are sampled, so set up the batch once it has at least one datapoint.
Creating the review study
Create the study as you would for any batch, with these differences:
data_collection_idis the review batch, not the source batch. A published study cannot change it.- Choose reviewers with a
custom_allowlistfilter. A reviewer must not have answered the source batch’s tasks: the review is refused to anyone who annotated the work they are asked to review. - Set
increase_places_on_synctotruewhen you create the study. See the warning below. - A narration or audio source is played back in the reviewer’s browser, so reviewers need a desktop browser with audio.
Do not leave out increase_places_on_sync. The review dataset keeps growing as submissions are sampled, and the places for a task group that is added after the study is published only exist if the study opted in. Without it, a reviewer who tries to start such a group is told the study is full while the study still shows places left. See Growing study places automatically.
Then publish the study as normal.
Work completed before the review existed
When you create a review batch for a source that already has completed work, that work is brought in automatically. The review dataset fills over a short while with one datapoint for each qualifying submission, and then keeps growing as new submissions are sampled.
- If you set
study_id, only that study’s submissions are enrolled. Without it, every study on the source batch is. - Reading the review batch shows its
datasets[].total_datapoint_count, which is the number of items enrolled so far.
When the source study is completed, the review starts winding down. Submissions that were still in progress can be sampled for a short while, and the review ends once nothing is waiting to be reviewed. If the source study becomes active again, the review resumes.
Changing the questions
Change the questions with PATCH /api/v1/data-collection/batches/{batch_id} and a review object holding the new rubrics and justification, not with batch_items. Rubrics are frozen once a reviewer has responded, because earlier verdicts were given against them, and the request then returns 409 (REVIEW_RUBRICS_LOCKED). Agree the questions with the people who will use the scores before you publish.
What a reviewer sees and does
For each item, the reviewer sees the annotator’s work in the layout the source batch used, with a Read-only label. Nothing in the source can be changed. A narration or audio recording plays back in the page.
Beside it is a form with your questions. The reviewer answers every question, adds a note if you turned the notes box on, and moves on. If a task group holds several items, the page says Review 1 of 3 and shows one item at a time, and each verdict is saved as the reviewer goes. After the last item, the submission is completed.
A reviewer is never shown work they did themselves.
Getting the results
Export the review batch with POST /api/v1/data-collection/batches/{batch_id}/export. Use the review study’s ID for study_id, since it is the study the reviewers answered under, not the source study. See Exporting batch results.
In the archive:
batch.jsonnames the source batch inreview_source_batch_id, and holds each question’sscoring_schemeandoptions.- A reviewer’s answer to a question has a
value, the option they chose, and itslabel.participant_idis the reviewer. - Each task has a
review_sourcenaming the work it is a verdict on:source_parent_type,source_parent_id(the source batch) andsource_submission_id. - To join a verdict to the work it scored, match
review_source.source_submission_idtosubmission_idin the source batch’sresponses-by-submission.jsonl. A source submission that was withdrawn or superseded is not in the source batch’s export.