Class SimulationRun.Types.RunMetrics
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
-
IBufferMessageIMessage
- Inherited Members
Constructors
RunMetrics()
public RunMetrics()
RunMetrics(RunMetrics)
public RunMetrics(SimulationRun.Types.RunMetrics other)
Parameters
otherSimulationRun.Types.RunMetrics
Fields
ConcisenessFieldNumber
Field number for the "conciseness" field.
public const int ConcisenessFieldNumber = 8
Field Value
ConversationFieldNumber
Field number for the "conversation" field.
public const int ConversationFieldNumber = 7
Field Value
ConversationProgressionFieldNumber
Field number for the "conversation_progression" field.
public const int ConversationProgressionFieldNumber = 9
Field Value
LlmFieldNumber
Field number for the "llm" field.
public const int LlmFieldNumber = 5
Field Value
OverallScoreFieldNumber
Field number for the "overall_score" field.
public const int OverallScoreFieldNumber = 10
Field Value
ScenarioPassRateFieldNumber
Field number for the "scenario_pass_rate" field.
public const int ScenarioPassRateFieldNumber = 3
Field Value
SttFieldNumber
Field number for the "stt" field.
public const int SttFieldNumber = 4
Field Value
TtsFieldNumber
Field number for the "tts" field.
public const int TtsFieldNumber = 6
Field Value
Properties
Conciseness
Means over the jobs that report them.
public float Conciseness { get; set; }
Property Value
Conversation
public SimulationRun.Types.JobMetrics.Types.Conversation Conversation { get; set; }
Property Value
ConversationProgression
public float ConversationProgression { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasConciseness
Gets whether the "conciseness" field is set
public bool HasConciseness { get; }
Property Value
HasConversationProgression
Gets whether the "conversation_progression" field is set
public bool HasConversationProgression { get; }
Property Value
HasOverallScore
Gets whether the "overall_score" field is set
public bool HasOverallScore { get; }
Property Value
HasScenarioPassRate
Gets whether the "scenario_pass_rate" field is set
public bool HasScenarioPassRate { get; }
Property Value
Llm
public SimulationRun.Types.JobMetrics.Types.LLM Llm { get; set; }
Property Value
OverallScore
mean over scored jobs
public float OverallScore { get; set; }
Property Value
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
Stt
public SimulationRun.Types.JobMetrics.Types.STT Stt { get; set; }
Property Value
Tts
public SimulationRun.Types.JobMetrics.Types.TTS Tts { get; set; }
Property Value
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
otherSimulationRun.Types.RunMetrics
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
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
otherSimulationRun.Types.RunMetrics
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.