Package dev.dokimos.server.controller.v1
Class DiffController
java.lang.Object
dev.dokimos.server.controller.v1.DiffController
Exposes the per-case run-diff view: the same comparison the CI gate runs, presented as a full,
paginated table of every case with per-evaluator deltas. This is a read-only GET and is therefore
allowed by the auth filter without an API key.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DiffController
-
-
Method Details
-
diff
@GetMapping("/{experimentId}/runs/{candidateRunId}/diff") public DiffView diff(@PathVariable UUID experimentId, @PathVariable UUID candidateRunId, @RequestParam UUID baselineRunId, @RequestParam(required=false,defaultValue="ALL") String status, org.springframework.data.domain.Pageable pageable) Returns the per-case diff between a candidate run and an explicit baseline run.- Parameters:
experimentId- the experiment both runs belong tocandidateRunId- the candidate run (the "new" side)baselineRunId- the baseline run (the "old" side); requiredstatus- optional case filter: ALL (default), REGRESSED, IMPROVED, or CHANGEDpageable- pagination over the filtered, sorted case list- Returns:
- HTTP 200 with the summary and the requested page of cases. 400 when
baselineRunIdis missing orstatusis not a recognized value; 404 when the experiment or a run is missing or a run does not belong to the experiment; 409 when either run is not terminal
-