Class AgentBenchmarkSuite.ProblemResult

java.lang.Object
neqsim.util.agentic.AgentBenchmarkSuite.ProblemResult
All Implemented Interfaces:
Serializable
Enclosing class:
AgentBenchmarkSuite

public static class AgentBenchmarkSuite.ProblemResult extends Object implements Serializable
Result of evaluating a single benchmark problem.
Version:
1.0
Author:
Even Solbraa
See Also:
  • Field Details

  • Constructor Details

    • ProblemResult

      public ProblemResult(AgentBenchmarkSuite.BenchmarkProblem problem, double actualValue, boolean passed, String verdict, String detail)
      Creates a new problem result.
      Parameters:
      problem - the benchmark problem
      actualValue - the agent-submitted value
      passed - whether the result passed the tolerance check
      verdict - short verdict string (PASS, FAIL, NOT_ATTEMPTED, etc.)
      detail - detailed explanation of the comparison
  • Method Details

    • getProblem

      Returns the benchmark problem.
      Returns:
      the problem definition
    • getActualValue

      public double getActualValue()
      Returns the submitted value.
      Returns:
      the actual computed value
    • isPassed

      public boolean isPassed()
      Returns whether the result passed.
      Returns:
      true if within tolerance
    • getVerdict

      public String getVerdict()
      Returns the verdict string.
      Returns:
      the verdict (PASS, FAIL, NOT_ATTEMPTED, etc.)
    • getDetail

      public String getDetail()
      Returns the detail string.
      Returns:
      detailed comparison information