Get 'no task' before all annotation finished

Hi! There are several possible explanations why this would be happening:

Does your data contain any duplicates? Prodigy will filter out duplicate texts from the stream automatically, so you’ll only ever see a task once. When you restart the server with the same dataset, do you see new examples, or does it show “no task available” immediately? If so, this definitely indicates that all examples in the input text have been annotated once.

Otherwise, did you or the annotator reload the app at any point? If so, it’s possible that you end up with unlabelled batches, since Prodigy has no way of knowing that it’s “not coming back”. You can find more details and an implementation example of an “infinite stream” here: "No tasks available" on page refresh