Class swarmauri_core.evaluator_results.IEvalResult.IEvalResult
swarmauri_core.evaluator_results.IEvalResult.IEvalResult
Bases: ABC
Interface for evaluation results.
This interface defines the contract for evaluation results, requiring accessors for score, metadata, and linkage to a program.
score
abstractmethod
property
score
Get the evaluation score.
Returns
float The numerical score of the evaluation.
metadata
abstractmethod
property
metadata
Get additional metadata about the evaluation.
Returns
Dict[str, Any] Dictionary containing metadata about the evaluation.
program
abstractmethod
property
program
Get the program associated with this evaluation result.
Returns
IProgram The program that was evaluated.