Noul decision helpers. The threshold is application policy, not a safety guarantee.
Summary
Functions
Return max(p, 1-p), a derived certainty measure, not provider confidence.
Compare probability of true with a threshold (default 0.5).
Functions
@spec confidence(TypeSafeSDK.NoulAnswer.t()) :: number()
Return max(p, 1-p), a derived certainty measure, not provider confidence.
@spec yes?(TypeSafeSDK.NoulAnswer.t(), number()) :: boolean()
Compare probability of true with a threshold (default 0.5).