Class AlignmentController

java.lang.Object
dev.dokimos.server.controller.v1.AlignmentController

@RestController @RequestMapping("/api/v1/runs") public class AlignmentController extends Object
Exposes the per-evaluator judge-human alignment for a run: the agreement rate between automated evaluator verdicts and human annotations. This is a read-only GET and is therefore allowed by the auth filter without an API key.
  • Constructor Details

    • AlignmentController

      public AlignmentController(AlignmentService alignmentService)
  • Method Details

    • alignment

      @GetMapping("/{runId}/alignment") public AlignmentView alignment(@PathVariable UUID runId)
      Returns the judge-human alignment breakdown for a run.
      Parameters:
      runId - the run to analyze
      Returns:
      HTTP 200 with the per-evaluator agreement breakdown; 404 when the run does not exist