Class DemoBenchmark
- All Implemented Interfaces:
GuardedExecution, ScopeAuthority, Identifiable, Job<DemoAnswer>, Doer<DemoQuery, DemoAnswer>, Orchestrator<DemoQuery, DemoAnswer>, Tool<DemoQuery, DemoAnswer>
The demo's benchmark of
DemoAgent: the reference answers on the strongest model the
deployment serves - resolved through Grade.CEILING, the same way the judge is - while
every raced copy is re-pinned to its candidate, and the judges wait behind the same person
the raced agents do. A named class, so its job ids and its log lines
(ai.redouble.demo.DemoBenchmark.progress for the runs-finished count) name it.- Since:
- 0.1 (2026-09-22)
- Author:
- Andrey Santrosyan
-
Field Summary
Fields inherited from class Benchmark
CANDIDATE, JUDGE, REFERENCE, REPORT, RUN_MODEL, RUN_NUMBER, RUN_ROLEFields inherited from class AbstractOrchestrator
META_ITERATIONFields inherited from class AbstractTool
inputFields inherited from class AbstractJob
timeout, upstreamRetriesFields inherited from interface Job
DEFAULT_UPSTREAM_RETRIESFields inherited from interface Tool
OBS_INPUT, OBS_OUTPUT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Benchmark
candidates, execute, report, setCandidates, setRubric, setScorerMethods inherited from class AbstractDoer
nextStep, submitInCurrentStep, submitInCurrentStep, submitInCurrentStep, submitInStepMethods inherited from class AbstractOrchestrator
execute, getJobType, getRequirements, getScopeGuard, getTimeout, sealScopeGuard, setScopeGuard, setTimeout, submitInIteration, submitInIteration, submitInIterationMethods inherited from class AbstractTool
getInput, postExecute, preExecute, setInputMethods inherited from class AbstractJob
getId, getName, getParentJobId, getPriority, getUpstreamRetries, getUserId, getWorkflowId, randomIdSuffix, setUpstreamRetries, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GuardedExecution
declareAdmissionGuardrails, declareAuthGuardrails, declareContentGuardrailsMethods inherited from interface Identifiable
getParentJobId, getUserId, getWorkflowIdMethods inherited from interface Job
getDisplayName, getId, getJobId, getJobType, getName, getPriority, getRequirements, getTimeout, getUpstreamRetries, postExecute, preExecuteMethods inherited from interface ScopeAuthority
getScopeGuard, sealScopeGuard, setScopeGuardMethods inherited from interface Tool
execute, getInput, guardedInputTarget, setInput
-
Constructor Details
-
DemoBenchmark
- Parameters:
workflow- the workflow the benchmark and every agent it builds belong toruns- how many times each candidate answers
-
-
Method Details
-
newJudge
-