Package akka.javasdk.testkit.eval
Interface ExperimentRunner.EvalReport
- Enclosing class:
ExperimentRunner
public static interface ExperimentRunner.EvalReport
The batch outcome: the attempts, the cases over their runs, and the gate's verdict.
-
Method Summary
Modifier and TypeMethodDescriptioncases()One summary per case, in the order the cases were given, with its outcome over all runs.document()The report as data, for tools that collect runs or render their own reports.name()The name given withExperiment.name(java.lang.String), or the test method that ran the experiment, for exampleSupportAgentEvalTest.qualityGate.booleanpassed()Whether the gate passed.doublepassRate()The share of attempts that passed.render()The run as text: the gate verdict, rates per evaluator, the requirements that passed in some runs and failed in others, and the attempts that did not pass with their evidence.The fileExperiment.run()wrote the report to:<name>-<start time>.jsonin the report directory, for exampleSupportAgentEvalTest.qualityGate-20261001-101530-123.json, holdingdocument()as JSON.results()One result per attempt: every case in the order the cases were given, its runs ascending.intruns()How many times every case ran, seeExperiment.repeat(int).
-
Method Details
-
name
String name()The name given withExperiment.name(java.lang.String), or the test method that ran the experiment, for exampleSupportAgentEvalTest.qualityGate. -
runs
int runs()How many times every case ran, seeExperiment.repeat(int). -
reportFile
The fileExperiment.run()wrote the report to:<name>-<start time>.jsonin the report directory, for exampleSupportAgentEvalTest.qualityGate-20261001-101530-123.json, holdingdocument()as JSON. Empty when the experiment was runExperiment.withoutReportFile()or the file could not be written. -
document
ReportDocument document()The report as data, for tools that collect runs or render their own reports. This is whatreportFile()holds, and whatReportDocument.read(java.nio.file.Path)gives back. -
passed
boolean passed()Whether the gate passed. -
passRate
double passRate()The share of attempts that passed. An inconclusive attempt counts against the rate. -
results
List<ExperimentRunner.CaseResult> results()One result per attempt: every case in the order the cases were given, its runs ascending. One result per case withoutExperiment.repeat(int). -
cases
List<ExperimentRunner.CaseSummary> cases()One summary per case, in the order the cases were given, with its outcome over all runs. -
render
String render()The run as text: the gate verdict, rates per evaluator, the requirements that passed in some runs and failed in others, and the attempts that did not pass with their evidence.
-