Skip to content

Annotator Progress Dashboard

The annotator_dashboard block adds a read-only /progress page where each annotator sees project completion and a personal count, and no other annotator's name.

The annotator progress dashboard is a read-only page at /progress that shows each annotator how far the project has come and how much of the annotator's own queue is done. Potato keeps the page off until the config enables the annotator_dashboard block. Once the block is enabled, a Progress button appears in the top bar of the annotation page and opens the dashboard. The dashboard never shows another annotator's name, the study's configuration, or any control that changes the study. Per-annotator statistics and account management stay on the admin dashboard, behind the admin API key.

Configuration options

The annotator_dashboard block controls the dashboard through four options. Add the block below to an existing config to turn the dashboard on with every other option at its default:

yaml
annotator_dashboard:
  enabled: true                  # off unless set
  show_project_progress: true
  show_personal_progress: true
  show_active_annotators: false

A bare annotator_dashboard: true has the same effect as the block above. Each option and its default are listed below:

OptionDefaultWhat the option controls
enabledfalseTurns the dashboard on. While enabled is false, /progress falls back to Potato's home page and /progress/api/summary returns 404.
show_project_progresstrueThe project section, with the item count, the items with at least one annotation, the total annotations, and the percent complete.
show_personal_progresstrueThe personal section, with the requesting annotator's annotations, assigned items, and percent complete.
show_active_annotatorsfalseA count of annotators in the annotation phase, added to the project section. Potato shows the number only, never names.

Turning off show_project_progress also hides the active-annotator count, because Potato reports the count inside the project section. Turning off both sections leaves the dashboard with no numbers to show. Keep at least one of show_project_progress and show_personal_progress on.

What each number counts

Project completion counts an item as done once one annotator has annotated the item. In a study with 1,000 items and num_annotators_per_item: 3, the project section reads 100% after 1,000 annotations, although the study plans 3,000. The total-annotations figure counts every annotation from every annotator. For a study that sends each item to several annotators, compare the total-annotations figure with the item count times num_annotators_per_item.

The personal section divides the requesting annotator's annotations by the items Potato has assigned to the same annotator so far. The active-annotator figure counts only users whose current phase is annotation, and Potato leaves out anyone on a consent, pre-study, instructions, training, or post-study page. The figure reads each user's saved phase and not whether the user is online. An annotator who closed the browser halfway through the queue still counts as active.

Who can see the dashboard

Both /progress and /progress/api/summary require an ordinary annotator login, and neither route accepts the admin API key in place of a login. An annotator who is not logged in gets a 401 from /progress/api/summary, and /progress falls back to Potato's home page. The JSON from /progress/api/summary contains the project totals and the requesting annotator's own counts, and no identifier of any other annotator. The project numbers come from the same function as the Overview tab of the admin dashboard. The two pages therefore show the same project totals.

Example project

Potato ships a runnable example in examples/advanced/annotator-progress. From the example's folder, start the server:

bash
potato start config.yaml -p 8000

Log in at http://localhost:8000, annotate a few items, and click Progress in the top bar to open the dashboard.

Further reading

For implementation details, see the source documentation.