Package dev.dokimos.server.repository
Interface ExperimentRunRepositoryFragment
- All Superinterfaces:
ScopedRepository<ExperimentRun>
- All Known Subinterfaces:
ExperimentRunRepository
- All Known Implementing Classes:
ExperimentRunRepositoryFragmentImpl
Entity-specific scoped finders for
ExperimentRun.-
Method Summary
Modifier and TypeMethodDescriptionfindBaselineCandidates(Experiment experiment, UUID candidateId, UUID datasetVersionId, String branch, org.springframework.data.domain.Pageable pageable, TenantScope scope) SUCCESS baseline candidates for automatic gate resolution, within the scope, newest first.findByExperiment(Experiment experiment, TenantScope scope) Lists an experiment's runs newest first, within the scope.findByIdForUpdate(UUID id, TenantScope scope) Loads a run by id within the scope under a write lock, to serialize ingestion against completion.findCompletedRunsByExperiment(Experiment experiment, org.springframework.data.domain.Pageable pageable, TenantScope scope) Returns an experiment's terminal (SUCCESS or FAILED) runs newest first, within the scope.findFirstByExperiment(Experiment experiment, TenantScope scope) Returns the most recent run of an experiment within the scope.
-
Method Details
-
findByExperiment
Lists an experiment's runs newest first, within the scope. -
findFirstByExperiment
Returns the most recent run of an experiment within the scope. -
findByIdForUpdate
Loads a run by id within the scope under a write lock, to serialize ingestion against completion. -
findCompletedRunsByExperiment
List<ExperimentRun> findCompletedRunsByExperiment(Experiment experiment, org.springframework.data.domain.Pageable pageable, TenantScope scope) Returns an experiment's terminal (SUCCESS or FAILED) runs newest first, within the scope. -
findBaselineCandidates
List<ExperimentRun> findBaselineCandidates(Experiment experiment, UUID candidateId, UUID datasetVersionId, String branch, org.springframework.data.domain.Pageable pageable, TenantScope scope) SUCCESS baseline candidates for automatic gate resolution, within the scope, newest first. Excludes the candidate run, requires the same dataset version (a nulldatasetVersionIdmatches ad-hoc to ad-hoc), and filters bybranchwhen non-null.
-