From d274332a3c20b222fabef4462799d352e0c959be Mon Sep 17 00:00:00 2001 From: Ondrej Lichtner Date: Tue, 23 Jan 2024 12:27:26 +0100 Subject: [PATCH] BaselineEvaluator: type fixes for MetricComparison Signed-off-by: Ondrej Lichtner --- lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py b/lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py index 4504976a1..07e401725 100644 --- a/lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py +++ b/lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py @@ -17,9 +17,9 @@ class MetricComparison: measurement_type: str current_result: PerfMeasurementResults baseline_result: Optional[PerfMeasurementResults] - threshold: float + threshold: Optional[float] metric_name: str - difference: float + difference: Optional[float] comparison_result: ResultType text: str