Record Class ReportDocument.Case

Object
Record
akka.javasdk.testkit.eval.ReportDocument.Case
Record Components:
id - the case id
outcome - over all runs: PASSED when every run passed, FAILED when every run failed, INCONCLUSIVE when every run was inconclusive, INCONSISTENT otherwise
passedRuns - runs with the verdict PASS
failedRuns - runs with the verdict FAIL
inconclusiveRuns - runs with the verdict INCONCLUSIVE
requirements - one entry per evaluator at one position in the results of the case's attempts, in the order the results first appear; the runner's target and setup results are requirements too
Enclosing class:
ReportDocument

public static record ReportDocument.Case(String id, ExperimentRunner.Outcome outcome, int passedRuns, int failedRuns, int inconclusiveRuns, List<ReportDocument.Requirement> requirements) extends Record
One case over all its runs.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • outcome

      public ExperimentRunner.Outcome outcome()
      Returns the value of the outcome record component.
      Returns:
      the value of the outcome record component
    • passedRuns

      public int passedRuns()
      Returns the value of the passedRuns record component.
      Returns:
      the value of the passedRuns record component
    • failedRuns

      public int failedRuns()
      Returns the value of the failedRuns record component.
      Returns:
      the value of the failedRuns record component
    • inconclusiveRuns

      public int inconclusiveRuns()
      Returns the value of the inconclusiveRuns record component.
      Returns:
      the value of the inconclusiveRuns record component
    • requirements

      public List<ReportDocument.Requirement> requirements()
      Returns the value of the requirements record component.
      Returns:
      the value of the requirements record component