Skip to content

EvalRunCompletion

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The information needed to finalize a run.

public sealed record EvalRunCompletion : IEquatable<EvalRunCompletion>

objectEvalRunCompletion

IEquatable<EvalRunCompletion>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public EvalRunCompletion()

The completion time (UTC).

public required DateTimeOffset CompletedAt { get; init; }

DateTimeOffset

The run identifier.

public required Guid EvalRunId { get; init; }

Guid

The number of remaining (failed) cases.

public required int Failed { get; init; }

int

The total input token count.

public long? InputTokens { get; init; }

long?

The total output token count.

public long? OutputTokens { get; init; }

long?

The number of cases that passed.

public required int Passed { get; init; }

int

The final status.

public required EvalRunStatus Status { get; init; }

EvalRunStatus

The total number of cases.

public required int Total { get; init; }

int

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(EvalRunCompletion? other)

other EvalRunCompletion?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(EvalRunCompletion?, EvalRunCompletion?)

Section titled “ operator ==(EvalRunCompletion?, EvalRunCompletion?)”
public static bool operator ==(EvalRunCompletion? left, EvalRunCompletion? right)

left EvalRunCompletion?

right EvalRunCompletion?

bool

operator !=(EvalRunCompletion?, EvalRunCompletion?)

Section titled “ operator !=(EvalRunCompletion?, EvalRunCompletion?)”
public static bool operator !=(EvalRunCompletion? left, EvalRunCompletion? right)

left EvalRunCompletion?

right EvalRunCompletion?

bool