pub struct GraduatedCompetence {
pub understanding_score: f32,
pub decision_complexity: f32,
}Expand description
Graduated competence evaluation parameters for an agent facing a specific act. Models Gillick competence where capacity is dynamic and decision-relative rather than an absolute binary toggle.
Fields§
§understanding_score: f32Assessed comprehension and maturity score in [0.0, 1.0].
decision_complexity: f32Inherent cognitive/legal complexity of the decision in [0.0, 1.0].
Implementations§
Source§impl GraduatedCompetence
impl GraduatedCompetence
Sourcepub const fn new(understanding_score: f32, decision_complexity: f32) -> Self
pub const fn new(understanding_score: f32, decision_complexity: f32) -> Self
Pair an assessed understanding score with a decision’s inherent
complexity — both normalized to [0.0, 1.0] (not clamped here;
callers supply normalized values).
Sourcepub fn is_self_standing(&self) -> bool
pub fn is_self_standing(&self) -> bool
Whether self-standing competence is achieved without auxiliary support.
Trait Implementations§
Source§impl Clone for GraduatedCompetence
impl Clone for GraduatedCompetence
impl Copy for GraduatedCompetence
Source§impl Debug for GraduatedCompetence
impl Debug for GraduatedCompetence
Source§impl PartialEq for GraduatedCompetence
impl PartialEq for GraduatedCompetence
impl StructuralPartialEq for GraduatedCompetence
Auto Trait Implementations§
impl Freeze for GraduatedCompetence
impl RefUnwindSafe for GraduatedCompetence
impl Send for GraduatedCompetence
impl Sync for GraduatedCompetence
impl Unpin for GraduatedCompetence
impl UnsafeUnpin for GraduatedCompetence
impl UnwindSafe for GraduatedCompetence
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
Mutably borrows from an owned value. Read more
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
Converts
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> ⓘ
Converts
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