EvalCaseResult
AgentPrism.Abstractions.dllThe result of a single EvalCase within an EvalRun.
public sealed record EvalCaseResult : IEquatable<EvalCaseResult>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”EvalCaseResult.CaseId deliberately carries no foreign key: even if a case is later changed or deleted, the past result record stays intelligible (append-only spirit, same reason).
Constructors
Section titled “Constructors”EvalCaseResult()
Section titled “ EvalCaseResult()”public EvalCaseResult()Properties
Section titled “Properties”CaseId
Section titled “ CaseId”The identifier of the case being measured.
public required Guid CaseId { get; init; }Property Value
Section titled “Property Value”EvalRunId
Section titled “ EvalRunId”The identifier of the run this result belongs to.
public required Guid EvalRunId { get; init; }Property Value
Section titled “Property Value”FailureReason
Section titled “ FailureReason”The failure reason. Populated only when Passed is false.
public string? FailureReason { get; init; }Property Value
Section titled “Property Value”The result record identifier.
public Guid Id { get; init; }Property Value
Section titled “Property Value”Output
Section titled “ Output”The text output produced by the agent.
public string? Output { get; init; }Property Value
Section titled “Property Value”Passed
Section titled “ Passed”Reports whether the case passed all of its checks.
public required bool Passed { get; init; }Property Value
Section titled “Property Value”The identifier of the run record created while processing this case. This lets an eval failure jump straight to its transcript and span tree.
public Guid? RunId { get; init; }Property Value
Section titled “Property Value”Guid?
Scores
Section titled “ Scores”Per-check score list (free-form JSON).
public JsonElement Scores { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(EvalCaseResult?)
Section titled “ Equals(EvalCaseResult?)”public bool Equals(EvalCaseResult? other)Parameters
Section titled “Parameters”other EvalCaseResult?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(EvalCaseResult?, EvalCaseResult?)
Section titled “ operator ==(EvalCaseResult?, EvalCaseResult?)”public static bool operator ==(EvalCaseResult? left, EvalCaseResult? right)Parameters
Section titled “Parameters”left EvalCaseResult?
right EvalCaseResult?
Returns
Section titled “Returns”operator !=(EvalCaseResult?, EvalCaseResult?)
Section titled “ operator !=(EvalCaseResult?, EvalCaseResult?)”public static bool operator !=(EvalCaseResult? left, EvalCaseResult? right)Parameters
Section titled “Parameters”left EvalCaseResult?
right EvalCaseResult?