Class LlmEvalResult

Assembly: redb.Route.Llm.dll

Outcome of a single evaluated case.

public sealed class LlmEvalResult

Inheritance

Object→LlmEvalResult

Properties

Case

The case that produced this result.

public required LlmEvalCase Case { get; init; }

Dimensions

Custom scorer's dimensions, if any.

public IReadOnlyDictionary<string, double>? Dimensions { get; init; }

Duration

Wall-clock duration of the run.

public TimeSpan Duration { get; init; }

Exception

Engine exception, when the run threw.

public Exception? Exception { get; init; }

Failures

Human-readable failure messages — empty when is true.

public IReadOnlyList<string> Failures { get; init; }

Notes

Custom scorer's free-form notes, if any.

public string? Notes { get; init; }

Pass

True when every assertion passed.

public required bool Pass { get; init; }

Response

Agent response — null when the engine threw.

public AgentResponse? Response { get; init; }

Score

Custom scorer's score, if any.

public double? Score { get; init; }