semantic-kernel
semantic-kernel copied to clipboard
Operators on ScoredValue produce inconsistent answers
ScoredValue<T> contains both a T and a double. Its == and != operators factor in equality of both the T and the double, but its <, <=, >=, and > operators only factor in the double. That means, for example, <= might return true in situations where == returns false, if the T in the two instances being compared isn't equal.
@awharrison-28 FYI
@dmytrostruk
Thanks, I added this issue to our backlog.