mcframework.utils._validate_confidence#

mcframework.utils._validate_confidence(confidence: float) None[source]#

Validate the confidence level.

Parameters:
confidencefloat

Confidence level to validate.

Raises:
ValueError

If confidence is not in the open interval (0, 1).