Table of Contents

Class SimulationRun.Types.RunMetrics

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

Aggregates over this run's jobs, so a run summary does not have to pull every job and turn. Reuses the JobMetrics group shapes.

public sealed class SimulationRun.Types.RunMetrics : IMessage<SimulationRun.Types.RunMetrics>, IEquatable<SimulationRun.Types.RunMetrics>, IDeepCloneable<SimulationRun.Types.RunMetrics>, IBufferMessage, IMessage
Inheritance
SimulationRun.Types.RunMetrics
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

RunMetrics()

public RunMetrics()

RunMetrics(RunMetrics)

public RunMetrics(SimulationRun.Types.RunMetrics other)

Parameters

other SimulationRun.Types.RunMetrics

Fields

ConcisenessFieldNumber

Field number for the "conciseness" field.

public const int ConcisenessFieldNumber = 8

Field Value

int

ConversationFieldNumber

Field number for the "conversation" field.

public const int ConversationFieldNumber = 7

Field Value

int

ConversationProgressionFieldNumber

Field number for the "conversation_progression" field.

public const int ConversationProgressionFieldNumber = 9

Field Value

int

LlmFieldNumber

Field number for the "llm" field.

public const int LlmFieldNumber = 5

Field Value

int

OverallScoreFieldNumber

Field number for the "overall_score" field.

public const int OverallScoreFieldNumber = 10

Field Value

int

ScenarioPassRateFieldNumber

Field number for the "scenario_pass_rate" field.

public const int ScenarioPassRateFieldNumber = 3

Field Value

int

SttFieldNumber

Field number for the "stt" field.

public const int SttFieldNumber = 4

Field Value

int

TtsFieldNumber

Field number for the "tts" field.

public const int TtsFieldNumber = 6

Field Value

int

Properties

Conciseness

Means over the jobs that report them.

public float Conciseness { get; set; }

Property Value

float

Conversation

public SimulationRun.Types.JobMetrics.Types.Conversation Conversation { get; set; }

Property Value

SimulationRun.Types.JobMetrics.Types.Conversation

ConversationProgression

public float ConversationProgression { get; set; }

Property Value

float

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasConciseness

Gets whether the "conciseness" field is set

public bool HasConciseness { get; }

Property Value

bool

HasConversationProgression

Gets whether the "conversation_progression" field is set

public bool HasConversationProgression { get; }

Property Value

bool

HasOverallScore

Gets whether the "overall_score" field is set

public bool HasOverallScore { get; }

Property Value

bool

HasScenarioPassRate

Gets whether the "scenario_pass_rate" field is set

public bool HasScenarioPassRate { get; }

Property Value

bool

Llm

public SimulationRun.Types.JobMetrics.Types.LLM Llm { get; set; }

Property Value

SimulationRun.Types.JobMetrics.Types.LLM

OverallScore

mean over scored jobs

public float OverallScore { get; set; }

Property Value

float

Parser

public static MessageParser<SimulationRun.Types.RunMetrics> Parser { get; }

Property Value

MessageParser<SimulationRun.Types.RunMetrics>

ScenarioPassRate

share of jobs whose scenario verdict passed

public float ScenarioPassRate { get; set; }

Property Value

float

Stt

public SimulationRun.Types.JobMetrics.Types.STT Stt { get; set; }

Property Value

SimulationRun.Types.JobMetrics.Types.STT

Tts

public SimulationRun.Types.JobMetrics.Types.TTS Tts { get; set; }

Property Value

SimulationRun.Types.JobMetrics.Types.TTS

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

ClearConciseness()

Clears the value of the "conciseness" field

public void ClearConciseness()

ClearConversationProgression()

Clears the value of the "conversation_progression" field

public void ClearConversationProgression()

ClearOverallScore()

Clears the value of the "overall_score" field

public void ClearOverallScore()

ClearScenarioPassRate()

Clears the value of the "scenario_pass_rate" field

public void ClearScenarioPassRate()

Clone()

Creates a deep clone of this object.

public SimulationRun.Types.RunMetrics Clone()

Returns

SimulationRun.Types.RunMetrics

A deep clone of this object.

Equals(RunMetrics)

public bool Equals(SimulationRun.Types.RunMetrics other)

Parameters

other SimulationRun.Types.RunMetrics

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(RunMetrics)

Merges the given message into this one.

public void MergeFrom(SimulationRun.Types.RunMetrics other)

Parameters

other SimulationRun.Types.RunMetrics

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.