Class TuningSessionModel
- Namespace
- LibreRally.HUD
- Assembly
- LibreRally.dll
Local, structured A/B driving-session model used to compare baseline and candidate variants without an MCP server.
public sealed class TuningSessionModel
- Inheritance
-
TuningSessionModel
- Inherited Members
Properties
BaselineLabel
Gets the baseline variant label.
public string BaselineLabel { get; }
Property Value
CandidateLabel
Gets the candidate variant label.
public string CandidateLabel { get; }
Property Value
CompletedPromptCount
Gets the count of prompts that already have responses.
public int CompletedPromptCount { get; }
Property Value
CurrentPrompt
Gets the currently selected prompt.
public TuningSessionPrompt CurrentPrompt { get; }
Property Value
CurrentPromptIndex
Gets the current prompt index.
public int CurrentPromptIndex { get; }
Property Value
PendingPromptCount
Gets the count of prompts still awaiting a recorded verdict.
public int PendingPromptCount { get; }
Property Value
Prompts
Gets the ordered list of structured prompts for the session.
public IReadOnlyList<TuningSessionPrompt> Prompts { get; }
Property Value
Responses
Gets the recorded responses keyed by prompt identifier.
public IReadOnlyDictionary<string, TuningSessionResponse> Responses { get; }
Property Value
StatusText
Gets the short status line describing the active comparison.
public string StatusText { get; }
Property Value
TelemetrySummary
Gets the troubleshooting or telemetry summary carried into the session.
public string TelemetrySummary { get; }
Property Value
VehicleName
Gets the vehicle name shown for the session.
public string VehicleName { get; }
Property Value
Methods
Create(string, string, string, string, string?)
Creates a structured A/B tuning session for local better-or-worse driving comparisons.
public static TuningSessionModel Create(string vehicleName, string statusText, string baselineLabel, string candidateLabel, string? telemetrySummary = null)
Parameters
vehicleNamestringDisplay name of the active vehicle.
statusTextstringShort status line shown in the session header.
baselineLabelstringLabel for the baseline run or preset.
candidateLabelstringLabel for the candidate run or preset.
telemetrySummarystringOptional short troubleshooting or telemetry summary shown alongside the prompts.
Returns
CreateSessionSummary()
Builds a compact summary of the session responses for later review or persistence.
public string CreateSessionSummary()
Returns
- string
Readable multi-line summary text.
MoveNextPrompt()
Advances to the next prompt when possible.
public bool MoveNextPrompt()
Returns
MovePreviousPrompt()
Moves back to the previous prompt when possible.
public bool MovePreviousPrompt()
Returns
RecordCurrentPromptResponse(TuningSessionVerdict, string?)
Records or replaces the response for the current prompt.
public void RecordCurrentPromptResponse(TuningSessionVerdict verdict, string? note = null)
Parameters
verdictTuningSessionVerdictDriver verdict for the current prompt.
notestringOptional short note from the driver.