Skip to content

Evaluator

junjo.evaluation.Evaluator

Kind: Class

SDK version: 0.69.0

Documentation channel: Stable release

View source

Runtime interface shared by SDK-owned and application callback evaluators.

key: str

View source

Application-owned stable evaluator key used with its contract version.

version: int

View source

Version of the evaluator contract and its expectation schema.

role: EvaluationRole

View source

Judge or verifier role used to distinguish evaluator telemetry from the application subject.

timeout_seconds: float

View source

Configured evaluator timeout in seconds; a timeout is an operational error, not a failed judgment.

expectation_schema: Mapping[str, object]

View source

Return the JSON schema accepted by this evaluator version.

validate_expectation(expectation_json: JsonValue | None) -> object

View source

Public member documented by its signature.

evaluate(*, subject: object, expectation: object, context: EvaluationContext, resources: object) -> EvaluationResult

View source

Public member documented by its signature.