Skip to content
Tracon

EvalCaseDiff

Namespace Tracon · Assembly Tracon.Abstractions.dll

One case’s outcome on both sides of an EvalRunDiff.

public sealed record EvalCaseDiff : IEquatable<EvalCaseDiff>

objectEvalCaseDiff

IEquatable<EvalCaseDiff>

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

public EvalCaseDiff()

The baseline side’s failure reason, when it failed.

public string? BaselineFailureReason { get; init; }

string?

Whether the case passed on the baseline side. null when the case is EvalCaseDiffKind.Added.

public bool? BaselinePassed { get; init; }

bool?

The identifier of the agent run the baseline result came from, so a regression can be traced to the exact conversation.

public Guid? BaselineRunId { get; init; }

Guid?

The candidate side’s failure reason, when it failed.

public string? CandidateFailureReason { get; init; }

string?

Whether the case passed on the candidate side. null when the case is EvalCaseDiffKind.Removed.

public bool? CandidatePassed { get; init; }

bool?

The identifier of the agent run the candidate result came from.

public Guid? CandidateRunId { get; init; }

Guid?

The identifier of the case being compared.

public required Guid CaseId { get; init; }

Guid

Which bucket this case falls into.

public required EvalCaseDiffKind Kind { get; init; }

EvalCaseDiffKind

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(EvalCaseDiff? other)

other EvalCaseDiff?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(EvalCaseDiff?, EvalCaseDiff?)

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

left EvalCaseDiff?

right EvalCaseDiff?

bool

operator !=(EvalCaseDiff?, EvalCaseDiff?)

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

left EvalCaseDiff?

right EvalCaseDiff?

bool