experiments.experiment_utils.has_failed

has_failed(g)

Condition for whether a value of g is unsafe. This is used to determine the failure rate in the right-most plot of the experiments plots.

Parameters:

g (float) – The expected value of a single behavioral constraint function

Returns:

True if g is unsafe, False if g is safe