< Summary

Information
Class: Orchestrator.Commands.Observability.Experiments.PreparedExperimentAnalysisBundle
Assembly: Orchestrator
File(s): /home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Observability/Experiments/PreparedExperimentAnalysisContracts.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 80
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Observability/Experiments/PreparedExperimentAnalysisContracts.cs

#LineLine coverage
 1using System.Text.Json;
 2using System.Text.Json.Serialization;
 3
 4namespace Orchestrator.Commands.Observability.Experiments;
 5
 16internal sealed record PreparedExperimentAnalysisBundle(
 17    [property: JsonPropertyName("datasetName")] string DatasetName,
 18    [property: JsonPropertyName("taskType")] string TaskType,
 19    [property: JsonPropertyName("primaryMetricName")] string PrimaryMetricName,
 110    [property: JsonPropertyName("exportedAtUtc")] string ExportedAtUtc,
 111    [property: JsonPropertyName("datasetDescription")] string? DatasetDescription,
 112    [property: JsonPropertyName("datasetMetadata")] JsonElement DatasetMetadata,
 113    [property: JsonPropertyName("runs")] IReadOnlyList<PreparedExperimentAnalysisRun> Runs,
 114    [property: JsonPropertyName("rows")] IReadOnlyList<PreparedExperimentAnalysisRow> Rows);
 15
 16internal sealed record PreparedExperimentAnalysisRun(
 17    [property: JsonPropertyName("runName")] string RunName,
 18    [property: JsonPropertyName("datasetRunId")] string DatasetRunId,
 19    [property: JsonPropertyName("taskType")] string TaskType,
 20    [property: JsonPropertyName("model")] string Model,
 21    [property: JsonPropertyName("promptKey")] string? PromptKey,
 22    [property: JsonPropertyName("promptSource")] string? PromptSource,
 23    [property: JsonPropertyName("langfusePromptName")] string? LangfusePromptName,
 24    [property: JsonPropertyName("langfusePromptLabel")] string? LangfusePromptLabel,
 25    [property: JsonPropertyName("langfusePromptVersion")] int? LangfusePromptVersion,
 26    [property: JsonPropertyName("reasoningEffort")] string? ReasoningEffort,
 27    [property: JsonPropertyName("maxOutputTokens")] int? MaxOutputTokens,
 28    [property: JsonPropertyName("sliceKind")] string? SliceKind,
 29    [property: JsonPropertyName("sliceKey")] string? SliceKey,
 30    [property: JsonPropertyName("sourcePoolKey")] string? SourcePoolKey,
 31    [property: JsonPropertyName("selectedItemIdsHash")] string? SelectedItemIdsHash,
 32    [property: JsonPropertyName("selectedItemIdsCount")] int SelectedItemIdsCount,
 33    [property: JsonPropertyName("sampleSize")] int SampleSize,
 34    [property: JsonPropertyName("matchCount")] int? MatchCount,
 35    [property: JsonPropertyName("repetitions")] int? Repetitions,
 36    [property: JsonPropertyName("parallelism")] int? Parallelism,
 37    [property: JsonPropertyName("evaluationTimestampPolicyKey")] string? EvaluationTimestampPolicyKey,
 38    [property: JsonPropertyName("evaluationTime")] string? EvaluationTime,
 39    [property: JsonPropertyName("startedAtUtc")] string? StartedAtUtc,
 40    [property: JsonPropertyName("batchStrategy")] string? BatchStrategy,
 41    [property: JsonPropertyName("batchSize")] int? BatchSize,
 42    [property: JsonPropertyName("batchCount")] int? BatchCount,
 43    [property: JsonPropertyName("aggregateScores")] ExperimentAggregateScores AggregateScores,
 44    [property: JsonPropertyName("primaryMetricValue")] double PrimaryMetricValue,
 45    [property: JsonPropertyName("rowCount")] int RowCount,
 46    [property: JsonPropertyName("runSubjectKind")] string? RunSubjectKind = null,
 47    [property: JsonPropertyName("runSubjectId")] string? RunSubjectId = null,
 48    [property: JsonPropertyName("runSubjectDisplayName")] string? RunSubjectDisplayName = null);
 49
 50internal sealed record PreparedExperimentAnalysisRow(
 51    [property: JsonPropertyName("pairingKey")] string PairingKey,
 52    [property: JsonPropertyName("datasetRunId")] string DatasetRunId,
 53    [property: JsonPropertyName("runName")] string RunName,
 54    [property: JsonPropertyName("taskType")] string TaskType,
 55    [property: JsonPropertyName("model")] string Model,
 56    [property: JsonPropertyName("promptKey")] string? PromptKey,
 57    [property: JsonPropertyName("reasoningEffort")] string? ReasoningEffort,
 58    [property: JsonPropertyName("sliceKind")] string? SliceKind,
 59    [property: JsonPropertyName("sliceKey")] string? SliceKey,
 60    [property: JsonPropertyName("sourcePoolKey")] string? SourcePoolKey,
 61    [property: JsonPropertyName("datasetItemId")] string DatasetItemId,
 62    [property: JsonPropertyName("sourceDatasetItemId")] string SourceDatasetItemId,
 63    [property: JsonPropertyName("traceId")] string TraceId,
 64    [property: JsonPropertyName("observationId")] string? ObservationId,
 65    [property: JsonPropertyName("matchday")] int Matchday,
 66    [property: JsonPropertyName("homeTeam")] string HomeTeam,
 67    [property: JsonPropertyName("awayTeam")] string AwayTeam,
 68    [property: JsonPropertyName("startsAt")] string StartsAt,
 69    [property: JsonPropertyName("tippSpielId")] string? TippSpielId,
 70    [property: JsonPropertyName("predictedHomeGoals")] int? PredictedHomeGoals,
 71    [property: JsonPropertyName("predictedAwayGoals")] int? PredictedAwayGoals,
 72    [property: JsonPropertyName("expectedHomeGoals")] int ExpectedHomeGoals,
 73    [property: JsonPropertyName("expectedAwayGoals")] int ExpectedAwayGoals,
 74    [property: JsonPropertyName("kicktippPoints")] int KicktippPoints,
 75    [property: JsonPropertyName("predictionStatus")] string PredictionStatus = "placed",
 76    [property: JsonPropertyName("runSubjectKind")] string? RunSubjectKind = null,
 77    [property: JsonPropertyName("runSubjectId")] string? RunSubjectId = null,
 78    [property: JsonPropertyName("runSubjectDisplayName")] string? RunSubjectDisplayName = null,
 79    [property: JsonPropertyName("fixtureIndex")] int? FixtureIndex = null,
 80    [property: JsonPropertyName("repetitionIndex")] int? RepetitionIndex = null);