conatus.expert.CorrectnessWarning

exception conatus.expert.CorrectnessWarning[source]

Bases: UserWarning

The returned answer may not be the one the call meant: it is about another base state, another group of modes, or a choice the call did not declare. Shown under Python’s default filters wherever it is raised (never a DeprecationWarning, which Python hides outside __main__); the result is still returned. explain() keeps part of it only (the base residual in lin.explain(), the group in the result’s header, the growth rule “inferred from the name”; Where the message says “refused in v0.2”, the same call raises from v0.2.