Class InMemoryEvalRunStore
In-memory eval run store — used by unit tests; production swaps in the redb implementation.
public sealed class InMemoryEvalRunStore : IEvalRunStore
Inheritance
Implements
Methods
GetAsync(string, IExchange?, CancellationToken)
Loads a single run by its identifier.
public Task<EvalRunRecord?> GetAsync(string runId, IExchange? exchange = null, CancellationToken ct = default)
ListAsync(string?, int, IExchange?, CancellationToken)
Lists runs filtered by scenario name. Returns newest first.
public Task<IReadOnlyList<EvalRunRecord>> ListAsync(string? scenario = null, int take = 50, IExchange? exchange = null, CancellationToken ct = default)
SaveAsync(EvalRunRecord, IExchange?, CancellationToken)
Persists a completed evaluation run.
public Task SaveAsync(EvalRunRecord record, IExchange? exchange = null, CancellationToken ct = default)