< Summary

Information
Class: Orchestrator.Commands.Operations.RandomMatch.RandomMatchSettings
Assembly: Orchestrator
File(s): /home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Operations/RandomMatch/RandomMatchSettings.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 22
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
get_Model()100%11100%
set_Model(...)100%11100%
.ctor()100%11100%
get_Community()100%11100%
set_Community(...)100%11100%
get_WithJustification()100%11100%
set_WithJustification(...)100%11100%

File(s)

/home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Operations/RandomMatch/RandomMatchSettings.cs

#LineLine coverage
 1using System.ComponentModel;
 2using Spectre.Console.Cli;
 3
 4#pragma warning disable CA1822 // these properties follow the Spectre.Console.Cli CommandSettings pattern
 5
 6namespace Orchestrator.Commands.Operations.RandomMatch;
 7
 8public class RandomMatchSettings : CommandSettings
 9{
 10    [CommandArgument(0, "<MODEL>")]
 11    [Description("The OpenAI model to use for prediction (e.g., gpt-4o-2024-08-06, o4-mini)")]
 112    public string Model { get; set; } = string.Empty;
 13
 14    [CommandOption("-c|--community")]
 15    [Description("The Kicktipp community to use (e.g., ehonda-test-buli)")]
 116    public required string Community { get; set; }
 17
 18    [CommandOption("--with-justification")]
 19    [Description("Include model justification text alongside predictions")]
 20    [DefaultValue(false)]
 121    public bool WithJustification { get; set; }
 22}