From 4fd3d52058039dd30740119d79e894d83a22be40 Mon Sep 17 00:00:00 2001 From: Jin Igarashi Date: Fri, 26 Apr 2024 17:46:40 +0900 Subject: [PATCH] fix: changed threshold data type from float to int (#97) --- src/cogserver/algorithms/rca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogserver/algorithms/rca.py b/src/cogserver/algorithms/rca.py index 943311c..2e78c65 100644 --- a/src/cogserver/algorithms/rca.py +++ b/src/cogserver/algorithms/rca.py @@ -20,7 +20,7 @@ class RapidChangeAssessment(BaseAlgorithm): """Rapid change assessment.""" # parameters - threshold: float = Field( + threshold: int = Field( default=10, ge=10, le=100, title="Threshold", unit="%",