pub struct QualityFactors {
pub acceptance_criteria_met: Option<f32>,
pub tests_passing: Option<f32>,
pub no_regressions: Option<f32>,
pub lint_clean: Option<f32>,
pub type_check_clean: Option<f32>,
pub follows_patterns: Option<f32>,
pub context_relevance: Option<f32>,
pub reasoning_coherence: Option<f32>,
pub execution_efficiency: Option<f32>,
}Expand description
Granular quality factor breakdown.
Not all providers will have all factors. Fields default to None,
meaning “not assessed” (distinct from 0.0, which means “assessed as zero”).
Fields§
§acceptance_criteria_met: Option<f32>Whether acceptance criteria were met (0.0 - 1.0)
tests_passing: Option<f32>Whether tests are passing (0.0 - 1.0)
no_regressions: Option<f32>Whether there are no regressions (0.0 - 1.0)
lint_clean: Option<f32>Whether linting is clean (0.0 - 1.0)
type_check_clean: Option<f32>Whether type checking passes (0.0 - 1.0)
follows_patterns: Option<f32>Whether code follows established patterns (0.0 - 1.0)
context_relevance: Option<f32>Relevance to the task context (0.0 - 1.0)
reasoning_coherence: Option<f32>Coherence of reasoning chain (0.0 - 1.0)
execution_efficiency: Option<f32>Efficiency of execution (0.0 - 1.0)
Trait Implementations§
Source§impl Clone for QualityFactors
impl Clone for QualityFactors
Source§fn clone(&self) -> QualityFactors
fn clone(&self) -> QualityFactors
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QualityFactors
impl Debug for QualityFactors
Source§impl Default for QualityFactors
impl Default for QualityFactors
Source§fn default() -> QualityFactors
fn default() -> QualityFactors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QualityFactors
impl<'de> Deserialize<'de> for QualityFactors
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QualityFactors
impl RefUnwindSafe for QualityFactors
impl Send for QualityFactors
impl Sync for QualityFactors
impl Unpin for QualityFactors
impl UnsafeUnpin for QualityFactors
impl UnwindSafe for QualityFactors
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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