We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b98e175 commit 5af282fCopy full SHA for 5af282f
execution_engine/converter/criterion.py
@@ -99,10 +99,14 @@ def parse_value(
99
eps = float(value_numeric) / 1e5
100
match value.comparator:
101
case "<=" | "<":
102
- value_max = value_numeric - (eps if value.comparator == "<" else 0)
+ value_max = float(value_numeric) - (
103
+ eps if value.comparator == "<" else 0
104
+ )
105
value_numeric = None
106
case ">=" | ">":
- value_min = value_numeric + (eps if value.comparator == "<" else 0)
107
+ value_min = float(value_numeric) + (
108
109
110
111
case _:
112
raise ValueError(f'Unknown quantity operator: "{value.comparator}"')
0 commit comments