Skip to content

RunJudgment

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The judge’s verdict.

public sealed record RunJudgment : IEquatable<RunJudgment>

objectRunJudgment

IEquatable<RunJudgment>

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

public RunJudgment()

The judge’s own model usage. Included in the cost report.

public RunUsage? JudgeUsage { get; init; }

RunUsage?

A short reason. Written into the RunScore.Comment field.

public string? Reason { get; init; }

string?

The score, 0-100. null if the judge could not decide.

public int? Score { get; init; }

int?

When no decision can be made, null is returned, not 0. Zero is a measurement; the absence of a measurement is not.

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunJudgment? other)

other RunJudgment?

bool

public override int GetHashCode()

int

public override string ToString()

string

public static bool operator ==(RunJudgment? left, RunJudgment? right)

left RunJudgment?

right RunJudgment?

bool

public static bool operator !=(RunJudgment? left, RunJudgment? right)

left RunJudgment?

right RunJudgment?

bool