Class ReviewQueueService

java.lang.Object
dev.dokimos.server.service.ReviewQueueService

@Service public class ReviewQueueService extends Object
Surfaces run items that still need a human verdict so a reviewer can work through a single queue instead of opening runs one at a time. An item qualifies when it has no annotation or only an UNSURE one; the queue can be scoped to a project, experiment, or run.
  • Constructor Details

  • Method Details

    • list

      @Transactional(readOnly=true) public org.springframework.data.domain.Page<ReviewQueueItem> list(String projectName, UUID experimentId, UUID runId, org.springframework.data.domain.Pageable pageable)
      Returns a page of items awaiting review, oldest first. Eval results and any existing UNSURE verdict are batch-loaded for the page so rendering never fans out into a query per item.
      Parameters:
      projectName - restrict to this project, or null for any
      experimentId - restrict to this experiment, or null for any
      runId - restrict to this run, or null for any
      pageable - the page to return
      Returns:
      the page of review items