pub enum SplineScoreProofError {
InnovationContainsZero {
node: usize,
kind: SplineInnovationKind,
enclosure: ClosedInterval,
},
NonPositiveInnovation {
node: usize,
kind: SplineInnovationKind,
enclosure: ClosedInterval,
},
NonPositiveProfileResidual {
enclosure: ClosedInterval,
},
InvalidArithmetic {
context: &'static str,
},
AccumulatorDiverged {Show 13 fields
node: usize,
n_proper: usize,
accumulator: &'static str,
value: f64,
lo: f64,
hi: f64,
q_value: f64,
contribution_lo: f64,
contribution_hi: f64,
f_star_d3_lo: f64,
f_star_d3_hi: f64,
updated_d3_lo: f64,
updated_d3_hi: f64,
},
InvalidInput(String),
MissingEndpointCertificate {
log_lambda: f64,
},
GlobalValueOrderingUnresolved {
maximum_excess: f64,
comparison_resolution: f64,
},
OptimumKktUncertified {
location: ScoreOptimumLocation,
bracket: ClosedInterval,
derivative: ClosedInterval,
curvature: ClosedInterval,
},
Search(String),
Computation(String),
}Expand description
Failure to construct a numerical proof for one spline-score evaluation.
Variants§
InnovationContainsZero
Directed roundoff made an innovation interval include zero, so division by that innovation cannot be certified.
NonPositiveInnovation
An innovation interval was entirely nonpositive. This indicates a violated covariance invariant rather than loss of numerical resolution.
NonPositiveProfileResidual
Fields
enclosure: ClosedIntervalInvalidArithmetic
AccumulatorDiverged
A certified filter accumulator left the finite range, reported with the node it happened at and the enclosure that did it.
The InvalidArithmetic{"diffuse filter accumulator"} refusal above named
a PHASE and nothing else: not which of the eight accumulators diverged,
not at which of the ~180 nodes, and not how wide it was when it went.
Diagnosing #2614 from it required adding a print, and the two repairs
attempted before that print existed were both aimed at the wrong term —
each exact, each landing a byte-identical failure. A verdict has to
carry the quantity it was decided against (#2465), and this is that
quantity: the first accumulator to leave the finite range, where, and
the q = e^{−ρ} it was evaluated at.
Fields
contribution_lo: f64This node’s own contribution to that accumulator. A finite running sum plus an infinite total means the CONTRIBUTION diverged, so this is the term to look at, not the sum.
f_star_d3_lo: f64The third covariance-derivative entry F''' every third-order chain
rule on this path divides by F. Reported alongside so a wide
contribution can be told from a wide INPUT: if F''' is already
unbounded the covariance jet is at fault, and if it is tight while
the contribution is not, the cancellation in the chain rule is.
updated_d3_lo: f64The same entry AFTER this node’s measurement update. F''' above is
the PREDICTED value, so the pair localises the growth to one of the
filter’s two steps: an updated entry much narrower than the
predicted one means the update contracts and the PREDICTION is
growing it, and the reverse means the update is.
InvalidInput(String)
MissingEndpointCertificate
GlobalValueOrderingUnresolved
OptimumKktUncertified
Fields
location: ScoreOptimumLocationbracket: ClosedIntervalderivative: ClosedIntervalcurvature: ClosedIntervalSearch(String)
Computation(String)
Trait Implementations§
Source§impl Clone for SplineScoreProofError
impl Clone for SplineScoreProofError
Source§fn clone(&self) -> SplineScoreProofError
fn clone(&self) -> SplineScoreProofError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SplineScoreProofError
impl Debug for SplineScoreProofError
Source§impl Display for SplineScoreProofError
impl Display for SplineScoreProofError
Source§impl Error for SplineScoreProofError
impl Error for SplineScoreProofError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<String> for SplineScoreProofError
impl From<String> for SplineScoreProofError
Source§impl PartialEq for SplineScoreProofError
impl PartialEq for SplineScoreProofError
impl StructuralPartialEq for SplineScoreProofError
Auto Trait Implementations§
impl Freeze for SplineScoreProofError
impl RefUnwindSafe for SplineScoreProofError
impl Send for SplineScoreProofError
impl Sync for SplineScoreProofError
impl Unpin for SplineScoreProofError
impl UnsafeUnpin for SplineScoreProofError
impl UnwindSafe for SplineScoreProofError
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.