tests fixes and sprints work
This commit is contained in:
@@ -50,7 +50,7 @@ internal static class BenchCommandBuilder
|
||||
{
|
||||
var corpusOption = new Option<string>("--corpus", "Path to corpus.json index file")
|
||||
{
|
||||
IsRequired = true
|
||||
Required = true
|
||||
};
|
||||
var outputOption = new Option<string?>("--output", "Output path for results JSON");
|
||||
var categoryOption = new Option<string[]?>("--category", "Filter to specific categories");
|
||||
@@ -157,11 +157,11 @@ internal static class BenchCommandBuilder
|
||||
{
|
||||
var resultsOption = new Option<string>("--results", "Path to benchmark results JSON")
|
||||
{
|
||||
IsRequired = true
|
||||
Required = true
|
||||
};
|
||||
var baselineOption = new Option<string>("--baseline", "Path to baseline JSON")
|
||||
{
|
||||
IsRequired = true
|
||||
Required = true
|
||||
};
|
||||
var strictOption = new Option<bool>("--strict", () => false, "Fail on any metric degradation");
|
||||
var outputOption = new Option<string?>("--output", "Output path for regression report");
|
||||
@@ -249,11 +249,11 @@ internal static class BenchCommandBuilder
|
||||
// baseline update
|
||||
var resultsOption = new Option<string>("--results", "Path to benchmark results JSON")
|
||||
{
|
||||
IsRequired = true
|
||||
Required = true
|
||||
};
|
||||
var outputOption = new Option<string>("--output", "Output path for new baseline")
|
||||
{
|
||||
IsRequired = true
|
||||
Required = true
|
||||
};
|
||||
var noteOption = new Option<string?>("--note", "Note explaining the baseline update");
|
||||
|
||||
@@ -305,7 +305,7 @@ internal static class BenchCommandBuilder
|
||||
// baseline show
|
||||
var baselinePathOption = new Option<string>("--path", "Path to baseline JSON")
|
||||
{
|
||||
IsRequired = true
|
||||
Required = true
|
||||
};
|
||||
|
||||
var show = new Command("show", "Display baseline metrics");
|
||||
@@ -359,7 +359,7 @@ internal static class BenchCommandBuilder
|
||||
{
|
||||
var resultsOption = new Option<string>("--results", "Path to benchmark results JSON")
|
||||
{
|
||||
IsRequired = true
|
||||
Required = true
|
||||
};
|
||||
var formatOption = new Option<string>("--format", () => "markdown", "Output format: markdown, html");
|
||||
var outputOption = new Option<string?>("--output", "Output path for report");
|
||||
@@ -473,3 +473,4 @@ internal static class BenchCommandBuilder
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user