PerInvocationResult class

Per-invocation evaluation details for one conversation turn.

Available extensions

Constructors

PerInvocationResult({required Invocation actualInvocation, Invocation? expectedInvocation, double? score, EvalStatus evalStatus = EvalStatus.notEvaluated, List<RubricScore>? rubricScores})
Creates a per-invocation evaluation result.

Properties

actualInvocation → Invocation
Invocation produced by the evaluated app.
final
durationDetails ↔ DurationDetails?

Available on PerInvocationResult, provided by the EfficiencyPerInvocationResultX extension

Duration breakdown reported by InvocationDurationV1Evaluator.
getter/setter pair
evalStatus → EvalStatus
Pass/fail/not-evaluated status for this invocation.
final
expectedInvocation → Invocation?
Optional expected invocation used for comparison.
final
hashCode → int
The hash code for this object.
no setterinherited
rubricScores → List<RubricScore>?
Optional rubric breakdown for this invocation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score → double?
Numeric score assigned for this invocation.
final
tokenUsageDetails ↔ TokenUsageDetails?

Available on PerInvocationResult, provided by the EfficiencyPerInvocationResultX extension

Per-type token counts reported by TokenUsageV1Evaluator.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited