pub enum OutcomeSignalKind {
Show 17 variants
RetryImproved,
RetryDidNotImprove,
ExecutionAwaitingReview,
ExecutionAwaitingTestValidation,
TaskCompleted,
TaskFailed,
TaskBlocked,
TaskCancelled,
PreExecutionApproved,
PreExecutionRejected,
PreExecutionNeedsRevision,
ReviewApproved,
ReviewRejected,
ReviewNeedsRevision,
TestValidationApproved,
TestValidationRejected,
TestValidationNeedsRevision,
}Expand description
Durable outcome labels that corrective learning can attach to turns and tasks.
Variants§
RetryImproved
A same-turn retry materially improved the answer.
RetryDidNotImprove
A same-turn retry did not materially improve the answer.
ExecutionAwaitingReview
Execution finished and is waiting for review approval.
ExecutionAwaitingTestValidation
Execution finished and is waiting for explicit test validation.
TaskCompleted
The task reached a completed state.
TaskFailed
The task failed.
TaskBlocked
The task became blocked.
TaskCancelled
The task was cancelled.
PreExecutionApproved
The task was approved before execution.
PreExecutionRejected
The task was rejected before execution.
PreExecutionNeedsRevision
The task needs revision before execution.
ReviewApproved
Review approval was granted.
ReviewRejected
Review approval was rejected.
ReviewNeedsRevision
Review requested revision.
TestValidationApproved
Test validation was approved.
TestValidationRejected
Test validation was rejected.
TestValidationNeedsRevision
Test validation requested revision.
Implementations§
Source§impl OutcomeSignalKind
impl OutcomeSignalKind
Sourcepub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
Stable machine-readable identifier suitable for persistence and tags.
Sourcepub const fn label(self) -> &'static str
pub const fn label(self) -> &'static str
Human-readable label suitable for UI summaries and markdown persistence.
Sourcepub const fn confidence_delta(self) -> f32
pub const fn confidence_delta(self) -> f32
Confidence delta used when outcome-linked learning ranks a reflection.
Trait Implementations§
Source§impl Clone for OutcomeSignalKind
impl Clone for OutcomeSignalKind
Source§fn clone(&self) -> OutcomeSignalKind
fn clone(&self) -> OutcomeSignalKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OutcomeSignalKind
impl Debug for OutcomeSignalKind
Source§impl<'de> Deserialize<'de> for OutcomeSignalKind
impl<'de> Deserialize<'de> for OutcomeSignalKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutcomeSignalKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutcomeSignalKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Display for OutcomeSignalKind
impl Display for OutcomeSignalKind
Source§impl Hash for OutcomeSignalKind
impl Hash for OutcomeSignalKind
Source§impl PartialEq for OutcomeSignalKind
impl PartialEq for OutcomeSignalKind
Source§impl Serialize for OutcomeSignalKind
impl Serialize for OutcomeSignalKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for OutcomeSignalKind
impl Eq for OutcomeSignalKind
impl StructuralPartialEq for OutcomeSignalKind
Auto Trait Implementations§
impl Freeze for OutcomeSignalKind
impl RefUnwindSafe for OutcomeSignalKind
impl Send for OutcomeSignalKind
impl Sync for OutcomeSignalKind
impl Unpin for OutcomeSignalKind
impl UnwindSafe for OutcomeSignalKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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<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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T, U> ToSample<U> for Twhere
U: FromSample<T>,
impl<T, U> ToSample<U> for Twhere
U: FromSample<T>,
fn to_sample_(self) -> U
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.