Skip to content
Tracon

RunJudgeContext

Namespace Tracon · Assembly Tracon.Abstractions.dll

The limited context supplied to a judge.

public sealed record RunJudgeContext : IEquatable<RunJudgeContext>

objectRunJudgeContext

IEquatable<RunJudgeContext>

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

The output is non-empty but can contain only whitespace. Tool names are distinct.

This type does not include tool arguments or results, intermediate steps, run status, duration, errors, message identifiers, or session history.

public RunJudgeContext()

The name of the agent that ran.

public required string AgentName { get; init; }

string

The run’s input.

public required IReadOnlyList<ChatMessage> Input { get; init; }

IReadOnlyList<ChatMessage>

Read from run_inputs (IRunInputStore); if no record exists, the run is not sampled and this type is never produced.

The run’s output text.

public required string Output { get; init; }

string

The identifier of the run being scored.

public required Guid RunId { get; init; }

Guid

The tenant the run belongs to.

public required string TenantId { get; init; }

string

The distinct tool names called by the run.

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

IReadOnlyList<string>

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunJudgeContext? other)

other RunJudgeContext?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RunJudgeContext?, RunJudgeContext?)

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

left RunJudgeContext?

right RunJudgeContext?

bool

operator !=(RunJudgeContext?, RunJudgeContext?)

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

left RunJudgeContext?

right RunJudgeContext?

bool