validate confidence threshold values are in range 0.0-1.0 #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
AUTO_ACCEPT_CONFIDENCE and MIN_CONFIDENCE accept any float with no bounds checking. Values like 1.5 or -0.1 cause silent misbehaviour (always/never matching).
Fix: at config load time, clamp or error when values fall outside 0.0-1.0 and log a clear warning.