Class EvalRunProps

Assembly: redb.Route.Llm.dll

A persisted eval-harness run. Scenario / fingerprint / score are top-level
so leaderboard queries do not touch _values. Per-iteration metrics
and scoring dimensions are stored as typed nested collections — REDB
persists them natively, no JSON marshalling.

[RedbScheme("LLM Eval Run")]
public class EvalRunProps

Inheritance

Object→EvalRunProps

Properties

AgentFingerprint

Agent / prompt / model fingerprint that produced the run.

public string AgentFingerprint { get; set; }

CostUsd

Total cost in USD.

public decimal CostUsd { get; set; }

CreatedAtUtc

When the run finished.

public DateTimeOffset CreatedAtUtc { get; set; }

Dimensions

Custom scoring dimensions (e.g. "accuracy" = 0.92,

public Dictionary<string, double>? Dimensions { get; set; }

Fixtures

Fixture identifiers / version hashes consumed by the run — preserves

public Dictionary<string, string>? Fixtures { get; set; }

InputTokens

Aggregated input tokens.

public long InputTokens { get; set; }

Iterations

Per-iteration metrics — one entry per agent loop iteration. Typed nested

public EvalIterationMetric[] Iterations { get; set; }

OutputTokens

Aggregated output tokens.

public long OutputTokens { get; set; }

RunId

Identifier assigned by the eval runner — business key.

public string RunId { get; set; }

Scenario

Scenario name (e.g. "summarize-pr", "sql-rag").

public string Scenario { get; set; }

Score

Aggregate score in [0.0, 1.0]; null when the harness did not score the run.

public double? Score { get; set; }