Documentation
¶
Overview ¶
Package oracle evaluates schema, relational, and state-machine properties while keeping harness failures and insufficient evidence out of target FAIL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Outcome ¶
type Outcome struct {
Verdict schema.Verdict
ReasonCode schema.ReasonCode
Code string
Expected any
Observed any
EvidenceRefs []schema.ObjectRef
TargetFailure bool
}
func EvaluateRelations ¶
EvaluateRelations checks stable interaction, parent, and tool-call relationships. Lossy or unavailable normalization remains inconclusive.
func EvaluateSchema ¶
func EvaluateSchema(input Input[json.RawMessage], expected Schema) Outcome
EvaluateSchema validates a bounded structural schema. A malformed observed value is a target failure only when evidence is complete and the harness schema itself is valid.
func EvaluateStateMachine ¶
func EvaluateStateMachine(input Input[[]statemachine.Event]) Outcome
Click to show internal directories.
Click to hide internal directories.