pub enum ParityStatus {
Verified {
fixture: &'static str,
},
Unverified,
}Expand description
Whether this model’s numerics have been checked against a Python reference.
Unverified is the honest default and covers most rows. Read it as “this
model’s output could be anything”, not as “this model is probably fine”.
That wording used to be softer — it said Unverified was not a statement
that a model is wrong, only that nothing proved it right. ProteinMPNN then
demonstrated the difference is not academic: it sat at Unverified through
every release up to v0.3.3 while agreeing with the reference on 2 of 93
positions, where chance alone over a 21-token vocabulary is about 4. The
output was not approximately right, it was unrelated to what the model
computes, and the registry said only “unchecked” the whole time
(ferritin-100.33).
The lesson is about which rows are dangerous. A row whose family already has
a Verified sibling shares a proven code path and differs mainly in
weights. A row whose family has no verified member has an entire
architecture that nothing has ever checked — that is the position
ProteinMPNN was in. Prefer closing whole-family gaps over adding a second
fixture to a family that already has one.
Variants§
Verified
A committed fixture pins this model’s output against the reference
implementation. Names the fixture stem under tests/fixtures/.
Unverified
No parity fixture exists, so nothing checks this model’s numerics.
Not a weaker form of Verified — an absence of evidence that has
already, once, been concealing a model that was flatly wrong.
Trait Implementations§
Source§impl Clone for ParityStatus
impl Clone for ParityStatus
Source§fn clone(&self) -> ParityStatus
fn clone(&self) -> ParityStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ParityStatus
Source§impl Debug for ParityStatus
impl Debug for ParityStatus
impl Eq for ParityStatus
Source§impl PartialEq for ParityStatus
impl PartialEq for ParityStatus
Source§fn eq(&self, other: &ParityStatus) -> bool
fn eq(&self, other: &ParityStatus) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParityStatus
Auto Trait Implementations§
impl Freeze for ParityStatus
impl RefUnwindSafe for ParityStatus
impl Send for ParityStatus
impl Sync for ParityStatus
impl Unpin for ParityStatus
impl UnsafeUnpin for ParityStatus
impl UnwindSafe for ParityStatus
Blanket Implementations§
impl<T> Boilerplate 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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more